summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-12-03 15:36:21 -0800
committerChong Zhang <chz@google.com>2015-12-04 00:02:34 +0000
commit48a87a542684bcfd4d5356c7489f9f5f37510c71 (patch)
tree003c85d4ece060d6e83a8e608b75a2d6cec5da06 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentac7579a6e5cb8302f38ebe2fc8fbcb6812621402 (diff)
Fix window disappearing when docking a second app
When moving app1 to docked stack, the app2 is resized while in background (fullscreen stack). Because of the config change, mWillReplaceWindow is marked true. But since the app2 is in GONE state, all updates of mFrame are skipped. When it's made visible again, because mWillReplaceWindow is set, update of mFrame in computeFrameLw() is still skipped, resulting in wrong mFrame being used. The fix here is to not set mWillReplaceWindow if the app is not visible, as we don't need to preserve old window. Also fix position change check. bug: 25937471 Change-Id: Iea506296ebd5c2a108368fb2d1d77cdc31a36cdc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions