Merge "Add NLS Settings link"

This commit is contained in:
Julia Reynolds
2022-10-18 19:32:23 +00:00
committed by Android (Google) Code Review
2 changed files with 10 additions and 0 deletions

View File

@@ -39324,6 +39324,7 @@ 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

View File

@@ -391,6 +391,15 @@ 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
* 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";
private final Object mLock = new Object();
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023)