OSDN Git Service

Fix use of deprecated SoundPool API in Camera2 SoundPlayer
authorJean-Michel Trivi <jmtrivi@google.com>
Thu, 28 Feb 2019 20:35:21 +0000 (12:35 -0800)
committerJean-Michel Trivi <jmtrivi@google.com>
Thu, 28 Feb 2019 20:35:21 +0000 (12:35 -0800)
commitfbae346f30673db84c66849828c4b7fe6868417d
tree7cdad51dadb926443cc359f0403e929a0b3c6b74
parentb8f322dd105e1ea17cee0c726db0e999eb94cdc6
Fix use of deprecated SoundPool API in Camera2 SoundPlayer

Don't use stream types for operations other than volume control

Bug: 122901916
Test: verify logcat doesn't show warnings, see bug
Change-Id: Id5b4f3b3c56c61a2f00172a470410e0670ce81b4
src/com/android/camera/SoundPlayer.java