commit | 79b0de9ef2137bcb8caae7ee39cc4f1c75532675 | [log] [tgz] |
---|---|---|
author | zhujiatai <zhujiatai@xiaomi.com> | Thu Sep 22 15:44:02 2022 +0800 |
committer | zhujiatai <zhujiatai@xiaomi.com> | Thu Oct 13 14:41:18 2022 +0800 |
tree | 3a8aa78c8c56a9ad3e8926770aa598b7194e0175 | |
parent | 98a35775cdb9cc5686119f6f7ef94dd26a2160a1 [diff] |
Fix memory leak of ConnectivityManager The instance of ConnectivityManager is static, and so its inner class should be static to avoid the memory leak. Otherwise, the inner class will get the reference to the mContext. Bug:248184860 Signed-off-by: zhujiatai <zhujiatai@xiaomi.com> Change-Id: I2c755f04a689f3e9e5f829d9be48765816257366