Skip to content
Commit 5db037a6 authored by Ned Burns's avatar Ned Burns
Browse files

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
parent 457318ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment