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

Commit 8392fb75 authored by Mark Fasheh's avatar Mark Fasheh
Browse files

Add a flag to guard new MessageQueue test apis

This is to guard use of MessageQueue.peekWhen(), MessageQueue.pop() and
any other TestApi's we may need to make MessageQueue testable without
introspection.

Flag: android.os.message_queue_testability
Test: EXEMPT
Bug: 379472827
Change-Id: I4ef5b7dd3aa3d34971c6cc1a9d08075a71fdbd63
parent 8a64ce3a
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -230,6 +230,15 @@ flag {
    is_fixed_read_only: true
}

flag {
     name: "message_queue_testability"
     namespace: "system_performance"
     is_exported: true
     description: "Whether MessageQueue implements test APIs."
     bug: "379472827"
     is_fixed_read_only: true
}

flag {
    name: "network_time_uses_shared_memory"
    namespace: "system_performance"