diff options
Diffstat (limited to 'policy/src')
-rwxr-xr-x | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index f892e9e..1373627 100755 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -588,7 +588,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { // We can't initialize this in init() since the configuration hasn't been loaded yet. if (mLongPressOnHomeBehavior < 0) { mLongPressOnHomeBehavior - = mContext.getResources().getInteger(R.integer.config_longPressOnPowerBehavior); + = mContext.getResources().getInteger(R.integer.config_longPressOnHomeBehavior); if (mLongPressOnHomeBehavior < LONG_PRESS_HOME_NOTHING || mLongPressOnHomeBehavior > LONG_PRESS_HOME_RECENT_ACTIVITY) { mLongPressOnHomeBehavior = LONG_PRESS_HOME_NOTHING; @@ -600,7 +600,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { sendCloseSystemWindows(SYSTEM_DIALOG_REASON_RECENT_APPS); } - // Use 3d Recents dialog if (mLongPressOnHomeBehavior == LONG_PRESS_HOME_RECENT_DIALOG) { // Fallback to dialog if we fail to launch the above. if (mRecentAppsDialog == null) { |