diff options
author | Yorke Lee <yorkelee@google.com> | 2014-10-10 16:51:58 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-10-10 23:52:44 +0000 |
commit | ad84e0637f43311a05e894393be6538909b937fb (patch) | |
tree | 71f911bead9d64c397f199d27d2cedc21d0e07eb /policy/src | |
parent | 3b0169aec357f265c90f9304ef0a979ff9da10c7 (diff) | |
download | frameworks_base-ad84e0637f43311a05e894393be6538909b937fb.zip frameworks_base-ad84e0637f43311a05e894393be6538909b937fb.tar.gz frameworks_base-ad84e0637f43311a05e894393be6538909b937fb.tar.bz2 |
Allow home to be pressed while in incoming call screen
Bug: 10692603
Change-Id: I2c213d553013bdd906f0ce54eba90a57bd7ae34c
Diffstat (limited to 'policy/src')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index 99d5848..4b2e8aa 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -2208,15 +2208,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { return -1; } - // If an incoming call is ringing, HOME is totally disabled. - // (The user is already on the InCallUI at this point, - // and his ONLY options are to answer or reject the call.) - TelecomManager telecomManager = getTelecommService(); - if (telecomManager != null && telecomManager.isRinging()) { - Log.i(TAG, "Ignoring HOME; there's a ringing incoming call."); - return -1; - } - // Delay handling home if a double-tap is possible. if (mDoubleTapOnHomeBehavior != DOUBLE_TAP_HOME_NOTHING) { mHandler.removeCallbacks(mHomeDoubleTapTimeoutRunnable); // just in case |