Commit Graph
61234 Commits
Author SHA1 Message Date
Jerry Chang 4fdf5684fe Polish home-key from split to pip transition
Includes WINDOWING_MODE_MULTI_WINDOW closing target to the condition of
playing fallback animation. So the remaining splitting task won't be
play with iconview animation when home-key to auto-pip consumed another
splitting task in pip transition handler.

Bug: 281476331
Test: repro steps of the bug
Test: pass existing tests
Video: http://recall/-/fLARJNt42LVxc3tt86SneW/eelqATeE1REoOtOEDxeDVR
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:365105118220b218005225b038142273524877cc)
Merged-In: If05d8841a6a940e61f71683422ef1a3d4e3597c7
Change-Id: If05d8841a6a940e61f71683422ef1a3d4e3597c7
2023-06-30 03:17:29 +00:00
Android Build Coastguard Worker e3fd35678d Merge cherrypicks of ['googleplex-android-review.googlesource.com/23785437'] into udc-release.
Change-Id: I6467407d5d49cc120e53b798e3772dfd0a0d8851
2023-06-29 03:40:21 +00:00
Winson Chung 5cdfa120df Workaround for handling the restart of an already visible task
- If a task is already visible, then startActivity is a no-op and the
  remote transition that launcher expects to run is not started. As a
  workaround (until restarts are an actual transition), listen for
  the case where a task is restarted and invoke the end callbacks

Fixes: 286016555
Test: Repro steps on the bug
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:57c2a79e47bc583306bd77ea3039d821a8d33dde)
Merged-In: Iec3ab97c8817a5e95399cec90f891d65f369d234
Change-Id: Iec3ab97c8817a5e95399cec90f891d65f369d234
2023-06-29 03:39:15 +00:00
Android Build Coastguard Worker 64e91ffc50 Merge cherrypicks of ['googleplex-android-review.googlesource.com/23793397', 'googleplex-android-review.googlesource.com/23792388'] into udc-release.
Change-Id: I64c2a75726b8f2934f42e0ef7952e7c477e0b7cf
2023-06-28 01:29:06 +00:00
Jerry Chang 8a7181d45e Prevent exception when quick switching between two split pairs
When switching in between two split pairs just quick enough, it is
possible to send the second entering split transition while it is
animating the first entering split transition which is merged to a
recents-during-split transition. The split parents might not be
collected into the second transition because the split parents are
already visible at that time, and there is no recents transition to
merge to. So updates to not throwing when there is no split parent when
composing a recents-to-split animation.

Bug: 236226779
Test: repro steps of the bug and the Launcher won't throw
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:97eb471f2efda1eccce7eba8c68301b2fa34c5e7)
Merged-In: I3a595722721186e8de7d60c9fb8c099ec799804a
Change-Id: I3a595722721186e8de7d60c9fb8c099ec799804a
2023-06-28 01:27:37 +00:00
Winson Chung 18f815a7fd Restore strong reference to animation runner
- The remote animation factory needs to be strongly referenced since
  the only other reference is a weakly held one from
  LauncherAnimationRunner, and if a gc happens in between starting
  the animation and the onAnimationStart() callback, then the
  animation will not play.

Fixes: 284106887
Test: Force a gc after creating a remote app launch animation and ensure
      that the runner still exists when the animation starts
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6cfe2e6cbe52f5fc9aa0eb94afaeb7679810cc13)
Merged-In: I5f584451b41c666916801b8ea0cb470c7ab9fc51
Change-Id: I5f584451b41c666916801b8ea0cb470c7ab9fc51
2023-06-28 01:27:30 +00:00
Android Build Coastguard Worker d5f28d79b3 Merge cherrypicks of ['googleplex-android-review.googlesource.com/23810649'] into udc-release.
Change-Id: I082dd44b10ac964dba6c068495b2033d4c0e3833
2023-06-27 00:43:13 +00:00
Winson Chung 5148c096e1 Fix NPE due to invalid RecentsView access
Fixes: 288829919
Test: N/a, reorganizing code behind null check
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cdf410f1349edf3451e1a8af64ea2d8cd676ffaa)
Merged-In: I9efe48cab239b521f7e729af06706c352be2499c
Change-Id: I9efe48cab239b521f7e729af06706c352be2499c
2023-06-27 00:42:01 +00:00
Android Build Coastguard Worker ef3f4df825 Snap for 10367700 from 9f566dec6b to udc-release
Change-Id: I4bde0673b0f721df8758d53919240a8acc6ec908
2023-06-22 23:18:30 +00:00
Jagrut Desai 9f566dec6b Merge "Suspend immersive mode autohide while pending transient taskbar timeout" into udc-dev 2023-06-22 18:06:23 +00:00
Android Build Coastguard Worker 6fae36a15b Snap for 10360508 from d827387ffd to udc-release
Change-Id: Id558ea32d8c77b1d81b55be1a6565a79d36c027f
2023-06-21 23:19:30 +00:00
Vinit Nayak 8492177884 Merge "Add logs to RemoteTargetGluer for index exception" into udc-dev 2023-06-21 20:37:53 +00:00
Mateusz Cicheński e338982c97 Reparent PiP overlay under task as soon as possible
For enter PiP animations started from Launcher, we send the signal to
WMShell to reparent the overlay under task as soon as possible.

This avoids flicker issue caused by race condition of cleaning up the
transition leash before the reparenting was done, which made the issue
of overlay being not attached to anything for few frames.

Bug: 281711939
Test: winscope trace from comment#28, leash follows task
Test: after http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/ewrarENSYYOmUCa0b3fdtp

Change-Id: Ia16afd49a94d9ba8456287c2cdffb2a84e5a2bc7
Merged-In: Ia16afd49a94d9ba8456287c2cdffb2a84e5a2bc7
2023-06-21 16:51:36 +00:00
Winson Chung d827387ffd Merge "Restore specific colors for floating rotation button" into udc-dev 2023-06-21 16:06:19 +00:00
Treehugger Robot dcbe9583fb Merge "Add detailed exception for snappedIndex == -1 when dismissing tasks" into udc-dev 2023-06-21 11:00:20 +00:00
Treehugger Robot a842561c1b Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-06-21 06:19:35 +00:00
Bill Yi 6d701913d9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ida888864c2129b6f52b8e3e850d982a40b0e2a33
2023-06-20 20:24:01 -07:00
Bill Yi 5204db1fa2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5b7ded4d11a74593e2cfa3ddc54e564523c7546d
2023-06-20 20:23:19 -07:00
Winson Chung c27a43ba30 Restore specific colors for floating rotation button
- The rotation button background does not change based on the current
  light/dark mode

Bug: 288126260
Test: Check rotation button color with dark mode enabled/disabled
Change-Id: If4d5edfd4b118e4f16b6d472f206587e7cd61f98
2023-06-20 22:45:25 +00:00
Alex Chau 8f19421a87 Add detailed exception for snappedIndex == -1 when dismissing tasks
Bug: 269956477
Test: manual
Change-Id: Ia95a3b2ffe5c677af34183639ba8a2742626c340
2023-06-20 19:04:55 +01:00
Android Build Coastguard Worker e661dfb408 Snap for 10347357 from 2095736367 to udc-release
Change-Id: Ia18fa6ebe211c475ef55da98d6d0255aeca9b42d
2023-06-19 23:18:39 +00:00
Treehugger Robot 2095736367 Merge "Add a hint to align changes between taskbar and divider bar" into udc-dev 2023-06-19 05:09:30 +00:00
Android Build Coastguard Worker b82efcc9dd Snap for 10342804 from 6ec21cbe45 to udc-release
Change-Id: I0e3ef34f932460de6a630295ab104793ee5546f1
2023-06-17 21:18:40 +00:00
Randy Pfohl 6ec21cbe45 Merge "Aligning the intialization process with groupedtaskview to set content description Test: built locally, tested against tablet with bluetooth keyboard." into udc-dev 2023-06-16 23:18:02 +00:00
Jagrut Desai 68ca974330 Suspend immersive mode autohide while pending transient taskbar timeout
Test: open Youtube fullscreen video, swipe up on taskbar; ensure taskbar autostashes before immersive mode autohides
Fixes: 260765455
Flag: none
Change-Id: Ic579a20c60949e12ffc7f9548eded52fbdb06e0c
2023-06-16 15:42:57 -07:00
Jerry Chang f6d1fa816f Add a hint to align changes between taskbar and divider bar
Bug: 276468017
Test: pass existing tests
Change-Id: I253a582749b39a28194286e69a4a96bae2a0cf36
2023-06-16 09:53:10 +00:00
Android Build Coastguard Worker 8f24c6811d Snap for 10331563 from 0171c356c6 to udc-release
Change-Id: Ie8b1e14df0943dfcc2c11b2bd63258a8b4ab58b2
2023-06-15 23:19:58 +00:00
randypfohl 3c2ab1de45 Aligning the intialization process with groupedtaskview to set content description
Test: built locally, tested against tablet with bluetooth keyboard.

