Enable NO_SORT_BY_INTERRUPTIVENESS

Also fix incorrect Javadoc for devFlag() -- they are disabled by default.

Fixes: 204367726
Test: atest NotificationComparatorTest & manual
Change-Id: Iae7d49d5dee000a9614289ee88ad2e1a604235db
This commit is contained in:
Matías Hernández
2023-04-24 14:17:02 +02:00
parent f0a411d69c
commit db090e86ac

View File

@@ -76,7 +76,7 @@ public class SystemUiSystemPropertiesFlags {
/** Gating the removal of sorting-notifications-by-interruptiveness. */
public static final Flag NO_SORT_BY_INTERRUPTIVENESS =
devFlag("persist.sysui.notification.no_sort_by_interruptiveness");
releasedFlag("persist.sysui.notification.no_sort_by_interruptiveness");
/** Gating the logging of DND state change events. */
public static final Flag LOG_DND_STATE_EVENTS =
@@ -115,7 +115,7 @@ public class SystemUiSystemPropertiesFlags {
}
/**
* Creates a flag that is enabled by default in debuggable builds.
* Creates a flag that is disabled by default in debuggable builds.
* It can be enabled by setting this flag's SystemProperty to 1.
*
* This flag is ALWAYS disabled in release builds.