Jeremy Sim 41d8ae8a7a Implements the "Save App Pair" button in Overview Actions
Second attempt at enabling this feature. See ag/25143701, linked bugs, and revert history for details. This patch is tested with mokey devices and does not crash!

This patch includes:
- Ability to "save app pair" from Overview Actions.
- Internally the actions bar is not longer hidden for GroupedTasks; instead the individual buttons for "Select", "Screenshot", and "Split screen" are toggled off and "Save app pair" is toggled on.
- "Save app pair" option does not appear in icon menu when it is visible in the Actions Bar.
- Addition to go/quickstep/res/layout/overview_actions_container.xml to support addition of the new button.

Note: This patch introduces a slight regression where users are now able to long-press to select text on task 1 of a paired GroupedTaskView (previously we did not let them select text on either task for consistency.) Will follow up with a fix -- see bug for details.

Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Fixes: 315545418
Fixes: 315292030
Test: Manual, all action buttons still work and "Save app pair" appears and disappears correctly
Change-Id: I4b4ac525cfd5eb9cfcd757d0bffc7215b04f9a3d
2024-02-28 19:39:04 -08:00
2024-02-26 14:54:31 -08:00
2023-12-07 13:04:23 -08:00
2024-01-23 15:55:40 -08:00
2024-01-23 15:55:40 -08:00
2019-11-25 20:24:07 +09:00
2021-09-21 15:25:22 -07:00
2024-01-10 12:30:39 -08:00
2024-01-10 12:30:39 -08:00
2023-10-20 10:09:12 -07:00
2020-01-17 11:24:43 -08:00
Description
No description provided
815 MiB
Languages
Java 73.1%
Kotlin 26.5%
AIDL 0.3%
Python 0.1%