Commit Graph

12553 Commits

Author SHA1 Message Date
TreeHugger Robot e633cca3bc Merge "Adding finish signal to GestureNavContract." into tm-dev 2022-04-07 03:24:01 +00:00
Presubmit Automerger Backend 5d4c1490eb [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e 2p: 977f8873f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624832

Bug: 227657604
Bug: 225205246
Change-Id: Iee994b293e1136d6b1ae6c315e1084836e9b9565
2022-04-06 21:29:24 +00:00
Presubmit Automerger Backend 977f8873f3 [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624832

Bug: 227657604
Bug: 225205246
Change-Id: I6f79835edd8495fc5b91dcabeb2e6b68b7ce52fa
2022-04-06 21:29:18 +00:00
Schneider Victor-tulias 1823bdba6e Add logging to debug incorrect taskbar states caught by flaky tests.
- Various TAPL tasts are flaking because the taskbar is present when navigating home. Several TAPL taskbar tests are also flaking because the taskbar is missing when opening an app. Adding logging to catch when FLAG_IN_APP is being set and why it isn't being applied.

Bug: 227657604
Bug: 225205246
Test: manual
Change-Id: Ia976bb0a6c7764e571fab3ac98ee21ff22ef7674
2022-04-06 14:26:47 -07:00
Presubmit Automerger Backend 3e6259671d [automerge] Adding finish signal to GestureNavContract. 2p: 5c20fdd73f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17610880

Bug: 228260232
Change-Id: Iaac9f45042aff84fab7232672cec522bacaac902
2022-04-06 20:43:30 +00:00
Sunny Goyal 5c20fdd73f Adding finish signal to GestureNavContract.
Also fixing also-closing behavior for FloatingSurfaceView for Android S

Bug: 228260232
Test: Verified manually on device
Change-Id: I83f6417a756c1459533294d681e83abba6ea58aa
2022-04-06 13:42:59 -07:00
Alex Chau ef7b504bef [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf 2p: 3d3b263bf0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: Id9f6f9eb9f50bd4d2d07e979f1b90c500f75e2eb
2022-04-06 18:45:32 +00:00
Alex Chau 3d3b263bf0 [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: I3caf1b56cb39c2cf5dbf88a379bec8d955c0c080
2022-04-06 18:45:25 +00:00
Alex Chau e0227551cf Clone mInsets when copying DeviceProfile to taskbar
- Set mInsets with windowBounds.insets when initialized, and set windowBounds.insets when cloning DeviceProfile
- Added more bottom sheet / all apps in DeviceProfile dump
- Also dump taskbar's device profile in dumpsys

Fix: 226968237
Test: Taskbar AllApps should have correct top padding
Test: adb shell dumpsys activity com.google.android.apps.nexuslauncher
Test: adb shell dumpsys activity service com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
Change-Id: I7739c699fb16544b92dc820354a643f745694c25
2022-04-06 19:44:43 +01:00
Presubmit Automerger Backend 51b0a0f4cb [automerge] Add the staggered ring appear animation! 2p: feb31ca567 2p: 3cee2086ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356398

Bug: 197636896
Change-Id: Ide12f85d642a427c5e4a1463bbcade9fdad7310b
2022-04-06 18:27:39 +00:00
Presubmit Automerger Backend 3cee2086ed [automerge] Add the staggered ring appear animation! 2p: feb31ca567
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356398

Bug: 197636896
Change-Id: I43f6c0bb6889398db42d95495064b586a18f3492
2022-04-06 18:27:33 +00:00
Josh Tsuji feb31ca567 Add the staggered ring appear animation!
Bug: 197636896
Test: a lot of unlocking
Change-Id: I9a713ac12eae5128d409166110cece0b86d89ae4
2022-04-06 14:26:50 -04:00
Jon Miranda b6e33441d2 [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203 2p: debdedebed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17606862

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: I4c81d223826ba53f18b6e03d603e2a8ffb694f35
2022-04-06 17:29:26 +00:00
Jon Miranda debdedebed [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17606862

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: If72bec9d681a0fdb873a77cf8d5e67fc5be56801
2022-04-06 17:29:17 +00:00
Jon Miranda 27f9559203 Revert "Revert "Sync hotseat/taskbar handoff""
This reverts commit efca5c8655.

Reason for revert: ANR no longer happening

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: I03bfe8642ef4ed0f9e8fbd543141d39c66375604
2022-04-06 17:29:09 +00:00
Presubmit Automerger Backend 21833871cb [automerge] Show an 'Undo' snackbar when users dismiss a predicted hotseat item. 2p: 510a818521 2p: afeb386645
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Bug: 200841778
Change-Id: If2f11aa645c865be2b21388e724fa04660f2e8b1
2022-04-06 17:22:59 +00:00
Stefan Andonian 510a818521 Show an 'Undo' snackbar when users dismiss a predicted hotseat item.
Bug: 200841778
Test: Hard-coded the flag to be true, and verified that the snack bar
is shown with the correct text. Also verified that talkback announces
"Item Removed" properly and that the correct log event is produced by
the AppEventProducer which AiAi needs to process the user action.

Change-Id: Ifbb9cf7aecf26cd4bcebf48d4fb07fb3d5af46bb
2022-04-06 17:22:40 +00:00
Alex Chau dee631c221 [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb 2p: 49520d892d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Bug: 220336617
Change-Id: If1a5da4570f79d5ab1bd6281d8a90ee31877fead
2022-04-06 12:31:15 +00:00
Alex Chau 49520d892d [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Bug: 220336617
Change-Id: I0e9fa83437dafb91ba22e929b31f55cbf88c3189
2022-04-06 12:31:08 +00:00
Alex Chau c83ea5f8fb Make AllApps bottom sheet follow finger and snap after 30% progress
Bug: 220336617
Test: manual
Change-Id: I0b6296cf5abf0f0a5f34fc2a0b5be93dc93ebf3f
2022-04-06 13:30:41 +01:00
Sunny Goyal c0849b39a3 Merge "Fixing crash when unfolding with an app already open" into tm-dev am: 5e16325ccd am: 6c4433a8a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17489726

Change-Id: Ia6c9ce46e82858c78cfed23b3a65945d74a94324
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 08:35:17 +00:00
Sunny Goyal 5e16325ccd Merge "Fixing crash when unfolding with an app already open" into tm-dev 2022-04-06 07:46:46 +00:00
Shawn Lin 91ab328855 Merge "Fixed cts failure of WindowInsetsControllerTests" into tm-dev am: d1567efff5 am: d01522e17a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395787

Change-Id: I05435c4c5ef65aff7f000c3360b6a125d12622d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 03:26:13 +00:00
Shawn Lin d1567efff5 Merge "Fixed cts failure of WindowInsetsControllerTests" into tm-dev 2022-04-06 02:37:24 +00:00
Andy Wickham 894c0479ad Merge "Removes deprecated uses of Display#getRealSize in Gesture Nav Edu." into tm-dev 2022-04-06 01:43:05 +00:00
Andy Wickham 6cb733276d Merge changes from topic "presubmit-am-42d1f5c1a21f4309a8f90dc16543747a"
* changes:
  [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead 2p: 258c7ea7b5
  [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead
  Removes deprecated uses of Display#getRealSize in Gesture Nav Edu.
2022-04-06 01:43:05 +00:00
Brian Isganitis 807d650143 Merge "Create ResourceBasedOverride for SearchSessionManager." into tm-dev am: fe5684c2e8 am: 870f0c3b22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17333256

Change-Id: I3a1b978d4ec2c3723bdf39a0379d0826927f7078
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 20:10:15 +00:00
Andy Wickham fe19a4a99e [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead 2p: 258c7ea7b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17528592

Change-Id: Ifc4b7271f8be3b28457f59b758f6ebed5a44a15b
2022-04-05 19:12:12 +00:00
Andy Wickham 258c7ea7b5 [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17528592

Change-Id: Id37014877c26e22055021e32fb0f6ddc636eecf6
2022-04-05 19:12:05 +00:00
Andy Wickham 936c6c6ead Removes deprecated uses of Display#getRealSize in Gesture Nav Edu.
Fix: 227307214
Test: Manually went through the gesture nav tutorials.
Change-Id: I0c6fec12915bacec7933a4beb1a6aa68dc49dd67
2022-04-05 12:11:15 -07:00
Brian Isganitis fe5684c2e8 Merge "Create ResourceBasedOverride for SearchSessionManager." into tm-dev 2022-04-05 17:22:13 +00:00
Alex Chau 9d8eeabfec Reset touch state when removing all tasks in RecentsView.applyLoadPlan
Fix: 223245248
Test: com.android.quickstep.FallbackRecentsTest#goToOverviewFromHome
Change-Id: I1cc8952e077b9cc79a93d909b80e215e61e8deab
2022-04-05 17:13:56 +01:00
Thiru Ramasamy 2ce66ab267 Merge "Rename "ONE_SEARCH" attributes to "WEB_SEARCH"" into tm-dev am: b266baa64d am: 5e8dc996d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17514640

Change-Id: I00435ed11972055f436b7b2a61289e6f7de5de86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 14:59:40 +00:00
Thiru Ramasamy b266baa64d Merge "Rename "ONE_SEARCH" attributes to "WEB_SEARCH"" into tm-dev 2022-04-05 14:20:13 +00:00
Brian Isganitis 63c32cab98 Create ResourceBasedOverride for SearchSessionManager.
This override will allow Launcher3 to initialize and control a search session implementation.

Bug: 216683257
Test: Manual
Change-Id: I43d4793ef176cfd8e074961286356b96f9222ca9
2022-04-04 17:02:41 -07:00
Pat Manning ce3d1c603a Merge "Animate overivew actions view hiding on scroll." into tm-dev am: 10b77ab7e7 am: 1d460f33bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17414979

Change-Id: Ib9b769981534d4c9a250e308c98a35c08c6bc4f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-04 19:39:45 +00:00
Pat Manning 10b77ab7e7 Merge "Animate overivew actions view hiding on scroll." into tm-dev 2022-04-04 18:43:08 +00:00
Pat Manning 458dcdbe1e Animate overivew actions view hiding on scroll.
Test: manual
Fix: 221113300
Change-Id: Ie21343e280639e027f012d9c734b798f4dc4e71a
2022-04-04 17:10:27 +01:00
Yunfan Chen e3f7624ecb Adjust the insets frame providing method per API change
The frameworks side made a change to provide different insets frames for
different types of insets. Update the corresponding code to reflect that
change.

Test: build
Bug: 215411414
Change-Id: I57ecbb778fd0f0d3a19cc6712d747cad6664644b
2022-04-04 17:59:54 +09:00
Thiru Ramasamy dde19ea64d Rename "ONE_SEARCH" attributes to "WEB_SEARCH"
* Minor fix to logging

Bug: 210792253
Test: manual
Change-Id: Ib32b945e1fa7696b3b8360dae01e1bd00295ff8d
2022-04-01 23:10:43 +00:00
Tracy Zhou c886a9aa03 Merge "Fix npe in FrameHandler" into tm-dev am: 76a99eccc0 am: a2291a2292
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17534537

Change-Id: Id3a21f0b15e2353f0124e6a3bccb76435164c6aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 18:41:55 +00:00
Merissa Tan f3ba57dd3f Merge "Disable taskbar stashing on desktop environment." 2022-04-01 18:19:59 +00:00
Tracy Zhou 6bf22f786b Merge "Do not append additional delimiters" into tm-dev am: bb75f59792 am: 6811c5b8ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17528595

Change-Id: Ia11c0410168db21e7c9c9855f518225d6b2a5dce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 05:05:12 +00:00
Tracy Zhou b5f7e4fc19 Fix npe in FrameHandler
Previously we check if the view root is null, but after ag/16308550 we no longer do so

Fixes: 208657242
Test: N/A
Change-Id: I0bb4a1b26ca8b201393587e7d0d922b7d4e08419
2022-03-31 21:46:47 -07:00
Tracy Zhou bb75f59792 Merge "Do not append additional delimiters" into tm-dev 2022-04-01 04:26:20 +00:00
Tony Wickham 978dde27ff Merge "Log when calling disposeEventHandlers" into tm-dev am: 6e9c06998d am: 77f76a5e8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356395

Change-Id: Ifba63ca659a637334407f455fe00ec1ef1515a77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 01:26:05 +00:00
Merissa Tan ce3af8d690 Disable taskbar stashing on desktop environment.
Bug: 223736439
Test: Manual
Change-Id: Iceb349b8a1dbae41e13ef1890a6834d66776c9af
(cherry picked from commit 215479443ce0339f75c691195dd14b4e9d5f4da1)
2022-03-31 18:03:56 -07:00
Tracy Zhou 0439fcdd5c Do not append additional delimiters
Fixes: 227665358
Test: N/A
Change-Id: I6ec0bca286c0824e474f04a61b7d855858490120
2022-03-31 17:15:46 -07:00
Vinit Nayak c8b2fdbc6a Merge "Add metrics for taskbar 3 button nav" into tm-dev 2022-03-31 23:22:33 +00:00
Tony Wickham 6e9c06998d Merge "Log when calling disposeEventHandlers" into tm-dev 2022-03-31 23:20:46 +00:00