Merge "Updating the cached resource configuration if ViewRoot is perserved" into tm-qpr-dev am: 0c3a5f856b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19992762

Change-Id: I8068f3adcd98ffeb61d21d30904bccbf630f3df2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Louis Chang
2022-10-05 14:33:53 +00:00
committed by Automerger Merge Worker

View File

@@ -1099,6 +1099,10 @@ public final class ViewRootImpl implements ViewParent,
mInputQueueCallback.onInputQueueCreated(mInputQueue);
}
}
// Update the last resource config in case the resource configuration was changed while
// activity relaunched.
mLastConfigurationFromResources.setTo(getConfiguration());
}
private Configuration getConfiguration() {