commit | bb4ff3f6456082380bfcfd3fb8295a19f2d8aa35 | [log] [tgz] |
---|---|---|
author | Jernej Virag <[email protected]> | Thu Mar 10 17:52:11 2022 +0000 |
committer | Jernej Virag <[email protected]> | Sun Mar 27 18:30:41 2022 +0000 |
tree | 7f12e6ba2b62ca82389e96b7e65fbbbf7c0d988c | |
parent | 923eb82c53758c6634420e5cb813c3776c7e5bd3 [diff] |
Add an Android Lint check to prevent sendBroadcast calls on Main thread This lint check verifies that BroadcastSender is always used in SystemUI for sending broadcasts. It should prevent main thread jank due to broadcast calls. Bug: 223606115 Test: Included unit test for the linter. Change-Id: I16b8b3471389ff2c59053c686c94cb9cb694ec42