summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Ming-Shin Lu <lumark@google.com> 2023-01-16 10:20:45 +0000
committer Ming-Shin Lu <lumark@google.com> 2023-01-17 08:57:41 +0000
commita0dde9c9d603c073064162c1c780e5d4d5990a82 (patch)
treef748807963e244bbce2d330a9f1d7aae676066c3 /services/coverage/java
parent5975f9dc72297286acdfed3e65ca3ef34563901f (diff)
Fix an errorprone for GuardedBy warning
Moving all logic of IMMS#reportPerceptibleAsync into Binder.withCleanCallingIdentity() runnable parameter to ensure it can be guarded by ImfLock in the same code block. To avoid a false alarm lint error caught in CL[1] that the static analysis checker not be aware in runnable inner called updateSystemUiLocked has guarded by the ImfLock with running on the same thread outside the runnable. [1]: I12d99c15ae0d8965a21406d2495ce5cb18afaea0 Bug: 246309664 Test: make RUN_ERROR_PRONE=true services Change-Id: Ic7bc9227ce57a3a7c0c3c9726625cd6d0d6a1939
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions