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

Commit edda7dd6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert "Remove flag `message_queue_force_legacy`"" into main

parents 6f75e150 45956309
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -144,6 +144,12 @@ public final class MessageQueue {
            return;
        }

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

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

# 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 {
    name: "adpf_gpu_report_actual_work_duration"
    is_exported: true