Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdd4c31a authored by Zhihai Xu's avatar Zhihai Xu Committed by Android Git Automerger
Browse files

am 60d7c995: Merge "DO NOT MERGE setAvrcpAbsoluteVolume is passed wrong unit...

am 60d7c995: Merge "DO NOT MERGE setAvrcpAbsoluteVolume is passed wrong unit parameter from AudioManager" into klp-dev

* commit '60d7c995':
  DO NOT MERGE setAvrcpAbsoluteVolume is passed wrong unit parameter from AudioManager
parents db3146c0 60d7c995
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1019,7 +1019,7 @@ public class AudioService extends IAudioService.Stub {
                (flags & AudioManager.FLAG_BLUETOOTH_ABS_VOLUME) == 0) {
                synchronized (mA2dpAvrcpLock) {
                    if (mA2dp != null && mAvrcpAbsVolSupported) {
                        mA2dp.setAvrcpAbsoluteVolume(index);
                        mA2dp.setAvrcpAbsoluteVolume(index / 10);
                    }
                }
            }