summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2020-03-30 16:28:19 -0700
committerWinson Chung <winsonc@google.com>2020-04-03 19:59:05 -0700
commitcbd8793a441bc828ec22dda09145134da7105818 (patch)
treee375d1b980c3e06736a0818b53570a8e38143a18 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent42c2b4fa22583bf1c08969a136c807b119fa8f6b (diff)
Keep task hidden until task appeared
- If the task is previously not visible or has no visible children at the point when we start controlling it in the task org, hide the task until we send taskAppeared to ensure that the task org can reparent and show it otherwise we could see a flash of the task. This happens mainly from two cases: - when starting a new task with a given win mode, we show it and wait for first draw before notifying the task org - when transitioning into pip from swipe up, the activity is hidden and when it requests to enter pip is made visible again Since we are hiding the task w/ the pending transaction, we also need to defer all task org callbacks until that's applied to ensure proper lifecycle of the calls. - Also skip app transitions for task org tasks for now Bug: 152809695 Bug: 152134460 Test: Open a bubble, ensure that we don't see the task in fullscreen first. Enter pip, ensure that we don't see flash of the task before SysUI can fade it in. Test: atest PipAnimationControllerTest Test: atest TaskOrganizerTests Test: atest SplitScreenTests Change-Id: If51e98cd007faef35e99acd31b27b20eebbea010
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions