diff options
author | Chris Wren <cwren@android.com> | 2014-10-22 14:13:32 -0400 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2014-10-28 15:54:53 -0400 |
commit | 8326a8a9453be1fa401f187994f7c8fabe68e489 (patch) | |
tree | 959679d7a9995d960cccedc4fb19e00977675ed3 | |
parent | 3961d2af80f4c0285176f2984b35ffe5ee65ba5a (diff) | |
download | frameworks_base-8326a8a9453be1fa401f187994f7c8fabe68e489.zip frameworks_base-8326a8a9453be1fa401f187994f7c8fabe68e489.tar.gz frameworks_base-8326a8a9453be1fa401f187994f7c8fabe68e489.tar.bz2 |
Reveal notification listener settings APIs.
Fix the value of the ACTION_NOTIFICATION_LISTENER_SETTINGS constant
to be the actual value to which the settings app responds.
Bug: 10023397
Change-Id: I80a0ff76406a3b0b893793f9a63ffa563dae103b
-rw-r--r-- | api/current.txt | 1 | ||||
-rw-r--r-- | core/java/android/provider/Settings.java | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/api/current.txt b/api/current.txt index 241948c..551f3ae 100644 --- a/api/current.txt +++ b/api/current.txt @@ -25153,6 +25153,7 @@ package android.provider { field public static final java.lang.String ACTION_NFCSHARING_SETTINGS = "android.settings.NFCSHARING_SETTINGS"; field public static final java.lang.String ACTION_NFC_PAYMENT_SETTINGS = "android.settings.NFC_PAYMENT_SETTINGS"; field public static final java.lang.String ACTION_NFC_SETTINGS = "android.settings.NFC_SETTINGS"; + field public static final java.lang.String ACTION_NOTIFICATION_LISTENER_SETTINGS = "android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS"; field public static final java.lang.String ACTION_PRINT_SETTINGS = "android.settings.ACTION_PRINT_SETTINGS"; field public static final java.lang.String ACTION_PRIVACY_SETTINGS = "android.settings.PRIVACY_SETTINGS"; field public static final java.lang.String ACTION_QUICK_LAUNCH_SETTINGS = "android.settings.QUICK_LAUNCH_SETTINGS"; diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 75c435e..8f22c63 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -787,11 +787,10 @@ public final class Settings { * <p> * Output: Nothing. * @see android.service.notification.NotificationListenerService - * @hide */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_NOTIFICATION_LISTENER_SETTINGS - = "android.settings.NOTIFICATION_LISTENER_SETTINGS"; + = "android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS"; /** * @hide @@ -4739,8 +4738,8 @@ public final class Settings { public static final String SMS_DEFAULT_APPLICATION = "sms_default_application"; /** - * Name of a package that the current user has explicitly allowed to see all of that - * user's notifications. + * Names of the packages that the current user has explicitly allowed to + * see all of the user's notifications, separated by ':'. * * @hide */ |