diff options
| author | 2018-05-14 16:59:17 -0700 | |
|---|---|---|
| committer | 2018-05-14 16:59:17 -0700 | |
| commit | e1f739d4bdd2ee6a5b33902974e155a792c0aebc (patch) | |
| tree | 1535d0dba53f34bacd7082bcc41c6f7359117ff9 | |
| parent | ab65c3085d615f8009b03f016a8a758c35ea0665 (diff) | |
| parent | 1f520a64d78e31e5287e10ed755a98035cdb05c8 (diff) | |
Merge "Update javadoc for setVisualVoicemailSmsFilterSettings" into pi-dev
am: 1f520a64d7
Change-Id: I200ac97a1bdc7efaca638628abff90f3853bf688
| -rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 512ffb112884..4d5dff40ba36 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -3443,14 +3443,13 @@ public class TelephonyManager { * to the TelephonyManager. * When the filter is enabled, {@link * VisualVoicemailService#onSmsReceived(VisualVoicemailTask, VisualVoicemailSms)} will be - * called when a SMS matching the settings is received. The caller should have - * {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE} and implement a - * VisualVoicemailService. - * - * <p>Requires Permission: - * {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE} + * called when a SMS matching the settings is received. Caller must be the default dialer, + * system dialer, or carrier visual voicemail app. * * @param settings The settings for the filter, or {@code null} to disable the filter. + * + * @see {@link TelecomManager#getDefaultDialerPackage()} + * @see {@link CarrierConfigManager#KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY} */ public void setVisualVoicemailSmsFilterSettings(VisualVoicemailSmsFilterSettings settings) { if (settings == null) { |