summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2019-04-18 12:07:34 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2019-04-19 16:50:39 -0700
commit5bbcd44ce50d0319f23337afd694dbb117685207 (patch)
treec7bd98f79be0be114a1506cb93ba319ef4a6961c /startop/scripts/lib/cmd_utils.py
parentfb3c3679c1a7061c0695cc489ce5a82e5c9bc9bf (diff)
AudioService: async volume updates from DeviceInventory
Make VolumeStreamState private to AudioService, and don't let AudioDeviceBroker, AudioDeviceInventory manipulate it. Only let them post messages on AudioService message handler to access them. Refactor methods to set a volume index and observe devices from AudioDeviceInventory to AudioService to be asynchronous. Bug: 130686447 Bug: 129163231 Test: verify volume is last used when connecting A2DP or hearing aid Change-Id: I356af79213f4c21ed4ebaf86922fbbd9bf48a892
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions