Merge "Skip notifying configuration changed for restarting activities"
This commit is contained in:
@@ -241,6 +241,8 @@ public class ClientTransaction implements Parcelable, ObjectPoolItem {
|
||||
int result = 17;
|
||||
result = 31 * result + Objects.hashCode(mActivityCallbacks);
|
||||
result = 31 * result + Objects.hashCode(mLifecycleStateRequest);
|
||||
result = 31 * result + Objects.hashCode(mClient);
|
||||
result = 31 * result + Objects.hashCode(mActivityToken);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
@@ -5109,7 +5109,9 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
|
||||
deferResume);
|
||||
}
|
||||
|
||||
kept = ensureConfigAndVisibilityAfterUpdate(starting, changes);
|
||||
if (!deferResume) {
|
||||
kept = ensureConfigAndVisibilityAfterUpdate(starting, changes);
|
||||
}
|
||||
} finally {
|
||||
continueWindowLayout();
|
||||
}
|
||||
|
||||
@@ -5072,7 +5072,9 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
|
||||
}
|
||||
}
|
||||
|
||||
kept = mAtmService.ensureConfigAndVisibilityAfterUpdate(starting, changes);
|
||||
if (!deferResume) {
|
||||
kept = mAtmService.ensureConfigAndVisibilityAfterUpdate(starting, changes);
|
||||
}
|
||||
} finally {
|
||||
mAtmService.continueWindowLayout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user