Using a proxy activity for startActivityForResult

This ensures that the home task is never blocked by a different task

Bug: 74500048
Change-Id: I01fd26f1d6242e39b2d8fabac5e064b748aebe62
This commit is contained in:
Sunny Goyal
2019-05-14 15:23:48 -07:00
parent 7daf892f66
commit dedda05568
8 changed files with 314 additions and 10 deletions

View File

@@ -452,7 +452,7 @@ public class LauncherStateManager {
}
mState = state;
mState.onStateEnabled(mLauncher);
mLauncher.getAppWidgetHost().setResumed(state == LauncherState.NORMAL);
mLauncher.onStateSet(mState);
if (state.disablePageClipping) {
// Only disable clipping if needed, otherwise leave it as previous value.