OSDN Git Service

When phone is ringing, power button should hang up phone in addition to turning off...
authorMike Lockwood <lockwood@android.com>
Thu, 22 Oct 2009 17:14:31 +0000 (13:14 -0400)
committerMike Lockwood <lockwood@android.com>
Thu, 22 Oct 2009 17:14:31 +0000 (13:14 -0400)
commit146ef723bc0fc87aba00400196a5e64ab128ee17
tree91eb5af2cec3f5af82bce3e4e2b2b86729f6d6bc
parentd6adf0ae620ca3b64eee38cd53aaeedb7bd98457
When phone is ringing, power button should hang up phone in addition to turning off the screen.

Fixes bug b/2201585 (Pressing power button when phone ringing should mute ringer)

Change-Id: Ief3e26044f9b0ceaf41c5dc6be52f0d1e9897810
Signed-off-by: Mike Lockwood <lockwood@android.com>
phone/com/android/internal/policy/impl/PhoneWindowManager.java