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

Commit bca4bd6b authored by Chilun Huang's avatar Chilun Huang Committed by Android (Google) Code Review
Browse files

Merge "Add error handling for onConfigurationChanged" into sc-v2-dev

parents f450642f cca803cb
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1537,7 +1537,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++) {