summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2020-04-20 15:05:12 +0800
committerCharles Chen <charlesccchen@google.com>2020-04-27 16:37:52 +0800
commit441efaec077bd7b65420e200e8e63f5114245a36 (patch)
tree6e5ceec97e5c21f4aa6c15bfc07b490c2029a1fb /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6661575791ea87bbe990ca1ffc5c20701bffa2e3 (diff)
Fix error in DecorView's ViewConfiguration
In ViewConfiguration, we use isUiContext to verify if a context is an visual context. However, DecorContext uses Application context as a base context and return false as intended. This patch overrides isUiContext to report context#isUiContext instead. fixes: 153664027 Test: atest DecorContextTest#testIsUiContextFromVisualDecorContext Change-Id: Ida26b9617c74dc6997fc2c00d97d3420a0978fc7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions