Commit Graph

60459 Commits

Author SHA1 Message Date
Thiru Ramasamy 99dc0f53d4 Merge changes from topic "QuickSearchLog" into tm-mainline-prod
* changes:
  [automerge] Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event. 2p: d66f433cde
  Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event.
2022-04-07 01:07:28 +00:00
Anushree Ganjam f94c48d5fb Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST am: 45f221621e am: 9c32d3ecd5 am: fa144b055f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625363

Change-Id: I9613c6eb3b1eae7ebf1a4c16d05ca41c3dd0ba2b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:01:20 +00:00
Anushree Ganjam fa144b055f Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST am: 45f221621e am: 9c32d3ecd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625363

Change-Id: Id19c1c6660889f64a5cd8e08af3f3fb1f0bf6cb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:40:08 +00:00
Anushree Ganjam 9c32d3ecd5 Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST am: 45f221621e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625363

Change-Id: Icb3e16a04efc1ded930dfe1604312ac1eb6d2bf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:16:34 +00:00
Hyunyoung Song d4f4a55347 Merge changes from topic "WEB_SUGGEST"
* changes:
  [automerge] Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST 2p: 45f221621e 2p: c91e0f0bf3
  [automerge] Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST 2p: 45f221621e
  Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST
2022-04-06 23:33:15 +00:00
Brandon Dayauon cf4b69eb90 Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev am: e3589debfd am: 0b097fd1d3 am: fe977c4ac3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Change-Id: I2b62120cda9e23cfd8e2e3bb980cb6e6aa23b3ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:52:32 +00:00
Sebastian Franco 4192306aba [automerge] Removing line submited by mistake. 2p: dac0769af1 2p: 1e1bcb19cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624450

Change-Id: Ic83fb32d6f3c3136c2d9efbc490fbf0e04fd8e01
2022-04-06 22:28:27 +00:00
Sebastian Franco 1e1bcb19cb [automerge] Removing line submited by mistake. 2p: dac0769af1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624450

Change-Id: I3350899e19b1cfc9f3b8fcff92bf5031e819fc76
2022-04-06 22:28:20 +00:00
Anushree Ganjam 0887388c84 [automerge] Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST 2p: 45f221621e 2p: c91e0f0bf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625363

Bug: 220922858
Change-Id: I93cc2e44e056ebd35af2a0264ab11cc45c5473a4
2022-04-06 22:28:10 +00:00
Anushree Ganjam c91e0f0bf3 [automerge] Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST 2p: 45f221621e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625363

Bug: 220922858
Change-Id: I3bea3ccc86a23493da440a1d5aca43d06e7e079d
2022-04-06 22:28:02 +00:00
Sebastian Franco dac0769af1 Removing line submited by mistake.
Fix: 228327426
Test: Click the Notification dots
Change-Id: I3712e07eee5d4e5194b86de4fa1d45e1ef511dae
2022-04-06 15:25:34 -07:00
Anushree Ganjam 45f221621e Add ALL_APPS_SEARCH_RESULT_WEB_SUGGEST for ResultType.WEB_SUGGEST
Bug: 220922858
Test: Manual.

Change-Id: I5a52872a3bf75109b95e9853883825e32a623a1d
2022-04-06 22:18:14 +00:00
Presubmit Automerger Backend a3b9aa55ff [automerge] Close open folders when pausing launcher. 2p: 253c23b2e8 2p: 1e72f48c3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17546438

Bug: 227142635
Change-Id: I11d7afaf476837350a9ceb4c5f4b2a81a38f6ff7
2022-04-06 21:47:56 +00:00
Presubmit Automerger Backend 1e72f48c3e [automerge] Close open folders when pausing launcher. 2p: 253c23b2e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17546438

Bug: 227142635
Change-Id: I576710869215ec19a60fe29371b742f881260702
2022-04-06 21:47:50 +00:00
Stefan Andonian 253c23b2e8 Close open folders when pausing launcher.
Previously, folders wouldn't close after launching an app and quickly navigating back the launcher.
This is because the onStop state which contains a call to AbstractFloatingView.closeViews() wasn't being called.
This change adds an additional call to specifically close any open folders when the Launcher enters a paused state.

Bug: 227142635
Test: Verified that the issue is fixed after code change.
I logged the Launcher's lifecycle state to ensure my manual testing was reliable.

Change-Id: I838f992f83afdd754672ebbe85d0eb2a7e894417
2022-04-06 21:47:35 +00:00
Presubmit Automerger Backend 3d696ee841 [automerge] Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event. 2p: d66f433cde 2p: ea8d7ce46b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624833

