summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2021-11-17 17:11:49 +0800
committerCharles Chen <charlesccchen@google.com>2021-11-17 17:11:49 +0800
commit74cc4db965deeb2e16a455deeec1b30669b709db (patch)
tree7f0e95e06029d1a62556070dc446c330d5055280 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent32438ace6183b4e69b3f79b81b19d6528f685b49 (diff)
Try to fix ActivityThreadTest failure on foldables
The root cause of this failure is that we don't specify Configuration#orientation in test, so #handleActivityConfigurationChanged uses device orientation instead, which is landscape in the failure case. In this way, TestActivity receives 2 onConfigurationChanged callbacks, one is to make Activity portrait, the other is to make Activity landscape, which is from process configuration. This CL specifies orientation in each propagated Configuration to prevent orientation overridden by process Configuration. Bug: 204903019 Test: atest ActivityThreadTest Change-Id: I4d7720ef1128fc8612381b1a076b06beb765f1b6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions