summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJerry Chang <chenghsiuchang@google.com>2021-02-02 18:14:42 +0800
committerJerry Chang <chenghsiuchang@google.com>2021-02-05 01:54:00 +0800
commitbed4a065b7269696b2dda969db78ac54a2477b58 (patch)
tree8af951820aa8b9ebc22702425c644b4988fb9ace /tools/aapt2/java/JavaClassGenerator_test.cpp
parent081a843f37bcf414cb910e54256cace69d585281 (diff)
Don't override child task bounds when rotation changed
In multi-window splits(like app-pair or stage split), task bounds might be set unexpectedly with override configuration after the device rotated. When Task#onConfigurationChanged detected override bounds and display rotated, it will triverse to override all child tasks' bounds, which making child won't inherit its parent bounds anymore. Unify to use Task#setBounds instead of Task#resize when updating override bounds for rotation and let child inherits its parent bounds directly. Also removed duplicate onRootTaskWindowingModeChanged call. Fix: 178773517 Test: manual check Test: atest WmTests:TaskTests WMShellUnitTests Change-Id: I57c3493c6b7a4912ee5e6ed06bf55e976f99c40b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions