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

Commit 57b945cd authored by Chilun Huang's avatar Chilun Huang Committed by Automerger Merge Worker
Browse files

Merge "Add error handling for onConfigurationChanged" into sc-v2-dev am: bca4bd6b am: f6ed082d

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

Change-Id: Iac1ce0cf84cec7e7c90b04fff20e97bd54171773
parents c6eec4fd f6ed082d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1524,7 +1524,10 @@ public class Activity extends ContextThemeWrapper
    }

    private void dispatchActivityConfigurationChanged() {
        // In case the new config comes before mApplication is assigned.
        if (getApplication() != null) {
            getApplication().dispatchActivityConfigurationChanged(this);
        }
        Object[] callbacks = collectActivityLifecycleCallbacks();
        if (callbacks != null) {
            for (int i = 0; i < callbacks.length; i++) {