[DO NOT MERGE] Fix another AddAccountSettings memory leak
The memory leak will always occur in AddAccoutSettings when Bundle with an invalid intent returned in the addAccount we implement. Bug:https://issuetracker.google.com/issues/66088681 Test:Install the app through the github offered in above link, then press the "Test" item in ChooseAccountActivity (adb shell am start -n 'com.android.settings/.accounts.ChooseAccountActivity') serveal times. Check the activity number by "adb shell dumpsys meminfo com.android.settings". Change-Id: Id15fc73521d0ddc6ca891b6029ad04cd4427dbfe Signed-off-by: tiansiming <tiansiming@xiaomi.com>
Loading
Please register or sign in to comment