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

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

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

View File

@@ -1098,6 +1098,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() {