OSDN Git Service

PhoneWindowManager: allow volume keys in VoIP calls and screen off
authorEric Laurent <elaurent@google.com>
Wed, 10 May 2017 22:16:01 +0000 (15:16 -0700)
committerEric Laurent <elaurent@google.com>
Thu, 11 May 2017 00:51:05 +0000 (17:51 -0700)
commita9a52581c07ae7eac60b11f3d0451c7c77941379
tree7e693f902a976569b388a084d309173eecc0bb32
parented285e0cd6c855f0450012249371c33c67d95f6f
PhoneWindowManager: allow volume keys in VoIP calls and screen off

Apply the same rule for volume keys during VoIP calls as during
PSTN calls allowing to change call volume when when the screen
is off.

Bug: 37571875
Test: Check volume keys work in Hangouts. Check regressions for music
and PSTN call volume

Change-Id: I2d5c654af47ade99ff4cb326e54e734087f5e8ae
services/core/java/com/android/server/policy/PhoneWindowManager.java