Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 382123ce authored by Alexander Roederer's avatar Alexander Roederer
Browse files

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
parent aa15d011
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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. == ////