Commit Graph

46097 Commits

Author SHA1 Message Date
Thiru Ramasamy bc0bce702e Add OneSearch SuggestionType enums to launcher atom.
Bug: 222001231
Test: wwdebug && wwlogcat - http://gpaste/6024652376768512
Change-Id: I6062a5fc6c4046521923f564b99a8150c561c0a2
2022-03-02 09:43:05 -08:00
TreeHugger Robot 7eb081dde4 Merge "Removing the Sunshine team from OWNERS." 2022-02-25 16:48:42 +00:00
Luca Zuccarini dfa9ee5ceb Merge "Ensure that the Hotseat respects the margins of the QSB." 2022-02-25 15:10:49 +00:00
Pierre Barbier de Reuille 01fb003246 Removing the Sunshine team from OWNERS.
We switched back to Digital Wellbeing.

Test: n/a
Change-Id: I98375788f66d3659cac3256f10cd8cd2bc19025e
2022-02-25 14:41:24 +00:00
Shikha Malhotra 20f1328b96 Top row of first workspace screen occupied only when QSB is placed at
the top.

This CL facilitates making the Feature Flag QSB_ON_FIRST_SCREEN as false
for LauncherLilyGoogle to make sure that that the top row on the first
screen is not blocked for QSB. Hinging it on BuildConfig allows it be
overwritten in LauncherLilyGoogle.

Bug: 208136186
Bug: 188511548

Test: Manually tested that top row of the first screen is not occupied
and does not clear the shortcuts after a power cycle for LauncherLilyGoogle.

Change-Id: I9113e2e2f2c0a160a2e1caf0ef3c5f86c6ec54b8
2022-02-25 13:31:23 +00:00
Luca Zuccarini 410c75a442 Ensure that the Hotseat respects the margins of the QSB.
Before this change they were ignored by onMeasure(), so that the QSB
couldn't rely on margins for its positioning.

Bug: 217477426
Test: manual
Change-Id: Ifecd3d40ea584273b7857d19b25a90dbafe1c656
2022-02-25 10:49:36 +00:00
Vadim Tryshev 0304d71224 [automerger skipped] Merge "Preparing to using "platform-test-rules" library from Launcher tests" into tm-dev am: 2107f059cb am: b493002709 -s ours
am skip reason: Merged-In I334b9f1029edbe8621df940900f43d0c5059373e with SHA-1 13839e4cc6 is already in history

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

Change-Id: Ie2c179c44df53f994ea0ec5c2bac5ab38bd96c13
2022-02-25 06:17:14 +00:00
Sunny Goyal 521ebd9f8a [automerge] Removing unnecessary AM.getTasks() call on every touch 2p: 8e5a164e05 am: c6aadf8a74 am: e2d9dde4b7 am: 709a053cc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17005155

Change-Id: I1d5beffcf6006eb46aecb98600f0e89c996c632c
2022-02-24 23:55:15 +00:00
Jeremy Sim 36c1b55ee8 Merge "Fix small positioning bug with DWB banner in landscape" 2022-02-24 21:38:25 +00:00
Vadim Tryshev e93ba9f54f [automerger skipped] Merge "Preparing to using "platform-test-rules" library from Launcher tests" into tm-dev am: 2107f059cb -s ours
am skip reason: Merged-In I334b9f1029edbe8621df940900f43d0c5059373e with SHA-1 d76d05162b is already in history

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

Change-Id: Ic0ccca909964989524265e81a2806a9dac436ce4
2022-02-24 20:39:09 +00:00
vadimt b91dee682c [automerger skipped] Preparing to using "platform-test-rules" library from Launcher tests am: 13839e4cc6 -s ours
am skip reason: Merged-In I334b9f1029edbe8621df940900f43d0c5059373e with SHA-1 d76d05162b is already in history

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

Change-Id: If040214e2c901bf70fc2397b52643b71471d5ecf
2022-02-24 20:39:08 +00:00
Sunny Goyal f9f86168ee [automerge] Removing unnecessary AM.getTasks() call on every touch 2p: 8e5a164e05 am: c6aadf8a74 am: e2d9dde4b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17005155

Change-Id: I9263f9ada30380f7f286dfbba2ec7f4943abcf49
2022-02-24 20:17:59 +00:00
Vadim Tryshev b493002709 Merge "Preparing to using "platform-test-rules" library from Launcher tests" into tm-dev am: 2107f059cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16978653

Change-Id: I874975bcce8f57bc250c9afc3c8d6e09bdfe3d3c
2022-02-24 20:17:25 +00:00
Sunny Goyal 709a053cc5 [automerge] Removing unnecessary AM.getTasks() call on every touch 2p: 8e5a164e05 am: c6aadf8a74 am: e2d9dde4b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17005155

Change-Id: Ie0a05ac4556b3009a14b1c554a2c8eb180b9c25e
2022-02-24 20:16:57 +00:00
Vadim Tryshev 2107f059cb Merge "Preparing to using "platform-test-rules" library from Launcher tests" into tm-dev 2022-02-24 20:10:00 +00:00
Sunny Goyal e2d9dde4b7 [automerge] Removing unnecessary AM.getTasks() call on every touch 2p: 8e5a164e05 am: c6aadf8a74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17005155

Change-Id: I60a003fb87f5788576104fc43c65c33ed4146865
2022-02-24 19:53:56 +00:00
TreeHugger Robot bec913cad9 Merge "Add extra logs for launcher not initialized" 2022-02-24 19:22:04 +00:00
Sunny Goyal c6aadf8a74 [automerge] Removing unnecessary AM.getTasks() call on every touch 2p: 8e5a164e05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17005155

Bug: 220906427
Change-Id: Iedf1d7086d1f9ee1ae167f2a975612de9c84521c
2022-02-24 17:41:01 +00:00
Sunny Goyal 8e5a164e05 Removing unnecessary AM.getTasks() call on every touch
Bug: 220906427
Test: Verified on device
Change-Id: I58ed22c4d6069f10198ec30ec02fa8c2f7c55cbe
(cherry picked from commit d2ec834fac)
2022-02-24 17:40:54 +00:00
Alex Chau 67d7be9c36 Add extra logs for launcher not initialized
- Add logs to figure out why launcher model is not loaded properly in a test

Bug: 215233405
Test: None
Change-Id: If9e6a18ed2955928fe4ad57e6d7aa34e39c32036
2022-02-24 16:28:54 +00:00
Bill Yi d3dbfc3782 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a2ba15674c am: 0189c940d0 -s ours am: 3159d7759f -s ours am: f75e058c12 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idd5fbad475e95ecd2cdaf94c4caf69d1a7f8655b
2022-02-24 15:03:51 +00:00
Bill Yi 23e0c77488 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a2ba15674c am: 0189c940d0 -s ours am: 3159d7759f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I96b9fa3b95274e0b3ba13d0c043f084d9b4d9ce9
2022-02-24 14:52:39 +00:00
Alex Chau 2910596f76 Merge "No longer stash taskbar when swiping up all apps" into tm-dev am: 21c63bc809 am: 16b26fe71a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16992837

Change-Id: I716c60d63e5067d23c3a471cd02c854381288782
2022-02-24 14:51:44 +00:00
Bill Yi f75e058c12 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a2ba15674c am: 0189c940d0 -s ours am: 3159d7759f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I01a307fa10a1c2b5368c5932e375c976e1b9aa2b
2022-02-24 14:17:29 +00:00
Alex Chau 98c5365a23 Merge "No longer stash taskbar when swiping up all apps" into tm-dev am: 21c63bc809
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16992837

Change-Id: I3964da2eeb546ff016e3e2f6c57a56b333267663
2022-02-24 14:16:56 +00:00
Alex Chau b9d7853106 Merge "Fix incorrect accessibility announcement on two panel home" into tm-dev am: 1c01af74c6 am: 3881d8c9b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16968684

Change-Id: I1bec337228ceb1782957a064edbaf0f6b7fb8740
2022-02-24 14:06:55 +00:00
Alex Chau c7d00cadde Merge "Fix incorrect accessibility announcement on two panel home" into tm-dev am: 1c01af74c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16968684

