Merge "Fix bug where app list says "No app" in multi-window mode"

This commit is contained in:
TreeHugger Robot
2017-05-19 01:04:04 +00:00
committed by Android (Google) Code Review
3 changed files with 69 additions and 15 deletions

View File

@@ -506,10 +506,9 @@ public class ManageApplications extends InstrumentedPreferenceFragment
}
@Override
public void onResume() {
super.onResume();
public void onStart() {
super.onStart();
updateView();
updateOptionsMenu();
if (mApplications != null) {
mApplications.resume(mSortOrder);
mApplications.updateLoading();
@@ -527,16 +526,11 @@ public class ManageApplications extends InstrumentedPreferenceFragment
}
@Override
public void onPause() {
super.onPause();
public void onStop() {
super.onStop();
if (mApplications != null) {
mApplications.pause();
}
}
@Override
public void onStop() {
super.onStop();
mResetAppsHelper.stop();
}