summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2020-04-13 09:44:04 +0000
committerCharles Chen <charlesccchen@google.com>2020-04-27 16:37:46 +0800
commit6661575791ea87bbe990ca1ffc5c20701bffa2e3 (patch)
treecbdec94320a31018d05d6d0d08ef58e1348f1d16 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4bf358fe391c8a1076dd1eed725ffdfd0615a5de (diff)
Fix DecorView error about non-visual context
This error showed because DecorContext uses application context to get WindowManager. This CL changes to use PhoneWindow to obtain WindowManager instance. Also refactor ctr to obtain context from PhoneWindow. Bug: 152806048 Test: manual - enable strict mode and check the error log not shown. Test: atest DecorContextTest Test: atest MemoryTests#testActivityRecreation Change-Id: I1d416b9cdb015c9bc3553571041f3b14bb9da5da
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions