commit | ba914792ad0cc533c09583cda02013f16e12e87c | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Jun 20 14:07:57 2019 -0700 |
committer | Lucas Dupin <dupin@google.com> | Mon Jun 24 09:03:12 2019 -0700 |
tree | 4b0ff2c6727d7df9d61808c93d536977b932b042 | |
parent | 2e967bf7e23f3bea67c84193656c1fa534f27eb4 [diff] |
Unregister listeners and reset wake lock The ContentProvider might be recreated by the system, so we it's not necessarily a singleton. We need to cleanup listener registration and alarms before reattributing the static variable. Change-Id: I07aec96e77c67d96d31c7e38c85f5ce6f5ef2216 Merged-In: I9bc993f372a8c05258f1778eb3d415af04544714 Fixes: 135344397 Fixes: 135582651 Test: bind and unbind slice various times Test: atest KeyguardSliceProviderTest