summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2020-06-25 17:55:39 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2020-06-26 03:48:35 +0000
commitb097d9e1cdf848e3ae8d0ad6be1111466645b9c0 (patch)
treead161cd29dcbc466a935684ccd6f29dbf41528e4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent24804d2a8f7a3098b4c8c2f99f469556ef504f2f (diff)
AudioAttributes: fix setter for flags
A regression was introduced by d0c4968 which prevented @SystemApi flags to be set in the builder of an AudioAttributes, causing FLAG_BYPASS_INTERRUPTION_POLICY and FLAG_BYPASS_MUTE to get ignored. Note that even though any client can set System flags, they will be discarded and ignored server side in the audio policy service if the caller doesn't have the permissions. Bug: 154205921 Test: fire alerts with packages/apps/CellBroadcastReceiver/tests/testapp Change-Id: I9d593787c18a510aa702dc0da85254f0d9574f11
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions