diff options
author | Eric Laurent <elaurent@google.com> | 2020-03-25 09:24:05 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2020-03-26 19:24:16 +0000 |
commit | e9e26309fdc095a71a12b8de55cff3fbbf183b12 (patch) | |
tree | a67538f85b59ee8569fc0d484b680a04b1c23fae /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 051829b895e4dec2f6aa905ab4ebc4861d709e03 (diff) |
AudioProductStrategy: fix attributesMatches()
Use AudioAttributes.getSystemUsage() instead of getUsage()
when comparing attributes as getUsage() defaults to UNKNOWN for
system usages and causes a false match.
Bug: 136121584
Test: build & run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioProductStrategyTest
Change-Id: I377e840b18443c33fb0b562b27fbc706aaeb8055
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions