summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2021-10-19 21:21:49 +0800
committerCharles Chen <charlesccchen@google.com>2021-10-27 21:34:54 +0800
commit09c03ec912419f4e1fe3fbc5980843b4dbd73599 (patch)
tree96f2c5dbb15ac2b4d4cd54eb417aab66827b8ef9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9c0537028dc950a947143d5c65fd40027f495e33 (diff)
Fix ClassLoader issue of WindowContext
The root cause of this issue is that we pass mClassLoader to new created Resources, but it may be null if we don't set ClassLoader from container. This CL fixes this issue by use ContextImpl#getClassLoader instead. Bug: 203027987 Test: reproducible steps mentioned in bug Change-Id: Ic88a351b3e9bbcf8382b9aefea63e2be2f190cb6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions