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

Commit c3fb3143 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Multi-window optimizations #2

- Do not relaunch activities in stacks that are not visible during
resize.

Change-Id: Ia6bd17882c17db045450a466ba5347ce53e9b837
parent 69abc194
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1932,7 +1932,7 @@ public final class ActivityStackSupervisor implements DisplayListener {

    private void ensureConfigurationAndResume(ActivityStack stack, ActivityRecord r,
            boolean preserveWindows) {
        if (r == null) {
        if (r == null || !r.visible) {
            return;
        }
        final boolean updated = stack.ensureActivityConfigurationLocked(r, 0,