commit | fe107a1621b98f8e9caa47b1e4e7ecbee00a2f88 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Jun 20 14:07:57 2019 -0700 |
committer | Lucas Dupin <dupin@google.com> | Sat Jun 22 19:01:20 2019 +0000 |
tree | 9701422074d3f9ef574814d051bb84c0257920b4 | |
parent | 4d39c4a7d7810afbd28322eec74b63063aa57610 [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: I227842d7272d1edeaa67d776950f369aedb01a91 Merged-In: I227842d7272d1edeaa67d776950f369aedb01a91 Fixes: 135344397 Fixes: 135582651 Test: bind and unbind slice various times Test: atest KeyguardSliceProviderTest