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

Commit d057cf8e authored by David Stevens's avatar David Stevens
Browse files

Only kill processes on default display density change

This means pre-N apps launched on secondary displays might not work
properly after a density change, but multiwindow (let alone
multidisplay) isn't something truly supported by those apps.

Test: manual
Change-Id: I80e18c6db19faa716ec1d653caef410c67327546
parent 313fd5f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19720,7 +19720,7 @@ public class ActivityManagerService extends IActivityManager.Stub
        mStackSupervisor.setDisplayOverrideConfiguration(mTempConfig, displayId);
        final boolean isDensityChange = (changes & ActivityInfo.CONFIG_DENSITY) != 0;
        if (isDensityChange) {
        if (isDensityChange && displayId == DEFAULT_DISPLAY) {
            // Reset the unsupported display size dialog.
            mUiHandler.sendEmptyMessage(SHOW_UNSUPPORTED_DISPLAY_SIZE_DIALOG_MSG);