diff options
author | Conrad Chen <conradchen@google.com> | 2017-07-19 14:28:12 -0700 |
---|---|---|
committer | Conrad Chen <conradchen@google.com> | 2017-07-19 21:51:27 +0000 |
commit | 11b41c54a214e79f3038a3e1365e0f47fb6bc0bb (patch) | |
tree | 3c8faa1c523da87564bc7420010cfa31df1395bc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a54c89ec56dfb9395179dfdee82d8923469d0b93 (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