Merge "[PostBoot] Don't destroy loader because of config change, not just because of theme change" into main
diff --git a/src/com/android/launcher3/BaseDraggingActivity.java b/src/com/android/launcher3/BaseDraggingActivity.java
index 5f5fb72..50e78ac 100644
--- a/src/com/android/launcher3/BaseDraggingActivity.java
+++ b/src/com/android/launcher3/BaseDraggingActivity.java
@@ -50,8 +50,6 @@
// automatically when user interacts with the launcher.
public static final Object AUTO_CANCEL_ACTION_MODE = new Object();
- private boolean mIsThemeUpdatedBeforeRecreate;
-
private ActionMode mCurrentActionMode;
private int mThemeRes = R.style.AppTheme;
@@ -82,13 +80,8 @@
updateTheme();
}
- public boolean isThemeUpdatedBeforeRecreate() {
- return mIsThemeUpdatedBeforeRecreate;
- }
-
protected void updateTheme() {
if (mThemeRes != Themes.getActivityThemeRes(this)) {
- mIsThemeUpdatedBeforeRecreate = true;
recreate();
}
}