summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFrancois Gaffie <francois.gaffie@renault.com>2020-03-25 13:24:14 +0100
committerEric Laurent <elaurent@google.com>2020-04-13 18:42:34 +0000
commit05672e534e5ef64ae3f8a8566537ab61a816f1ae (patch)
treec3b20df7ae826793375f85c0d4af4f03c0501e8b /tools/aapt2/java/JavaClassGenerator.cpp
parent2f46cd181a1146dbb1db2b1d9fbd7b2f0e2aaafb (diff)
AudioService: fix AudioProductStrategy matching rule
Strategies use rules on attributes, and use public getter to compare usages. However, some usage are system only and now filtered by public getter. This CL fixes this issue by adding a hidden get for usage that return whatever public or system usage. Test: adb shell am instrument -w -e class com.android.audiopolicytest.AudioManagerTest#testAudioAttributesToStreamTypes com.android.audiopolicytest Signed-off-by: Francois Gaffie <francois.gaffie@renault.com> Change-Id: Iddd55af8f230cb063dcaa9ba950b890cbbb81643 Merged-In: I377e840b18443c33fb0b562b27fbc706aaeb8055
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions