commit | e4395bd751032131d89506b9588721944ee45763 | [log] [tgz] |
---|---|---|
author | gaochong <gaochong@xiaomi.com> | Wed Dec 21 20:06:37 2016 +0800 |
committer | gaochong <gaochong@xiaomi.com> | Wed Dec 28 09:18:15 2016 +0800 |
tree | d87df836acfeab0e6448f121427664c3f58c34b4 | |
parent | a5249906ab6fe74070228a20ba8900b4a4ec7188 [diff] |
Handle SubSettings instance leaks in Index.java Index's constructor will hold context of caller. context.getApplicationContext() instead of context to prevent activity leaks. Bug: https://code.google.com/p/android/issues/detail?id=223322 Test: manual-start a new activity call Index constructor ,then pressed back. Change-Id: Ic12af62f9b718d328610a57985f64ca4629bab99 Signed-off-by: gaochong <gaochong@xiaomi.com>