commit | 0fb2f2bd009a6cfdba5ccab6a08f91d379d07d10 | [log] [tgz] |
---|---|---|
author | 宋凯伦 <songkailun@xiaomi.com> | Wed May 25 10:15:03 2016 +0800 |
committer | Kevin Song <songkailun@xiaomi.com> | Wed Jun 01 02:13:50 2016 +0000 |
tree | 6a10c38d7bfd54f134c13a905c3953e5946a2950 | |
parent | 91f6b496a99e085d853d684485c8486125f83f45 [diff] |
Fix the memory leak in TetherSettings https://code.google.com/p/android/issues/detail?id=210848 We need to close the bluetooth adapter's profile proxy in OnDestroy method, or it will cause TetherSettings object to be held and won't release. And finally it will cause OOM issue. Change-Id: Id7667f751697c8ef9fccaaabfed28a91d4fa4960 Signed-off-by: 宋凯伦 <songkailun@xiaomi.com>