diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2015-05-20 13:58:18 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2015-05-20 13:58:18 -0700 |
commit | d3969546a8bc4efe1e5e8a72bee07105055d18c2 (patch) | |
tree | 0af77fc0f57da2d99f4d42ef6a3dbd35bda78863 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c1a9436d27e41347e6063b1cfb77eaef7e191ca4 (diff) |
Fix reading attributes for playback restrictions
Playback restrictions can be lifted with the correct flag,
FLAG_BYPASS_INTERRUPTION_POLICY, but this flag is for the
system only. As such, it must be read by querying "all
the flags" with AudioAttributes.getAllFlags() which is a
system API which returns all the system flags. getFlags()
only returns the public SDK flags.
Bug 19407114
Change-Id: I22dadfaf5d1b48b3c0754e1e6af00b734d790fec
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions