swipe-dismiss: add DIALOG_CLOSE support
ShellBackPreview:
- Add DIALOG_CLOSE animation definition for ShellBackAnimation/Registry.
CoreBackPreview/BackAnimationController:
- Fix DIALOG_CLOSE type on home activity.
- Add BackAnimationAdapter for DIALOG_CLOSE type, use its activity's
ActivityRecord/Task as part of the RemoteAnimationTarget setup.
Dialog:
- Replace Dialog's default back to CompatOnBackInvokedCallback type.
Demo: http://shortn/_et1xjGALvK
Test: atest ClockworkSystemUI
Test: atest BackNavigationControllerTests
Bug: 294170826
Change-Id: Ic5102ba760da7a3885d6bb9c95412e435bd1ced7
6 files changed