internal change
Bug: 62423454
Test: manual and updated unit test
PiperOrigin-RevId: 173731907
Change-Id: Ic73600197b1c4fa6ac0937a8c38b048cd8faded8
diff --git a/java/com/android/voicemail/VoicemailClient.java b/java/com/android/voicemail/VoicemailClient.java
index d52a67a..717362e 100644
--- a/java/com/android/voicemail/VoicemailClient.java
+++ b/java/com/android/voicemail/VoicemailClient.java
@@ -125,6 +125,16 @@
Context context, PhoneAccountHandle phoneAccountHandle, boolean value);
/**
+ * @return if the voicemail transcription feature is available on the current device. This depends
+ * on whether the server side flag is turned on for the feature, and if the OS meets the
+ * requirement for this feature.
+ */
+ boolean isVoicemailTranscriptionAvailable(Context context);
+
+ /** @return if the voicemail donation setting has been enabled by the user. */
+ boolean isVoicemailDonationEnabled(Context context, PhoneAccountHandle account);
+
+ /**
* @return an intent that will launch the activity to change the voicemail PIN. The PIN is used
* when calling into the mailbox.
*/