Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b094c51 authored by Louis Chang's avatar Louis Chang Committed by Automerger Merge Worker
Browse files

Merge "Updating the cached resource configuration if ViewRoot is perserved"...

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

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



Change-Id: I8068f3adcd98ffeb61d21d30904bccbf630f3df2
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1bd13825 0c3a5f85
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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() {