During first boot, home activity after FallbackHome may be an
one-time setup. If the overview is preloaded at this moment,
system won't resume the real home after the one-time setup is
finished because the activity stack is not empty.
Since the navigation mode doesn't support gesture during the
first time setup, and in order to keep the ability to preload
launcher if it is also the overview, these conditions are
combined to guard the case of first boot.
Fix: 137281732
Test: Build sdk_gphone_x86-userdebug.
Run "emulator -wipe-data" and check the
recents activity won't start during booting.
Change-Id: I4b20f61f4a412371c19b379410c8a0a188e41276
Now we use the velocity towards the middle of the screen
(e.g. x when in landscape) instead of always using y.
Test: testBackground with @PortraitLandscape
Bug: 135567630
Change-Id: I77ab6bdf0d556475a6c182ae91914a718a81e1c4
- When the user dismisses splitscreen while launcher is hidden and was
previously minimized, getLocationOnScreen() will continue to return
the old position until the first view root traversal after the window
is shown. As a result, we will end up with home bounds for the minimized
state and the wrong target bounds calculated
Bug: 135952890
Test: Enter splitscreen, launcher another app, dismiss splitscreen and then
swipe up
Change-Id: Id19dfa664623b2b855db4209999508c76a9aacdc
using a different handler
This will allow us to use common logic for handling horizontal swipe
Bug: 137197916
Change-Id: I6f9cba6e8728dd0669482906c4bf34270af2bc82
On swipe up, we start a rencets transition to the current launcher app. At the
end of the transition, if the user is going to recents, we start overview activity.
Bug: 137197916
Change-Id: Ie5ed848879ad965dcab2780a05d649e3be066568
Test: Manual
Bug:135383592 P1 Notification line was not displayed at top of screen
Bug:136044361 P2 Sometimes icons in desktop disappear during animation
Bug:136733573 P1 Unable to do any interactions shortly after swiping home
Change-Id: I4d6c1ad5f0443e9b5d9b3f293ceb288a37cac1d4
- Add a signal for the animation to be "cancelled"
- Allow the workspace view to be attached to a spring during the animatoin
(but kept hidden) to prevent any jumpy movement
Bug: 137215697
Change-Id: Ie6868a7f45fefaee5366c8d30bb323fe042e9156
Bug: 135383592
TL;DR;; this reset is called when for instance OMS call happens
Change-Id: I57bb6c1c8833aff00e3be572dd19744afbb81eb5
(cherry picked from commit 4abfbd0670)
Test: Manual
Bug:115582915 P2 [Testing] Make all launcher tests gesture-stable
Bug:127350205 P1 Ensure that Launcher is always created and is in right configuration
Bug:131116002 P2 Convert tests to TAPL and enable them
Bug:131356741 P1 use transferFocus to implement SWIPE DOWN on homescreen to open noti shade
Bug:133891845 P2 TAPL: need clearer diags when a crash dialog is over Launcher or there is lock screeen
Bug:136215685 P1 Flake: swiping up from Home to Overview in 2-button mode sometimes fails
Bug:136278866 P2 Temporary workarounds to make tests pass on Cuttlefish
Bug:136280872 P1 Flake: Flinging in all apps opens workspace
Bug:64712476 P3 Import translations for dev branches
Change-Id: I39841b30840e9d88a2b98b21c4aba1c44d2bc446
=> Regression from recent CL ag/8074890
=> Fix which scopes the change down to the RecentsView, but not all PagedViews
Bug 136733573
Change-Id: I0abaa61b2b132d8086dc3b2cb3e3e9c1f181b5f5
* WindowTransformSwipeHandler closes all AbstractFloatingViews, including
ListenerView, which results in FloatingIconView getting removed.
* In IconLoadResult.onIconLoaded, we remove the check for isIconLoaded since
its not needed. This was also causing a race condition since isIconLoaded
is not set to true until after we tell onIconLoaded to run.
* In BaseDragLayer, we have a delay before checking if the view is open and
then closing the floating view if true. This caused issues since we reycle
the view. Now we check if the view is open before running the delay to call
close.
Bug: 136044361
Change-Id: I7442a589a62c3cdf90b70d146e0ecf3e4300ddf7
To reduce the jank when swiping-up the overview which is not
ready yet, we restart the overview activity if the process
was died and update its configuration if there is change.
Bug: 127350205
Test: manual - Enable 2-button or gesture navigation.
Swipe-up overview after:
Case 1: Other app is in foreground and kill the process
of launcher.
Case 2: Change configuration, e.g. font size, language.
Change-Id: Ia6e365cc0faf3765781484d040bdddd4e10a2650