Merge "Fix bug where recents was getting preloaded unnecessarily" into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a66c75a87e
@ -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) {
|
||||
|
Reference in New Issue
Block a user