- Add logs to MotionPauseDetector to confirm if the current 700ms timeout is enough for tests
Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: Ifc3e8a24c245b1877e3fae5d2cb96636c34e8e4b
Fixes: 194286702
Test: Go home from app and overview for
3P and normal launcher (test via separate recents activity
in debug menu)
Change-Id: Ifac4afbfa549265a80448ee460a780bf0984f9e1
This reverts commit ee75a0f8be.
Reason for revert: This is causing touches on foldable/large screen devices to be registered in the incorrect orientation. b/195617582
Bug: 195617582
Change-Id: I221b5510f1acc56f855d5fc770bc09eab86a4f29
- 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
Makes the animation when using 3 button navigation be closer to what we
have in non fallback mode, also fixing the problem when fallback recents
just started and don't have any views.
Fix 194487871
Test: manual with gestures, 2 button and 3 button nav
Change-Id: If3925d6bef1d14f51b86169d06607786972f5f1f
- Center the icon drawable in center of IconView with and allow a smlaler size to be set
Bug: 194194694
Test: dismiss focus task, swipe from app etc.
Change-Id: I2855249b13e2ccdb45f101bfb7afef4311f7b46f
It can return null immediately after android.intent.action.ACTION_PREFERRED_ACTIVITY_CHANGED
notification.
Test: local
Bug: 187080582
Change-Id: I8625fdfc0add57fed832bdca4713747a005bf08c
* Follow up CL coming to introduce a TaskView that
can have multiple Tasks, so a taskID won't be particularly useful
in that scenario.
Bug: 192292305
Test: Manual, w/ and w/o live tile
Change-Id: I1900b999ac51aa99923239f2af400c90c71c3dae
- activity.hasBeenResumed is no longer an accurate indicator after live tile has been introduced, indeed it's always false
- Return recentsView regardless if there is a runningTask as well
Bug: 194286330
Test: In fallback Recents with 3 button, tap overview button from home screen, then tap overview button again. Try combination with back and home button
Change-Id: Ib2775a11f5466abc433763f24192e7bfdcf191a2
When the user presses the home button, because fallback Recents doesn't
have a way to change the state, we rely on `onStop` to reset the state.
This makes the state be cleared correctly.
Fixes 192254944
Test: follow the bug
Change-Id: I177b09392214d078373e3852517b57d9172d944d
Keeping the stale reference after the animation ends is dangerous because if we call end() on it, it will jump to the now-obsolete end value.
Test: atest NexusLauncherTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Bug: 193440212
Change-Id: I8ca45db7ceec2d6e6a9c6e69a6e0359fd73a7d27
Note that taskbar is intentionally dark even when dark theme is off, whereas overview changes to light.
Test: visual with a few wallpapers
Bug: 191614244
Change-Id: I30f8c2f04047ea26fa726c9e470b87637a6c502e
Test: swipe up to overview from an app and swipe up to dismiss it during the transition
Bug: 189700453
Change-Id: I303696f90dbb236ea93e06d94a3c92d783850fa4