diff options
author | Jeff Tinker <jtinker@google.com> | 2017-11-01 15:29:38 -0700 |
---|---|---|
committer | Jeff Tinker <jtinker@google.com> | 2017-11-02 18:13:02 +0000 |
commit | eb13c764c641e9819bf525780c3f15b447ebe394 (patch) | |
tree | 481b9df533abc731c9666d424b3c08f0b40324f2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 35c1a5d51b02a9a9853cf4abc0569591bdb71ecb (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_test.cpp')
0 files changed, 0 insertions, 0 deletions