summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2020-07-08 14:09:10 +0800
committerCharles Chen <charlesccchen@google.com>2020-07-08 23:58:58 +0800
commit3b8e8d76315f6718a982d5e6a019b3aa4f634bcd (patch)
tree3af4d83c3fd9991ac626c8fea3f8544ef95c1b98 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfb87c72c660c9cade7b8a730a9122f11ca3b8a46 (diff)
Fix NPE when invoking Context#isUiContext
Add null checks in both ContextWrapper and before obtaining ContextImpl#getOuterContext. Test: atest ContextTest#testIsUiContext_ContextWrapper fixes: 160037462 Change-Id: Ic6a71dd9ac4b195d219d6e5431f2f2b199a400fa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions