commit | dc1a4601ae5fa713e73778a80034b1d5600bf52c | [log] [tgz] |
---|---|---|
author | Malcolm Chen <refuhoo@google.com> | Wed Jun 06 20:20:53 2018 -0700 |
committer | Pengquan Meng <mpq@google.com> | Thu Oct 04 13:49:55 2018 -0700 |
tree | 4524fe1f427cbc30d4ceb5d78bbd4a8c0023de58 | |
parent | dd21596dbb544c95a3fa9a67ab25041f0cfcda4f [diff] |
Fix binder leakage and activity leakage in MobileNetworkSettings. There's a binder leakage in MobileDataPreference. Its contentObserver was only unregistered in onPrepareForRemoval, which is not called when the activity is destroyed. So adding dispose API to make sure it's unregistered. Bug: 80275945 Test: unittest and stress test Merged-In: Iaa447b46474a2235487aac3c200bba45924e5121 Change-Id: Iaa447b46474a2235487aac3c200bba45924e5121