mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Fix for bug 5015232, folder won't open
Change-Id: Icd0527a1afe519ebcf117587c9a61a9e933a6c47
This commit is contained in:
@@ -1314,6 +1314,9 @@ public final class Launcher extends Activity
|
||||
super.onSaveInstanceState(outState);
|
||||
|
||||
outState.putInt(RUNTIME_STATE, mState.ordinal());
|
||||
// We close any open folder since it will not be re-opened, and we need to make sure
|
||||
// this state is reflected.
|
||||
closeFolder();
|
||||
|
||||
if (mAddScreen > -1 && mWaitingForResult) {
|
||||
outState.putInt(RUNTIME_STATE_PENDING_ADD_SCREEN, mAddScreen);
|
||||
|
||||
Reference in New Issue
Block a user