summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorConrad Chen <conradchen@google.com>2017-07-19 14:28:12 -0700
committerConrad Chen <conradchen@google.com>2017-07-19 21:51:27 +0000
commit11b41c54a214e79f3038a3e1365e0f47fb6bc0bb (patch)
tree3c8faa1c523da87564bc7420010cfa31df1395bc /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta54c89ec56dfb9395179dfdee82d8923469d0b93 (diff)
Media API: Using context's classloader in MediaBrowser
When subscribing media updates, we allow users to pass options as Bundles, in which users may put non-framework-defined parcelables, which would cause ClassNotFoundException when media browser tries to compare options to select the specified callback. Sets any passed options' classloader as context's classloader to solve the problem. Test: manually checks if crashed APPs can survive after the fix Bug: 62648808 Change-Id: I670c8da4ebc7845487db3a0d22c9d2baf727056f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions