commit | bf477db8551539c2a650d7d6515288f3f9da9005 | [log] [tgz] |
---|---|---|
author | andrew.gong <andrew.gong@unisoc.com> | Thu Dec 24 15:32:49 2020 +0800 |
committer | andrew.gong <andrew.gong@unisoc.com> | Thu Dec 24 15:57:09 2020 +0800 |
tree | 0d076c7ae82945345bd43ae59d8ca1023ef993c3 | |
parent | a2e406ed85031e21f047c9aab724ac5b3b774a9f [diff] |
Settings observer fail to unregister. Zen mode change will call displayPreference() and create a new SettingsObserver, then the old Observer object will have no opportunity to be unregistered. After too much new SettingsObserver creatd in Monkey test, memory might leak. Bug 176206489 Change-Id: I3bccec281da492299bbf755f86df7844a31223c5