Fix ClassCastException when inflating layouts
The fix in https://crrev.com/c/2522511 almost worked, but ended up crashing when inflating layouts. This change replaces the underlying ClassLoader from the ContextImpl for each Activity. Bug: 1146745 Change-Id: I23fc0b15fcd5ef80b78c82de2ab83245af1146d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526627Reviewed-by:Andrew Grieve <agrieve@chromium.org> Commit-Queue: Clark DuVall <cduvall@chromium.org> Cr-Commit-Position: refs/heads/master@{#825550}
Showing
Please register or sign in to comment