Bug: 287287064
Change-Id: I2be667b2a4b0a08f73c3233a05bbaf7eec08c0e4
2023-06-15 15:11:57 -07:00
Hui Kang 8e2f266dff Remove IwTest annotation.
Bug: 286084672
Test: presubmit
Change-Id: Ib110688344d3ca209c8955de596fc5528f725f6d
2023-06-15 14:21:05 -07:00
Vinit Nayak ae6beea07b Add logs to RemoteTargetGluer for index exception
Bug: 286144914
Change-Id: I16a8d22a281903574c282b08c06695e4f0e46168
2023-06-15 19:38:37 +00:00
Sunny Goyal 0171c356c6 [automerger skipped] Merge changes from topic "icon-thrashing" into tm-qpr-dev am: f2d09fe4cb -s ours
am skip reason: skipped by user sunnygoyal

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23554146

Change-Id: I146c785b52eae77eae784c9fa10612b71b644226
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 18:05:40 +00:00
Sunny Goyal f2d09fe4cb Merge changes from topic "icon-thrashing" into tm-qpr-dev
* changes:
  Fixing syntax error due to java-version changes
  Fixing icon cache thrashing due to an unsupported icon
2023-06-15 15:55:51 +00:00
Winson Chung 7cd608594b Merge "Reset the static preloaded icon result once launcher is hidden" into udc-dev 2023-06-15 03:41:32 +00:00
Jon Miranda 613cc95c8a Merge "Fade in/out taskbar bg alpha when unstash/stashing." into udc-dev 2023-06-15 00:02:02 +00:00
Android Build Coastguard Worker a7966b05bd Snap for 10322758 from 77110f977f to udc-release
Change-Id: I96ea31e58cd8684b0bcd679191865c250367151e
2023-06-14 23:18:52 +00:00
Jon Miranda d76713eb08 Fade in/out taskbar bg alpha when unstash/stashing.
This prevents the case where we are drawing both the taskbar bg
renderer and the stashed handle at the same time.

Fixes: 287245176
Test: go home/overview, open/close notif shade, stash/unstash in app
Change-Id: Ib025a0cf1ad5fd8a9afd079aa50210f3b2388d8e
2023-06-14 14:04:27 -07:00
Winson Chung 7c500166b2 Reset the static preloaded icon result once launcher is hidden
- In the case where the system does not play the requested animation
  we can still ensure that this doesn't result in a leak of the
  activity by resetting the result when launcher is hidden (which
  happens after the launch transition)

Bug: 285995223
Test: Presubmit
Test: Take heapdump after repro steps in b/285995223#comment6 and verify
      there are no lingering static icon load results

Change-Id: I1d169df158cfaab64fbe1f4ce597d8f73d86a1c1
2023-06-14 19:39:58 +00:00
Treehugger Robot 77110f977f Merge "Polish redesgined tutorial home and overview animations" into udc-dev 2023-06-14 18:35:21 +00:00
Treehugger Robot 8dcb89ebac [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: b1cd92ec1d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23669868

Change-Id: I926cbfb75cb97a9ec7b40e09df43604854f6e0e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 04:04:33 +00:00
Bill Yi 0a730fe212 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1a56350263 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23669868

Change-Id: I3801f63ee1f87e359f3a841e70858e3b36f410ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 04:04:23 +00:00
Treehugger Robot b1cd92ec1d Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-06-14 03:33:08 +00:00
Treehugger Robot 2cf123ac6a Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-06-14 03:32:14 +00:00
Treehugger Robot 1a8898f69b Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-06-14 03:32:14 +00:00
Jon Miranda 6352c9bc88 Merge "Revert "Suspend immersive mode autohide while pending transient taskbar timeout"" into udc-dev 2023-06-14 01:10:08 +00:00
Android Build Coastguard Worker b9330af75f Snap for 10314561 from c70e41a431 to udc-release
Change-Id: I7ff27530c6a00bb47086e50db409cb849906ae1a
2023-06-13 23:19:49 +00:00
Jon Miranda a6653ae660 Revert "Suspend immersive mode autohide while pending transient taskbar timeout"
This reverts commit 0a074648c2.

Reason for revert: caused regression
Bug: 260765455
Fixes: 286808390

Change-Id: I0e017cf8e432f9c36b0ad34154c127c0dbe73504
2023-06-13 20:09:58 +00:00
Bill Yi c70e41a431 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d1399b459f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23669872

Change-Id: Iff463979fe7f5be4c27f47d9fa5f15bd9c38b647
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-13 18:03:20 +00:00
Marcelo Arteiro d469ce2460 Merge "Fixing color mismatch for Launcher3/NexusLauncher" into udc-dev 2023-06-13 11:59:42 +00:00
Randy Pfohl f5bec7dd30 Merge "switching animation to screenshot to avoid visual jank" into udc-dev 2023-06-13 05:43:21 +00:00
Saumya Prakash cb5e2cfd3e Merge "Scale the gesture tutorial animation to work on smaller devices" into udc-dev 2023-06-13 05:38:01 +00:00