From ec1a970dec22d68773f8ae9dbde6f17df6154e03 Mon Sep 17 00:00:00 2001 From: mdooley Date: Fri, 27 Oct 2017 16:20:32 -0700 Subject: internal change Bug: 62423454 Test: manual and updated unit test PiperOrigin-RevId: 173731907 Change-Id: Ic73600197b1c4fa6ac0937a8c38b048cd8faded8 --- java/com/android/voicemail/VoicemailClient.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'java/com/android/voicemail/VoicemailClient.java') 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 @@ -124,6 +124,16 @@ public interface VoicemailClient { void setVoicemailArchiveEnabled( 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. -- cgit v1.2.3