summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-01-27 16:07:49 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-01-29 12:41:03 +0800
commit9b7603b58c81d0069dba9126e3a8d9827cae66c6 (patch)
treef07e8f4a7fc0f1545385d13412100e297f089c0e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8241f19a0303d48dc723599d931af33fc2cef369 (diff)
Remove WM lock from the path of service operations
The method WPC#areBackgroundFgsStartsAllowed may be called frequently from ActiveServices when checking if foreground service is allowed to start. Because it usually has no window related operation, there should not have lock contention from window manager. This only changes to use fine grained lock and volatile fields. The logic is the same as original. Bug: 177268056 Test: BackgroundActivityLaunchTest ActivityRecordTests Change-Id: Ia3ef5b436ff09ea0968776fa7c8ea86112e356d2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions