summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.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-12 17:25:45 -0800
commit0cb833bea26763643db6b9e3b3b3ae042ae0ae9c (patch)
tree95966d9f803be11cfcee8bebc7c60dd2c494c24e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent53e0762358eb7b335dd246daa8e9678ec97a0ccf (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions