Loading core/java/android/os/CombinedMessageQueue/MessageQueue.java +5 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,11 @@ public final class MessageQueue { // 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. // Holdback study. if (mUseConcurrent && Flags.messageQueueForceLegacy()) { mUseConcurrent = false; } mQuitAllowed = quitAllowed; mPtr = nativeInit(); } Loading core/java/android/os/flags.aconfig +9 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
core/java/android/os/CombinedMessageQueue/MessageQueue.java +5 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,11 @@ public final class MessageQueue { // 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. // Holdback study. if (mUseConcurrent && Flags.messageQueueForceLegacy()) { mUseConcurrent = false; } mQuitAllowed = quitAllowed; mPtr = nativeInit(); } Loading
core/java/android/os/flags.aconfig +9 −0 Original line number Diff line number Diff line Loading @@ -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 Loading