Merge "Notify draw for relaunch with preserved window"

This commit is contained in:
Riddle Hsu
2023-01-11 07:56:40 +00:00
committed by Android (Google) Code Review

View File

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