commit | a2cedf9ce53e9aaa098c955b3e349b1c5c68650d | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Thu Aug 04 13:32:57 2022 -0700 |
committer | Hongwei Wang <hwwang@google.com> | Thu Aug 04 15:09:54 2022 -0700 |
tree | 880ff79b4c5bbe35cfc5e62e6c12dbb1d4c6731c | |
parent | 165f7609072c07a7a88246596ccf579c9d244f3e [diff] |
Fix PiP disappearance after unlock KeyguardUpdateMonitor uses WeakReference internally for all the registered callbacks, therefore an anonymous class may be released and unable to receive any callback after registration. Changed also the ConfigurationListener and KeyguardStateController.Callback in WMShell. Bug: 241249835 Test: repeatedly lock and unlock device with PiP being present Change-Id: I1c3ea269ee9955847212bebbebdd0d7130dbdce5