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

Commit 45956309 authored by Shai Barack's avatar Shai Barack
Browse files

Revert "Remove flag `message_queue_force_legacy`"

This reverts commit 4edad0fa.

Reason for revert: want to study b/403793333, b/402524956

Change-Id: Ie312d4b6e7de2f8f7169cbdb2c71b486868d66e5
Bug: 402524956
Bug: 403793333
parent 2b847208
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -144,6 +144,12 @@ public final class MessageQueue {
            return;
            return;
        }
        }


        // Holdback study.
        if (Flags.messageQueueForceLegacy()) {
            sIsProcessAllowedToUseConcurrent = false;
            return;
        }

        if (Flags.forceConcurrentMessageQueue()) {
        if (Flags.forceConcurrentMessageQueue()) {
            // b/379472827: Robolectric tests use reflection to access MessageQueue.mMessages.
            // b/379472827: Robolectric tests use reflection to access MessageQueue.mMessages.
            // This is a hack to allow Robolectric tests to use the legacy implementation.
            // This is a hack to allow Robolectric tests to use the legacy implementation.
+9 −0
Original line number Original line Diff line number Diff line
@@ -3,6 +3,15 @@ container: "system"
container: "system"
container: "system"


# keep-sorted start block=yes newline_separated=yes
# keep-sorted start block=yes newline_separated=yes
flag {
     # Holdback study for concurrent MessageQueue.
     # Do not promote beyond trunkfood.
     namespace: "system_performance"
     name: "message_queue_force_legacy"
     description: "Whether to holdback concurrent MessageQueue (force legacy)."
     bug: "336880969"
}

flag {
flag {
    name: "adpf_gpu_report_actual_work_duration"
    name: "adpf_gpu_report_actual_work_duration"
    is_exported: true
    is_exported: true