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

Commit 9df97927 authored by Andrii Kulian's avatar Andrii Kulian Committed by android-build-merger
Browse files

Merge "Recreate activity with correct configuration" into nyc-dev

am: 5ac2da04

* commit '5ac2da04':
  Recreate activity with correct configuration

Change-Id: I0ef3b390763eb10028ce0ad76d2ead9655112926
parents 11055ead 5ac2da04
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2545,6 +2545,9 @@ public final class ActivityThread {
                Context appContext = createBaseContextForActivity(r, activity);
                CharSequence title = r.activityInfo.loadLabel(appContext.getPackageManager());
                Configuration config = new Configuration(mCompatConfiguration);
                if (r.overrideConfig != null) {
                    config.updateFrom(r.overrideConfig);
                }
                if (DEBUG_CONFIGURATION) Slog.v(TAG, "Launching activity "
                        + r.activityInfo.name + " with config " + config);
                Window window = null;