Adds flag for putting RankingMap in SharedMemory

Adds Sysprop flag that will guard putting RankingMap in SharedMemory
when NotificationRankingUpdate is parceled, to prevent binder buffer
errors.

Bug: 284297289
Test: Adding new flag
Change-Id: I4672fceb052c51c791569be0b038bd0ef49371e7
This commit is contained in:
Alexander Roederer
2023-05-25 14:55:18 +00:00
parent aa15d01120
commit 382123ce6a

View File

@@ -85,6 +85,10 @@ public class SystemUiSystemPropertiesFlags {
/** Gating the holding of WakeLocks until NLSes are told about a new notification. */
public static final Flag WAKE_LOCK_FOR_POSTING_NOTIFICATION =
devFlag("persist.sysui.notification.wake_lock_for_posting_notification");
/** Gating storing NotificationRankingUpdate ranking map in shared memory. */
public static final Flag RANKING_UPDATE_ASHMEM = devFlag(
"persist.sysui.notification.ranking_update_ashmem");
}
//// == End of flags. Everything below this line is the implementation. == ////