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

Commit 5be7e87b 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 am: 5b094c51

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



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