OSDN Git Service

Fix AVRCP volume control from UI volume slider
authorJean-Michel Trivi <jmtrivi@google.com>
Mon, 4 Feb 2019 23:44:28 +0000 (15:44 -0800)
committerJean-Michel Trivi <jmtrivi@google.com>
Mon, 4 Feb 2019 23:44:28 +0000 (15:44 -0800)
commit734819a4100a9513e3f0e529d6fa8a184c0f98b3
tree1dd82545e8a16df160fe512e4ba28b6181488554
parentc4b9c96d58129e0824964f370b3b920dc28f8961
Fix AVRCP volume control from UI volume slider

Fix error where volume index rescaling was happening twice in the
  setStreamVolume code path for AVRCP absolute volume code path.

Bug: 123857725
Test: see bug
Change-Id: Iadfa664e6eb6298acf712f02f98b892ad2d36d44
services/core/java/com/android/server/audio/AudioService.java
services/core/java/com/android/server/audio/BtHelper.java