Loading services/core/java/com/android/server/am/ActivityStackSupervisor.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -907,6 +907,8 @@ public final class ActivityStackSupervisor implements DisplayListener { requestCode, callingPid, callingUid, callingPackage, startFlags, options, requestCode, callingPid, callingUid, callingPackage, startFlags, options, componentSpecified, null, container); componentSpecified, null, container); Binder.restoreCallingIdentity(origId); if (stack.mConfigWillChange) { if (stack.mConfigWillChange) { // If the caller also wants to switch to a new configuration, // If the caller also wants to switch to a new configuration, // do so now. This allows a clean switch, as we are waiting // do so now. This allows a clean switch, as we are waiting Loading @@ -920,8 +922,6 @@ public final class ActivityStackSupervisor implements DisplayListener { mService.updateConfigurationLocked(config, null, false, false); mService.updateConfigurationLocked(config, null, false, false); } } Binder.restoreCallingIdentity(origId); if (outResult != null) { if (outResult != null) { outResult.result = res; outResult.result = res; if (res == ActivityManager.START_SUCCESS) { if (res == ActivityManager.START_SUCCESS) { Loading Loading
services/core/java/com/android/server/am/ActivityStackSupervisor.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -907,6 +907,8 @@ public final class ActivityStackSupervisor implements DisplayListener { requestCode, callingPid, callingUid, callingPackage, startFlags, options, requestCode, callingPid, callingUid, callingPackage, startFlags, options, componentSpecified, null, container); componentSpecified, null, container); Binder.restoreCallingIdentity(origId); if (stack.mConfigWillChange) { if (stack.mConfigWillChange) { // If the caller also wants to switch to a new configuration, // If the caller also wants to switch to a new configuration, // do so now. This allows a clean switch, as we are waiting // do so now. This allows a clean switch, as we are waiting Loading @@ -920,8 +922,6 @@ public final class ActivityStackSupervisor implements DisplayListener { mService.updateConfigurationLocked(config, null, false, false); mService.updateConfigurationLocked(config, null, false, false); } } Binder.restoreCallingIdentity(origId); if (outResult != null) { if (outResult != null) { outResult.result = res; outResult.result = res; if (res == ActivityManager.START_SUCCESS) { if (res == ActivityManager.START_SUCCESS) { Loading