summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Tinker <jtinker@google.com>2017-11-01 15:29:38 -0700
committerJeff Tinker <jtinker@google.com>2017-11-02 18:13:02 +0000
commiteb13c764c641e9819bf525780c3f15b447ebe394 (patch)
tree481b9df533abc731c9666d424b3c08f0b40324f2 /tools/aapt2/java/JavaClassGenerator.cpp
parent35c1a5d51b02a9a9853cf4abc0569591bdb71ecb (diff)
Fix exception on MediaDrm invalid property access
Accessing an invalid MediaDrm property would result in an IllegalStateException. This change causes IllegalArgumentException to be thrown instead, which is more appropriate. Test: android.media.cts.ClearKeySystemTest passes and it fails prior to this CL. bug:68765217 Change-Id: I858575dc8fe643a88381da49b543c5cc0d266e02
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions