OSDN Git Service

Add user-specific playSoundEffect and use in NavBar
authorJason Monk <jmonk@google.com>
Mon, 8 Sep 2014 19:34:23 +0000 (15:34 -0400)
committerJason Monk <jmonk@google.com>
Mon, 8 Sep 2014 19:34:23 +0000 (15:34 -0400)
commit0c37ba318847a44cb9256e55eca1160dc1fffd4d
tree0757c66f3a1e9c1ca1f0fc7514fabab603e8c5a2
parent24e08d0692583fbb038ea26236d9700b9019f1f1
Add user-specific playSoundEffect and use in NavBar

Add a hidden version of playSoundEffect that takes a userId to
get the correct setting as to whether sound effects should play
or not.

Bug: 15106706
Change-Id: I5c0b74081fd00732a43fe42a76d33d05197333d0
media/java/android/media/AudioManager.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java