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

Commit 85331b06 authored by Shai Barack's avatar Shai Barack Committed by Bharath
Browse files

Disable concurrent MQ in SysUI

Address reports of barrier message leak.
Will undo this once we ship the upcoming DeliQueue algorithm.

Bug: 436941592
Bug: 436942235
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f59f251d9528d0ae1242d2c48c7d22e6afe0127e)
Merged-In: I4185eefaa5ceab337ddf3a476770ed863d0ef751
Change-Id: I4185eefaa5ceab337ddf3a476770ed863d0ef751

Change-Id: I283c32d166321f567c2a359be0aa542ee1f1140a
parent ebf73065
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -180,15 +180,6 @@ public final class MessageQueue {
            if (processName.contains("test") || processName.contains("Test")) {
                sIsProcessAllowedToUseConcurrent = false;
            }
        } else {
            // Also explicitly allow SystemUI processes.
            // SystemUI doesn't run in a core UID, but we want to give it the performance boost,
            // and we know that it's safe to use the concurrent implementation in SystemUI.
            sIsProcessAllowedToUseConcurrent =
                    processName.equals("com.android.systemui")
                            || processName.startsWith("com.android.systemui:");
            // On Android distributions where SystemUI has a different process name,
            // the above condition may need to be adjusted accordingly.
        }

        // We can lift these restrictions in the future after we've made it possible for test
+4 −0
Original line number Diff line number Diff line
@@ -9657,6 +9657,10 @@
            android:name="com.android.server.patch.25239169"
            android:value="true" />

        <meta-data
            android:name="com.android.server.patch.34957421"
            android:value="true" />

    </application>

</manifest>