Updating the notification ID

PageAgnosticNotificationService - updating notification id to avoid the notification being dismissed accidentally by other notifications. ID used is the bug id where this was reported.

Change-Id: I267eed1d14158f06ea688a48c65be209993b869d
Test: atest Enable16KbTest
Bug: 388678898
This commit is contained in:
Pawan Wagh
2025-01-17 11:24:39 -08:00
parent bc86ae0553
commit 65263376f7

View File

@@ -36,7 +36,11 @@ public class PageAgnosticNotificationService extends Service {
"com.android.settings.development.PageAgnosticNotificationService"; "com.android.settings.development.PageAgnosticNotificationService";
public static final String INTENT_ACTION_DISMISSED = public static final String INTENT_ACTION_DISMISSED =
"com.android.settings.development.NOTIFICATION_DISMISSED"; "com.android.settings.development.NOTIFICATION_DISMISSED";
private static final int NOTIFICATION_ID = 1;
// Updating the notification ID to avoid the notification being dismissed
// accidentally by other notifications. ID used is the bug id where this was
// reported.
private static final int NOTIFICATION_ID = 388678898;
static final int DISABLE_UPDATES_SETTING = 1; static final int DISABLE_UPDATES_SETTING = 1;