- http://b//194114179#comment17 shows that 900ms should work for most cases
Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: Ie2832d7ad25b0844121ecf626903140bfeedc5ba
- getTargetInsets will be reverted to its behavior before ag/15431427
- getBottomGestureSize will use the new getWindowInset call uses windowInsets instead of the max of windowInsets/gestureInsets, with the taskbar inset calibration
Bug: 195263971
Test: com.android.launcher3.ui.widget.AddWidgetTest#testDragCustomShortcut
Change-Id: I89368edee5252a404ef490db6540734ec4806f2b
This reverts commit f9ccf0175d.
Reason for revert: to see whether b/151613234 is fixed
Test: pre-, post- submit
Bug: 151613234
Change-Id: Ieda2907319d796a57494318920c22f3db4527dab
- Test result has been improved by ag/15455154, but flakiness still exist, further increase the timeout to see if it helps
Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: I0421a969a30d9c8b259aeb21059e2219f43174f7
- In cuttlefish occasionally MOTION_MOVE and MOTION_UP takes more than 300ms due to lag, increasing the motion pause timeout to avoid getting false signals in tests
Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: I0a33f34b5bf96f4f7ae56020c5a27f4ef9a0ff64
- Consider taskbar size for bottom gesture size, by using TargetInsets
- TargetInsets should substract overlapping taskbar size when it's present
- For pressHome, use the same gesture scope when context menu is present as well.
- For pressHome, GestureScope.INSIDE_TO_OUTSIDE should only be used when it's already at home screen on launcher3 tablet.
Bug: 193539246
Test: NexusLauncherTest and Launcher3Test
Change-Id: I4a20522f3b38ef326acae4b189df11a125990411
Can parse Launcher version Tiramisu.
Also removes patterns that were used in
the unbundled branch.
Test: presubmit
Bug: 194528425
Change-Id: I43cca43ed1735cf8ed8845a614768bc42b1403f6
- In tablets user is either in home screen or there is a taskbar on screen, so swipe to home will always touches the launcher
Bug: 193653850
Test: StartLauncherViaGestureTests
Change-Id: Id1b05708324302eb4b4c2d623ca9fe27090188fc
- Taskbar takes some time to appear after closing launcher and launching test app
Bug: 193653850
Test: StartLauncherViaGestureTests
Change-Id: I714e35ee855660ac28bb214386f48ddbea0e834c
- See http://b/193440212#comment5, TaskView takes time after swipe gesture to finish dismiss animation, so wait for the animation to finish before checking task count
Bug: 193440212
Test: TaplTestsQuickstep#testOverview
Change-Id: I21397e68f384e956a7c9f2ee8a8161ac784b4d2e
Hoping that this will prevent Launcher restarts
during test execution.
Test: presubmit
Bug: 187761685
Change-Id: If9ba8795bcb27366dd1b2cdcad1c5329ef2e76c0
Old:
java.lang.AssertionError: http://go/tapl test failure:
Context: getting widget No Config in widgets list => resulting visible state is Widgets;
Details: Widgets container didn't become scrollable
New:
java.lang.AssertionError: http://go/tapl test failure: Widgets container didn't become scrollable;
Context: getting widget No Config in widgets list; now visible state is Widgets
Test: local runs
Bug: 187761685
Change-Id: I77a5b9133f577af27182f823e1130c371863e065
This allows taskbar to be loaded even in case of 3P Launchers
and removes dependency on LauncherActivity lifecycle
Bug: 187353581
Bug: 188788621
Test: Manual
Change-Id: I5a0988e0697b41677d4c58f0213aef14ec0c0972
This will result in better messages when accidentally scrolling
closes All Apps.
Test: presubmit
Bug: 187761685
Change-Id: Iadb8847ba66b1d6fe903577f67fcf3e504c2b28c