Change-Id: I90942e5d564e5a4c4b9197f36c2f38d745d13cb7
2022-02-24 14:06:24 +00:00
Bill Yi 3159d7759f [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: a2ba15674c am: 0189c940d0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia367dc93a11aa301cac6ce1e137e9582c5bcc7ba
2022-02-24 13:52:40 +00:00
Alex Chau e66e514ffa Merge changes from topic "presubmit-am-952ee9e047b74f5a98db7eb7aea662e4" into tm-mainline-prod am: 7a0fc8b148
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16968684

Change-Id: I3dd40ebf606a213b6fc2550839638fe3a22205c9
2022-02-24 13:19:29 +00:00
Alex Chau 16b26fe71a Merge "No longer stash taskbar when swiping up all apps" into tm-dev am: 21c63bc809
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16992837

Change-Id: Id9bf162886e2cfa93039dc731b45136bfda68830
2022-02-24 12:14:01 +00:00
Alex Chau 3881d8c9b6 Merge "Fix incorrect accessibility announcement on two panel home" into tm-dev am: 1c01af74c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16968684

Change-Id: I1284e605ca38856d63836b81d76a5095102d5241
2022-02-24 12:13:30 +00:00
Alex Chau 21c63bc809 Merge "No longer stash taskbar when swiping up all apps" into tm-dev 2022-02-24 11:59:57 +00:00
Alex Chau 1c01af74c6 Merge "Fix incorrect accessibility announcement on two panel home" into tm-dev 2022-02-24 11:51:59 +00:00
Alex Chau ae22b4ef92 Merge changes from topic "presubmit-am-952ee9e047b74f5a98db7eb7aea662e4"
* changes:
  [automerge] Fix incorrect accessibility announcement on two panel home 2p: 2dacbee028 2p: 9e2f80ef75
  [automerge] Fix incorrect accessibility announcement on two panel home 2p: 2dacbee028
  Fix incorrect accessibility announcement on two panel home
2022-02-24 11:51:59 +00:00
Alex Chau 7a0fc8b148 Merge changes from topic "presubmit-am-952ee9e047b74f5a98db7eb7aea662e4" into tm-mainline-prod
* changes:
  [automerge] Fix incorrect accessibility announcement on two panel home 2p: 2dacbee028
  Fix incorrect accessibility announcement on two panel home
2022-02-24 11:51:59 +00:00
Mady Mellor b4910cc84a Merge "Add a reason to the broadcast to collapse system dialogs" into tm-dev am: 57eab45996 am: 582e1db506
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16940036

Change-Id: Iad1af2089ea65d2d9f2b4d398f941504f6a132fe
2022-02-24 03:21:22 +00:00
Mady Mellor 4ce7e7362a Merge "Add a reason to the broadcast to collapse system dialogs" into tm-dev am: 57eab45996
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16940036

Change-Id: I011d6f76579efdf3868cd168ca981ec7dfe45bcb
2022-02-24 03:16:38 +00:00
Jeremy Sim 87fad7b984 Fix small positioning bug with DWB banner in landscape
The DWB banner is now positioned correctly when the task thumbnail is set as a secondary split view.

Fixes: 220637396
Test: Manual testing on local Pixel 6
Change-Id: I3bcb0eb09d2a607b2891bc9f63f3a0b03668f48e
2022-02-23 18:35:47 -08:00
Mady Mellor 582e1db506 Merge "Add a reason to the broadcast to collapse system dialogs" into tm-dev am: 57eab45996
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16940036

Change-Id: I87133e7e5fca6d967fcc6eb44f0d02abd799b08b
2022-02-24 01:35:38 +00:00
Mady Mellor 57eab45996 Merge "Add a reason to the broadcast to collapse system dialogs" into tm-dev 2022-02-24 01:30:11 +00:00
TreeHugger Robot 3c4f8e3e0e Merge "Use color tokens for all apps entry buttons." into tm-dev am: 582ab494dc am: 952d4defeb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16991026

Change-Id: I3bd5a2046e927f729b610d7f8a0ba3a5224340c7
2022-02-24 00:57:23 +00:00
TreeHugger Robot e8d9e2df32 Merge "Removing unnecessary AM.getTasks() call on every touch" into tm-dev am: dde28b487e am: a990ecdbcd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16992834

Change-Id: I97c3989dcd6f1eb7448b16d7bd36c612f1f48282
2022-02-24 00:42:05 +00:00
TreeHugger Robot 355a5fa8df Merge "Removing unnecessary AM.getTasks() call on every touch" into tm-dev am: dde28b487e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16992834

Change-Id: Iddfb185ad56ff1a7f0d5211ef5b1bbf403b2939e
2022-02-24 00:41:18 +00:00
TreeHugger Robot 952d4defeb Merge "Use color tokens for all apps entry buttons." into tm-dev am: 582ab494dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16991026

Change-Id: Ic8efa2a0b6caae7c591294a1b9bdb198975c2bd0
2022-02-24 00:08:03 +00:00
TreeHugger Robot 582ab494dc Merge "Use color tokens for all apps entry buttons." into tm-dev 2022-02-24 00:07:47 +00:00
TreeHugger Robot a990ecdbcd Merge "Removing unnecessary AM.getTasks() call on every touch" into tm-dev am: dde28b487e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16992834

Change-Id: I01c0a696071aeaeb118d96f09c0b5db31b4c809a
2022-02-24 00:07:02 +00:00
TreeHugger Robot dde28b487e Merge "Removing unnecessary AM.getTasks() call on every touch" into tm-dev 2022-02-23 23:38:14 +00:00
Presubmit Automerger Backend fbe267a6db [automerge] Fix incorrect accessibility announcement on two panel home 2p: 2dacbee028 2p: 9e2f80ef75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16968684

Bug: 200009004
Change-Id: I08eac641bbc74db49e4f98c3f2ddf24c7088f65c
2022-02-23 23:00:36 +00:00
Presubmit Automerger Backend 9e2f80ef75 [automerge] Fix incorrect accessibility announcement on two panel home 2p: 2dacbee028
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16968684

Bug: 200009004
Change-Id: I80c2c625a76ae95e7987f345a80070d2b39c26d5
2022-02-23 23:00:31 +00:00
Andras Kloczl 2dacbee028 Fix incorrect accessibility announcement on two panel home
- Divide total pages by panelCount if two panel is active
- Increment target column when moving an item to right panel

Test: manual
Bug: 200009004
Change-Id: Ia8d2d760dc5e8b413e5b1150c049f7fa3ec26513
2022-02-23 22:35:12 +00:00