diff options
author | Ned Burns <pixel@google.com> | 2020-01-22 16:31:00 -0500 |
---|---|---|
committer | Ned Burns <pixel@google.com> | 2020-01-23 12:47:58 -0500 |
commit | 5db037a6a19f7e1d5e867a35a3970c1ed0e244fd (patch) | |
tree | e614c2fb2fd2ac4e0eea0b8f109dafe09a8e5846 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 457318ef6dfa1b3fa8654eb8881387fce7e3e3fa (diff) |
Make ForegroundCoordinator single-threaded
The appops callback is frequently called from a background thread, which
was causing a crash when calling mNotifPipeline.getActiveNotifs().
Switched the class over to being exclusively single-threaded; it didn't
need to support multiple threads and this simplifies things.
Test: atest SystemUITests:ForegroundCoordinatorTest
Change-Id: I4f010c16fa3f2467a5aaa05ef72c0278396a30e0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions