Merge "Notify draw for relaunch with preserved window" into tm-qpr-dev

This commit is contained in:
Riddle Hsu
2023-02-01 08:57:30 +00:00
committed by Android (Google) Code Review

View File

@@ -1114,6 +1114,8 @@ public final class ViewRootImpl implements ViewParent,
// Update the last resource config in case the resource configuration was changed while // Update the last resource config in case the resource configuration was changed while
// activity relaunched. // activity relaunched.
updateLastConfigurationFromResources(getConfiguration()); updateLastConfigurationFromResources(getConfiguration());
// Make sure to report the completion of draw for relaunch with preserved window.
reportNextDraw("rebuilt");
} }
private Configuration getConfiguration() { private Configuration getConfiguration() {