summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFrançois Gaffie <francois.gaffie@renault.com>2019-10-03 14:48:11 +0200
committerEric Laurent <elaurent@google.com>2020-02-13 01:33:04 +0000
commit51aca3ee10c1a286e8ccc1a7919465b025f1199e (patch)
tree8d55490e25517bd4aebdeab376781fb15bf5e6cb /tools/aapt2/java/JavaClassGenerator.cpp
parent9dd718c5d91f459b1c07077c288d5b56c819c70f (diff)
audioservice: fix persistency for volume per attributes
Volumes can be set by stream or attributes. Attributes based API does neither uses a cache nor persistent storage. So, settings are not persistent, shared among user and in case of audioserver crash, the volume indexes are lost at lower layer. This CL aligns the volume per attributes API on stream based API by -using a local cache of indexes -using Settings persistent storage -forcing refresh on audioserver crash -allowing mutliuser settings It also provides dump and log to align level of service for attributes based volume API. Bug: 147208571 Test: -change user && dumpsys audio && dumpsys settings -killall audioserver && dumpsys audio && dumpsys media.audio_policy Signed-off-by: François Gaffie <francois.gaffie@renault.com> Change-Id: I042b13f0588b2ae3f88fa9f8d72d0f0c99e5b850 Merged-In: I042b13f0588b2ae3f88fa9f8d72d0f0c99e5b850
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions