Update category to action
Test: settings tests, launch test app Fixes: 254339351 Change-Id: Id7f0c15ce1ac35edf4f98319c7b3f8580c002e33
This commit is contained in:
@@ -39320,6 +39320,7 @@ package android.service.notification {
|
||||
method public final void setNotificationsShown(String[]);
|
||||
method public final void snoozeNotification(String, long);
|
||||
method public final void updateNotificationChannel(@NonNull String, @NonNull android.os.UserHandle, @NonNull android.app.NotificationChannel);
|
||||
field public static final String ACTION_SETTINGS_HOME = "android.service.notification.action.SETTINGS_HOME";
|
||||
field public static final int FLAG_FILTER_TYPE_ALERTING = 2; // 0x2
|
||||
field public static final int FLAG_FILTER_TYPE_CONVERSATIONS = 1; // 0x1
|
||||
field public static final int FLAG_FILTER_TYPE_ONGOING = 8; // 0x8
|
||||
@@ -39327,7 +39328,6 @@ package android.service.notification {
|
||||
field public static final int HINT_HOST_DISABLE_CALL_EFFECTS = 4; // 0x4
|
||||
field public static final int HINT_HOST_DISABLE_EFFECTS = 1; // 0x1
|
||||
field public static final int HINT_HOST_DISABLE_NOTIFICATION_EFFECTS = 2; // 0x2
|
||||
field public static final String INTENT_CATEGORY_SETTINGS_HOME = "android.service.notification.category.SETTINGS_HOME";
|
||||
field public static final int INTERRUPTION_FILTER_ALARMS = 4; // 0x4
|
||||
field public static final int INTERRUPTION_FILTER_ALL = 1; // 0x1
|
||||
field public static final int INTERRUPTION_FILTER_NONE = 3; // 0x3
|
||||
|
||||
@@ -392,13 +392,13 @@ public abstract class NotificationListenerService extends Service {
|
||||
public static final int NOTIFICATION_CHANNEL_OR_GROUP_DELETED = 3;
|
||||
|
||||
/**
|
||||
* An optional activity intent category that shows additional settings for what notifications
|
||||
* An optional activity intent action that shows additional settings for what notifications
|
||||
* should be processed by this notification listener service. If defined, the OS may link to
|
||||
* this activity from the system notification listener service filter settings page.
|
||||
*/
|
||||
@SdkConstant(SdkConstant.SdkConstantType.INTENT_CATEGORY)
|
||||
public static final String INTENT_CATEGORY_SETTINGS_HOME =
|
||||
"android.service.notification.category.SETTINGS_HOME";
|
||||
@SdkConstant(SdkConstant.SdkConstantType.ACTIVITY_INTENT_ACTION)
|
||||
public static final String ACTION_SETTINGS_HOME =
|
||||
"android.service.notification.action.SETTINGS_HOME";
|
||||
|
||||
private final Object mLock = new Object();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user