- If launcher repeatedly starts the recents animation, we try to finish
the existing animation before starting the new one, but due to some
ordering issues (see b/275561141) the subsequent starts can orphan
the previous animation runner, which can result in no animation callbacks
for either the previous animation (to cancel) or the new animation
(to start).
This change only attempts to reduce the likelihood of a second no-op
transition by synchronously finishing the existing recents animation
on the launcher side prior to starting the next animation.
There is one case this doesn't handle, where if the previous
onAnimationStart() has not been called back, then we can't directly
call the controller to finish, and need to rely on the no-op handling
on the shell transition side to handle the gesture.
Bug: 275561141
Test: Quickswitch and swipe up repeatedly
Change-Id: I820e26dc20fb1851ee0102ed8c114ce998d44999
Taskbar never needs a semi-transparent scrim drawn by the decor view at
the insets area, because taskbar has the background color on its own if
needed.
Bug: 197615177
Test: SystemUIGoogleBiometricsScreenshotTests
Change-Id: Ic49c8af3ecbefcc83d1bd987812625c7e2f37157
The fix caused a flicker tests to fail, but that is specific to the persistent taskbar used in tests only.
Bug: 277470898
Bug: 277003116
Fixed: 277470898
Fixed: 277003116
Test: Flicker tests passes
Test: Manual (http://shortn/_kiAZykhZsp)
Test: Tapl presubmit tests
Change-Id: Ib9daebf3b06af2f1a4a3b7461acf91f204ff281b
test: verified by making sure animation ends at correctly translation, height and width, and correct corner radius for screen size.
flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
bug: 277123609
Change-Id: Icb38de441e12fa0b9ca49e46d71598edbcdfa108
This allows support for easily setting up default layouts
Bug: 277345535
Test: Presubmit
Flag: N/A
Change-Id: I1c089d60ac3f8add8d7e1060d343e04d30afe094
ENABLE_DATABASE_RESTORE feature is already removed
Also migrating some tests from BackupRestoreTest to RestoreDbTaskTest
Bug: 270392706
Test: Presubmit
Flag: N/A
Change-Id: I71822bbc2232008b3d2b4b9fbed0db5d889591e4
This reverts commit 41b580bc63.
Bug: 277942460
Test: tablet/foldable device
check taskbar animation b/w states and during drag
Change-Id: Ib8b362102d08d155d3153b652db47364feb5df0a
This reverts commit ecb55ef471.
Bug: 277942460
Test: tablet/foldable device
check taskbar animation b/w states and during drag
Change-Id: I48e37d58afa6e168a683e1b9c73ae15432920030
- A bit of a degenerate case, but if a new task is received while
the user is swiping up (but not yet released), none of the usual
signals will finish the recents animation (it's not considered
being in overview so we don't launch it, it's not a quickswitch
since we haven't launched any new tasks ourselves). As a result,
nothing happens (we don't finish the animation, and the new task
is never shown to the user as a result).
Bug: 271188120
Test: Start a gesture, in parallel run:
adb shell am start -n com.android.settings/.Settings
Change-Id: I5215ee87f761c837db9f764bd5d8135e55fa0a21
AllAppsStore already has the business logic for this, we just were not
piping along to it.
Test: Dismiss notification from tray while All Apps is open, and dot
should go away in All Apps.
Fix: 277925243
Change-Id: I29c5723fd77d22f683f5518bd6e2e3206ddee999
Fixes: 276605497
Test: 3-finger swipe down to pull down notifications. 3-finger swipe up to pull up overview
Change-Id: I4c1e0df15a94905fa197849f5667a5446c259ffe
This change adds in additional Lottie animations for foldable devices
for the redesigned gesture navigation tutorial.
Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 253520701
Test: Went through the gesture navigation tutorial on foldables and verified animations show up correctly.
Change-Id: I88b9094dcc0074f70670402870944db0fa57ebbe
The way we are stashing the pending updates should follow the behavior pattern as that shown in AppWidgetServiceImpl
Fix: 277120633
Test: Manual
Change-Id: I92b3edb078b30873c2ef1b9fe408cbb76a34e135
Implement two intents or shortcuts to active split with shell
transition.
Fix: 259368992
Test: manual
Test: pass existing tests
Change-Id: If65ddbe6486a8bb1766019c6e05ac2cc5cbe08fc
Fixes: 277271088
Test: be in app
swipe up from bottom to top of screen without pausing then release
observe taskbar -> hotseat handoff
observe no jump
Change-Id: I2bb9d93d39215ca3653e2e4353391b50b7ab6417