summaryrefslogtreecommitdiff
path: root/libs/androidfw/PathUtils.cpp
diff options
context:
space:
mode:
author Orhan Uysal <uysalorhan@google.com> 2024-11-25 17:13:54 +0000
committer Orhan Uysal <uysalorhan@google.com> 2024-11-27 15:19:38 +0000
commitae9506b4a2eefa6466b7c95ccbb4fbd14c8fac5d (patch)
tree1e9d3d9922816822db3f2721d9b9fbf29f0e441d /libs/androidfw/PathUtils.cpp
parent31b1e9e740ee9e5e7c051c438e2e648892d6c76f (diff)
Change back navigation impl to rely on observer
This cl changes how back navigation manipulates the repository by removing the dependency on FreeformTaskListener. 1. Move all back navigation observing logic to DesktopTasksTransitionObserver. Now we solely rely on the observer to decide whether a back navigation has happened. 2. For back navigation cases where an app is closing, verify that it's not marked as closing task(which only happens on app header exit) and that the last back gesture was triggered on this task. 3. Check whether for these closing cases, we should animate the transition in shell or animate it in launcher. This is done by identfying whether we are removing wallpaper or not in the transition. Fix: 379783329 Test: atest DesktopTasksControllerTest | atest DesktopTasksTransitionObserverTest | atest FreeformTasksListenerTest Flag: com.android.window.flags.enable_desktop_windowing_back_navigation Change-Id: I916cd6b777a455d9ffc733d0108e3f88ad7a1b9e
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions