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

Skip to content
Commit 11eb3d4c authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Avoid calling noteOp while enqueueing the broadcast.

Enqueueing the broadcast involves adding the broadcast
to the internal state to be delivered at a later point.
Since the broadcast is not actually delivered at this
point, avoid calling noteOp.

Bug: 268016162
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BaseBroadcastQueueTest.java
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastSkipPolicyTest.java
Flag: com.android.server.am.avoid_note_op_at_enqueue
Change-Id: I446b4eac8b1912c4acd6baf86240aa308bdb29c0
parent e1bd9bff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment