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

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

Merge "Revert^2 "Add a holdback study for concurrent MessageQueue."" into main

parents 03639132 a285d0a9
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -123,6 +123,11 @@ public final class MessageQueue {
        // We can lift this restriction in the future after we've made it possible for test authors
        // We can lift this restriction in the future after we've made it possible for test authors
        // to test Looper and MessageQueue without resorting to reflection.
        // to test Looper and MessageQueue without resorting to reflection.


        // Holdback study.
        if (mUseConcurrent && Flags.messageQueueForceLegacy()) {
            mUseConcurrent = false;
        }

        mQuitAllowed = quitAllowed;
        mQuitAllowed = quitAllowed;
        mPtr = nativeInit();
        mPtr = nativeInit();
    }
    }
+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