a61486ba821b96e94a3b7631c26c33e6e6aa059b |
|
12-Mar-2018 |
Rahul Ravikumar <rahulrav@google.com> |
Removes the possibility for stuck broadcast queues. - Updating constraint proxies now happens via a designated broadcast receiver. - This is to prevent the possiblity of an App ANR + PackageManager#setComponentEnabledSetting(false) from blocking the global broadcast queue. - The broadcast receiver being used is *not* exported, and thus should not effect the global broadcast queue. Test: Unit tests pass. Also ran integration tests. Change-Id: I97fb279dd7a01cfa2f6a9c51d0eb92d62c842ed3 Fixes: b/73549299 Original bug fixed in O-MR1 (b/64854337).
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ConstraintProxyUpdateReceiver.java
|