commit | 556370742af0878f742e444c879bd9ec9f1bf61a | [log] [tgz] |
---|---|---|
author | Jay Thomas Sullivan <jaysullivan@google.com> | Tue May 21 20:33:01 2024 +0000 |
committer | Jay Sullivan <jaysullivan@google.com> | Thu May 30 02:56:55 2024 +0000 |
tree | f89a3f1a9a857d7fd5c98e175d4fc146d10589ba | |
parent | 4411c165c558fec9cdbaf3d991a09b2127040ffd [diff] |
Use a broadcast barrier in permissionpolicy By running 'am wait-for-broadcast-barrier' before our test suite starts, we ensure no broadcasts are pending. This prevents receiving old broadcasts, and also can prevent timeouts by ensuring the broadcast queue is empty before the test runs. Bug: 341792090 Test: presubmit Merged-In: I21fa03960e62fc3e8237a918f59ebcd61893f669 Change-Id: I21fa03960e62fc3e8237a918f59ebcd61893f669