commit | 2d345235274da86d6da610e109d139403b562d4f | [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:00:33 2019 -0700 |
tree | 386734b3e8eeb744be5204e4a4543fc2177224b9 | |
parent | a0fd871682ea1e7a9b4c2220488300bb3e097372 [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. Fixes: 135344397 Fixes: 135582651 Test: bind and unbind slice various times Test: atest KeyguardSliceProviderTest Change-Id: I9bc993f372a8c05258f1778eb3d415af04544714