summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-10-17 18:10:48 +0000
committer Jorge Gil <jorgegil@google.com> 2024-10-19 06:42:32 +0000
commit883b408292ffd42863c5abc05b23f4af68e3d753 (patch)
treeb91efc0be8cb18380261c0a7bd7f0f0fbb9c32fb /libs/androidfw/misc.cpp
parentb470f9a646709c2379e4d4d5272660d8276518f7 (diff)
Prevent task from exiting immersive twice on close
When a task is closing, the full immersive handler restores its bounds and appends the transition to its list of tracked transitions. It also add a change to prevent direct enter/exit while a pending transition is in progress, to prevent the case where a onTaskInfoChanged changing the immersive state of the app re-triggers an enter/exit while another enter/exit is already in progress. Finally, it adjusts the close animation to always animate from the start bounds, since the taskInfo/end bounds can now be different even on close transitions. Flag: com.android.window.flags.enable_fully_immersive_in_desktop Bug: 373987723 Test: enter desktop immersive, close the task using the header icon, verify no crash and it animates correctly Change-Id: I068b925ca45bd68d98434e1105bf0a3716247202
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions