The privapp permission grant file for launcher3 was previously only
installed for Launcher3QuickStep, which is the default launcher app
in the AOSP product config.
Make other apps use it too for products that override
Launcher3QuickStep (or use one of the other variants).
Bug: 123300025
Test: build/boot product with Launcher3QuickStepGo
Change-Id: I295ed7f1d65d1e6b4ba6364b2468182353340bbb
Before this CL, the cell had 3 announced actions:
1. Add to home screen (a custom action)
2. "Double-tap to activate" - performing this action instructed the user
to use action #3
3. "Double-tap and hold for long press" - starts dragging the widget.
Bug: 116018969
Test: Manual
Change-Id: Ie2378ccb13d182a2558f70f7250055bf86c5e5f6
Starting a new touch interaction on the nav bar while going to a new task
cancels that animation to allow for continuous scrolling.
Specifically, the new interaction still creates a new touch consumer and
WindowTransformSwipeHandler, but reuses the previous RecentsAnimationState
in order to defer finishing it.
Bug: 111926330
Change-Id: Ia4f5f8dbb2b3ae70791676f1e3e5ce84deb22f74
The hope is that this will solve flakiness of widgets tests in AOSP.
Test: TaplTestsLauncher3.testWidgets
Change-Id: I2ecc18b9eb7eeb3fd8b11fcc580a529f545c3af9
androidx.design_design was a target created temporarily while
the com.google.android.material_material was being added.
This migrated to the final material design class packages.
Exempt-From-Owner-Approval: Large scale refactor
Test: make -j SecondaryDisplayLauncherLib
Change-Id: If183dd35a1d197c4a9a8225a021e36c4f1662587
(cherry picked from commit 403c51aa98)
Bug: 123762998
This moves the core animation provider logic out of
OverviewCommandHelper to a separate class to divide out the class
responsibilities a little more and make it easier to override only the
animation logic in the future.
Bug: 114136250
Test: Manual test Launcher3QuickStepGo and NexusLauncher
Change-Id: I803431f9312eb1dca1233848f63a4be1b04469ef
Go's recents will not have swipe up to overview so there is no need to
have BackgroundAppState. We also do not support quickstep so we don't
need a distinct FastOverviewState. So we stub them out here.
Bug: 114136250
Test: Manual test Launcher3QuickstepGo + NexusLauncher
Change-Id: I9223cd35fc3c64688cda16dcaa1d5f40460c9323
Change-Id: I5d6e3bfe22a505f0c77a6f7f627e9248e63ea6e0
Fixes: 123720385
Test: scroll or fling towards the previous app, it will settle on it and launch it.
- Always use the recents scale down animation when coming from BACKGROUND_APP state
- Adjust scale down animation to calculate based on translationY = 0 instead of
translationY > 0 if it is still set from a previous interaction
- Fallback to using launcher's insets in the case that a task doesn't yet have
thumbnail data (we remove the data when the task stack is invisible, so it
might not yet be restored if you swipe up again too quickly)
Bug: 111926330
Change-Id: I4bf0bf1b2fa564f0a2c27e7c053c2216856cb024
The flag is no longer enforced as it applied to legacy shourtcuts only
and was meant for jelly bean devices
Change-Id: I4b143c42fc7d64584421b35457e02059b0022802
As Go will likely have very different implementation since it will be
replacing the app => overview animation, we split
LauncherActivityControllerHelper so that Go can override the class
completely.
Bug: 114136250
Test: Manul test NexusLauncher, Launcher3QuickStepGo, Launcher3IconRecents
Change-Id: Ia5554593ddafffe0f729a4658d0a37aed16d236b