Merge "Fix bug where recents was getting preloaded unnecessarily" into jb-dev

This commit is contained in:
Michael Jurka
2012-05-29 12:26:35 -07:00
committed by Android (Google) Code Review

View File

@ -1798,7 +1798,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
}
}
if (down) {
if (!mHomePressed) {
if (!mHomePressed && mLongPressOnHomeBehavior == LONG_PRESS_HOME_RECENT_SYSTEM_UI) {
try {
mStatusBarService.preloadRecentApps();
} catch (RemoteException e) {