Merge "fix out of memory with continuous entry and exit InstalledAppDetail."

This commit is contained in:
Jason Monk
2016-01-04 14:39:38 +00:00
committed by Gerrit Code Review

View File

@@ -105,6 +105,12 @@ public abstract class AppInfoBase extends SettingsPreferenceFragment
super.onPause();
}
@Override
public void onDestroy() {
mSession.release();
super.onDestroy();
}
protected String retrieveAppEntry() {
final Bundle args = getArguments();
mPackageName = (args != null) ? args.getString(ARG_PACKAGE_NAME) : null;