commit | 2bc992decb34cb126af608029f2b939938760ee7 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Jun 20 14:07:57 2019 -0700 |
committer | Lucas Dupin <dupin@google.com> | Fri Jun 21 18:41:57 2019 +0000 |
tree | bd792a784d439ba409d3e156eff4337b6ed92ec8 | |
parent | 648eb2d3a77a80b3445b01adbf13fa7a165f7ad7 [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 Fixes: 135344397 Fixes: 135582651 Test: bind and unbind slice various times Test: atest KeyguardSliceProviderTest