diff options
author | mdooley <mdooley@google.com> | 2017-10-27 16:20:32 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-10-30 08:28:27 -0700 |
commit | ec1a970dec22d68773f8ae9dbde6f17df6154e03 (patch) | |
tree | 9c668c93b4008bb9c4bb2cf8bf4da1e68898e8f2 /java/com/android/voicemail/VoicemailClient.java | |
parent | e39af763e7bf598306feab4a3d2e1164c9f0421a (diff) |
internal change
Bug: 62423454
Test: manual and updated unit test
PiperOrigin-RevId: 173731907
Change-Id: Ic73600197b1c4fa6ac0937a8c38b048cd8faded8
Diffstat (limited to 'java/com/android/voicemail/VoicemailClient.java')
-rw-r--r-- | java/com/android/voicemail/VoicemailClient.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/java/com/android/voicemail/VoicemailClient.java b/java/com/android/voicemail/VoicemailClient.java index d52a67a8e..717362e18 100644 --- a/java/com/android/voicemail/VoicemailClient.java +++ b/java/com/android/voicemail/VoicemailClient.java @@ -125,6 +125,16 @@ public interface VoicemailClient { 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. */ |