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

Commit c40771a9 authored by Michael Jurka's avatar Michael Jurka Committed by Android (Google) Code Review
Browse files

Merge "Fix bug with preloading recent tasks" into jb-mr1-dev

parents 5050813f 01de93de
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -1717,6 +1717,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                mHomePressed = false;
                mHomeLongPressed = false;
                if (!homeWasLongPressed) {
                    if (mLongPressOnHomeBehavior == LONG_PRESS_HOME_RECENT_SYSTEM_UI) {
                        try {
                            IStatusBarService statusbar = getStatusBarService();
                            if (statusbar != null) {
@@ -1727,6 +1728,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                            // re-acquire status bar service next time it is needed.
                            mStatusBarService = null;
                        }
                    }

                    mHomePressed = false;
                    if (!canceled) {