Implement takeover functionality for the Home gesture on the Shell side.
This CL does a few things:
* Add a new registry for remotes so that they can be differentiated
between "regular" and takeover remotes (requires registering twice for
both functionalities).
* Add an API to Transitions to find a suitable handler to takeover a
transition, and to TransitionHandler to handler the requests.
* Add an API to IRecentsAnimationController to hand off the recents
animation, and to RecentsTransitionHandler to route it to the takeover
remote correctly.
Bug: 323863002
Flag: ACONFIG com.android.systemui.shared.return_animation_framework_library DISABLED
Test: updated unit tests and tested manually
Change-Id: I58e2cccffa0da33260ae1e4b0d8a29f5965fa39a
diff --git a/libs/WindowManager/Shell/Android.bp b/libs/WindowManager/Shell/Android.bp
index 5c978e2..89781fd 100644
--- a/libs/WindowManager/Shell/Android.bp
+++ b/libs/WindowManager/Shell/Android.bp
@@ -210,6 +210,7 @@
"androidx.recyclerview_recyclerview",
"kotlinx-coroutines-android",
"kotlinx-coroutines-core",
+ "//frameworks/libs/systemui:com_android_systemui_shared_flags_lib",
"//frameworks/libs/systemui:iconloader_base",
"com_android_wm_shell_flags_lib",
"com.android.window.flags.window-aconfig-java",