Merge "Updating the cached resource configuration if ViewRoot is perserved" into tm-qpr-dev
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user