OSDN Git Service

Master mute is valid when running fixed volume for automotive
authorHongwei Wang <hwwang@google.com>
Tue, 29 May 2018 21:36:16 +0000 (14:36 -0700)
committerHongwei Wang <hwwang@google.com>
Wed, 30 May 2018 23:47:49 +0000 (16:47 -0700)
commitdaba12467466b115fcbb50e609785591c24a6cbb
tree80f819467a59756ed9046ee5d3b2a47deb1bc734
parent6de8729657263d0dba112573298055d9396027d6
Master mute is valid when running fixed volume for automotive

In Automotive case, we set fixed volume to suggest no volume control
inside AudioFlinger and master mute is a mapping to the physical mute
button in a car, which toggles the global mute state.

Bug: 80474559
Test: adb shell input keyevent 164
Change-Id: I1d4fd143a98ee96f11850811c90e6d9932cab948
services/core/java/com/android/server/audio/AudioService.java