Bug: 210792253
Change-Id: I4ccabfd43a260403c22c4a0833b782dd57ddbfc6
2022-04-06 21:33:02 +00:00
Presubmit Automerger Backend ea8d7ce46b [automerge] Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event. 2p: d66f433cde
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624833

Bug: 210792253
Change-Id: Ib59d79d10e3b745bb275439c435e5ca8edfd1578
2022-04-06 21:32:56 +00:00
Thiru Ramasamy d66f433cde Log LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME event.
Test: Manual - wwdebug && wwlogcat - http://gpaste/5690465669087232
Bug: 210792253
Change-Id: Ibe0c762a9e40e1af85a4d18051ba2a74e9f6106a
2022-04-06 14:32:34 -07: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
Brandon Dayauon fe977c4ac3 Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev am: e3589debfd am: 0b097fd1d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Change-Id: I1efc4242e3296691d4332fa8fff71ca44f4ed051
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:19:00 +00:00
Brandon Dayauon 8d71823eed Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev am: e3589debfd am: 383af6884f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Change-Id: If9ba602d06e34efe404789b4ab9c8c5c351e77e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:09:40 +00:00
Brandon Dayauon 0b097fd1d3 Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev am: e3589debfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Change-Id: I5cd9bcdab1af099e116b999258594107661ab641
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:02:28 +00:00
Brandon Dayauon 383af6884f Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev am: e3589debfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Change-Id: Ic506338582953425f4906de98625b96c7632dbeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:01:20 +00:00
Brandon Dayauon c59cb60314 Merge changes from topic "clean2" into tm-mainline-prod am: ad98954534
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395852

Change-Id: Iaa1d50dfd398b07f1a398f38923c88f3e41727a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:00:58 +00: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
Brandon Dayauon e3589debfd Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev 2022-04-06 20:41:24 +00:00
Brandon Dayauon ad98954534 Merge changes from topic "clean2" into tm-mainline-prod
* changes:
  [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15
  Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE
2022-04-06 20:41:24 +00:00
Brandon Dayauon 25425eb49e Merge changes from topic "clean2"
* changes:
  [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15 2p: 771acac97d
  [automerge] Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE 2p: d20011be15
  Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE
2022-04-06 20:41:24 +00:00
Android Build Coastguard Worker be9ba9a1fb Snap for 8414339 from c0ee52102b to tm-qpr1-release
Change-Id: Ie1e9feb2bdb13798be2bd2356782864c778c8865
2022-04-06 20:39:43 +00: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
Stefan Andonian f9df37796e Show an 'Undo' snackbar when users dismiss a predicted hotseat item. am: 510a818521 am: 1364e90d0d am: c0ee52102b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Change-Id: I18436387e7ae173b716fe5d1f05b6719a94d4882
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 18:33:32 +00: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
Stefan Andonian c0ee52102b Show an 'Undo' snackbar when users dismiss a predicted hotseat item. am: 510a818521 am: 1364e90d0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Change-Id: Ibb767776f9b367e4af7d1d0678022d28f046135a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 18:11:55 +00:00
Stefan Andonian 1364e90d0d Show an 'Undo' snackbar when users dismiss a predicted hotseat item. am: 510a818521
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Change-Id: I2f3b7b8e778ace8d280f2d4982416d2677d36968
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 17:50:50 +00: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
Presubmit Automerger Backend afeb386645 [automerge] Show an 'Undo' snackbar when users dismiss a predicted hotseat item. 2p: 510a818521
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Bug: 200841778
Change-Id: I6ad967a6e2a412611ad045854f699fc376d4dbac
2022-04-06 17:22:53 +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
Pat Manning eb923e829a Adjust workspace grid and cellLayout paddings. am: 08610ca583 am: 7cb2e47e87 am: 108a47587b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586931

Change-Id: Ia1daacb32c32eb94ce343a5e2835a4cdeb6da529
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 16:16:32 +00:00
Pat Manning 108a47587b Adjust workspace grid and cellLayout paddings. am: 08610ca583 am: 7cb2e47e87
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586931

Change-Id: Idb8149ad5ea8d9753256e64a6040656aca4ce4f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 15:55:38 +00:00
Pat Manning 7cb2e47e87 Adjust workspace grid and cellLayout paddings. am: 08610ca583
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586931

Change-Id: I549a28d042b0086b321a8af61665851c81303c05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 15:08:47 +00:00