Commit Graph

60459 Commits

Author SHA1 Message Date
Jon Miranda b5487e82ab Merge "Never look for matching view in All Apps when swiping up to go home." into sc-v2-dev am: 8f82208a5e am: 47399b76e6 am: 88ba6f8f5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17156660

Change-Id: Ia2b85d3c265f5b9ac37b4954a62063ebd6a22b2b
2022-03-15 19:34:38 +00:00
Jon Miranda 7bbcc1b390 Merge changes from topic "presubmit-am-a0fe463985e8453c9c1e5b6ccc543c8b-sc-v2-dev" into sc-v2-dev-plus-aosp am: ba3ca2f57f am: 439567c79a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17156660

Change-Id: Iae0eea85f04b06a75e0ad72bf19bbf98bc6c7b34
2022-03-15 19:34:05 +00:00
Jon Miranda 45a8d27de1 Merge changes from topic "presubmit-am-a0fe463985e8453c9c1e5b6ccc543c8b-sc-v2-dev" into sc-v2-dev-plus-aosp am: ba3ca2f57f am: 439567c79a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17156660

Change-Id: I3e503ae429c727c26f834e4c76ca3316217b1b41
2022-03-15 19:33:41 +00:00
TreeHugger Robot d21c51c932 Merge "Remove ENABLE_ONE_SEARCH" into tm-dev 2022-03-15 19:26:39 +00:00
Jon Miranda 88ba6f8f5b Merge "Never look for matching view in All Apps when swiping up to go home." into sc-v2-dev am: 8f82208a5e am: 47399b76e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17156660

Change-Id: I795a2702323dac62ef4a23daebafc39485f8dfcc
2022-03-15 18:41:23 +00:00
Jon Miranda 439567c79a Merge changes from topic "presubmit-am-a0fe463985e8453c9c1e5b6ccc543c8b-sc-v2-dev" into sc-v2-dev-plus-aosp am: ba3ca2f57f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17156660

Change-Id: Ia80fede7fdcf177c665398f7e809cc3418ac47d6
2022-03-15 18:41:16 +00:00
Jon Miranda 47399b76e6 Merge "Never look for matching view in All Apps when swiping up to go home." into sc-v2-dev am: 8f82208a5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17156660

Change-Id: I0787a0e03de45ff9c395e0d52f714101fffdf9c7
2022-03-15 18:40:20 +00:00
Jon Miranda 8f82208a5e Merge "Never look for matching view in All Apps when swiping up to go home." into sc-v2-dev 2022-03-15 18:13:29 +00:00
Jon Miranda ba3ca2f57f Merge changes from topic "presubmit-am-a0fe463985e8453c9c1e5b6ccc543c8b-sc-v2-dev" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Never look for matching view in All Apps when swiping up to go home. 2p: b2068f2eda
  Never look for matching view in All Apps when swiping up to go home.
2022-03-15 18:13:29 +00:00
kholoud mohamed e210b47c20 RESTRICT AUTOMERGE Moved enteprise resource updatability to Launcher3
Bug: 217388602
Bug: 218875965
Test: atest EnterpriseResourcesTests
Test: manual
Change-Id: I095a1da30766e4b4eab33f42b034601b3322eb3d
2022-03-15 17:24:04 +00:00
Alex Chau d5859e80d7 Change grid migration to start from top to bottom
Fix: 222236363
Test: GridSizeMigrationTaskV2Test
Test: 4x4 -> 4x5/5x5 migration, 5x5 -> 4x5/4x4 migration
Change-Id: Id5d87b5d0bf9d7cc9154de81dd5edfb0ca9fa633
2022-03-15 17:21:24 +00:00
Jon Miranda fe74997235 Fix NPE in BubbleTextView
- Icon can be null when we use BTV for text only

Bug: 223809081
Test: manual
Change-Id: I9efd8e4b420127beb249b20e71ae37c359bb6467
2022-03-15 10:02:39 -07:00
Andras Kloczl 142b054e06 Tune widget picker bottom sheet VisD for large screen
Test: Open widget picker by long pressing the home screen.
Open app specific widget picker by long pressing an app icon
that has widgets. Try both landscape and portrait, also on
phone/tablet/foldable.
Bug: 214215594

Change-Id: I7b4b3a8d7421f1d4df84d49a18b465693a17bd7b
2022-03-15 14:01:59 +00:00
Android Build Coastguard Worker 48ce787af2 Snap for 8298157 from 8cb2364c1a to tm-release
Change-Id: I91a304a567869055985faa470ae5956e0042fc3b
2022-03-15 01:08:27 +00:00
TreeHugger Robot 55cfa5dc09 Merge "Pass in dbFile from idpGridState for grid migration" into tm-dev am: deae9343be am: 2b8e4e6cfb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17123550

Change-Id: I158ed4d3948ca11190344bf943b89bd2a196fa9a
2022-03-14 22:25:03 +00:00
Schneider Victor-tulias 0cde81a5d2 Fix failing test TaplTaskbarTest#testHideShowTaskbar
Closing the Taskbar all apps page doesn't automatically close any open popup menus. This lead to the popup menu opened in TaplTaskbarTests#testOpenMenu_FromTaskbarAllApps remaining open after going home in setUp (before running TaplTaskbarTest#testHideShowTaskbar). The the workspace is not visible to the tests while the popup menu is open, so this test would consistenly fail.

Bug: 215218813
Fixes: 224597087
Test: Ran tests locally and remotely
Change-Id: I81d8eb1e99a264611749eb3c508f707988c0fcb1
2022-03-14 22:19:12 +00:00
TreeHugger Robot 2b8e4e6cfb Merge "Pass in dbFile from idpGridState for grid migration" into tm-dev am: deae9343be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17123550

Change-Id: Id3eab5daa3be86fa8c463ea29e59a9c7e5700097
2022-03-14 21:59:53 +00:00
TreeHugger Robot 50ae263c23 Merge "Pass in dbFile from idpGridState for grid migration" into tm-dev am: deae9343be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17123550

Change-Id: I937891cc342d250fd4e57383acbc620682bac982
2022-03-14 21:59:23 +00:00
TreeHugger Robot ac1420cfe3 Merge "Renaming LauncherInstrumentation.pressHome to goHome" into tm-dev am: 8cb2364c1a am: 4e130a995c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17128893

Change-Id: I7bba5eb3faa3a480140edf5b467c06ebdf9cfb5c
2022-03-14 21:35:28 +00:00
TreeHugger Robot deae9343be Merge "Pass in dbFile from idpGridState for grid migration" into tm-dev 2022-03-14 21:33:16 +00:00
TreeHugger Robot b7810a041b Merge "Renaming LauncherInstrumentation.pressHome to goHome" into tm-dev am: 8cb2364c1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17128893

Change-Id: I6d6c71f8721e9907ad46ba88d8b84fd9881d42db
2022-03-14 21:10:48 +00:00
TreeHugger Robot 4e130a995c Merge "Renaming LauncherInstrumentation.pressHome to goHome" into tm-dev am: 8cb2364c1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17128893

Change-Id: I51f169e47e08e0e43c1cdb7dd7ceea2a7074c205
2022-03-14 21:10:25 +00:00
TreeHugger Robot 8cb2364c1a Merge "Renaming LauncherInstrumentation.pressHome to goHome" into tm-dev 2022-03-14 20:37:06 +00:00
Schneider Victor-tulias b82d945953 Add event tracking to the gesture navigation tutorial.
- Added logs for tutorial step shown/completed and for tutorial skip.
- Added shared preference tracking for tutorial steps completed and for tutorial skip.

Bug:
Test: manual
Change-Id: I47dbdb394db80c5687e98fb034a3883b33f6fd3c
2022-03-14 13:14:05 -07:00
Merissa Tan 5836e3802b Merge "Add running apps icons to taskbar for desktop environment." 2022-03-14 18:18:33 +00:00
vadimt 41c0b52cd9 Renaming LauncherInstrumentation.pressHome to goHome
This is a better name now that we have gestural nav.

Renaming will happen in stages, the first one being having 2 names side-by-side.

Test: presubmit
Bug: 187761685
Change-Id: Ifb15c838cc0e161d852cf6df025687e3f92d6124
2022-03-14 18:13:47 +00:00
Shikha Malhotra 0b827d4d27 Merge "Top row of first workspace screen occupied only when QSB is placed at the top." into tm-dev am: 763fd21b34 am: eca7bb35f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17155007

Change-Id: I61c6c0e49fa4d28b3fa43980b2607c76dfb8baf2
2022-03-14 17:26:43 +00:00
Shan Huang 4b1f672cf8 Merge "Clear back callback in SystemUiProxy." into tm-dev am: b6ff87bb99 am: 4be5acc273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17169107

Change-Id: Ib2b9d173b955aa8b22e4f514d0cd75cf0ff143de
2022-03-14 17:26:29 +00:00
Shikha Malhotra eca7bb35f8 Merge "Top row of first workspace screen occupied only when QSB is placed at the top." into tm-dev am: 763fd21b34
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17155007

Change-Id: I11b05218a455b80e2fd1b29398f8540229a7675f
2022-03-14 17:03:21 +00:00
Shikha Malhotra 163ffdca00 Merge "Top row of first workspace screen occupied only when QSB is placed at the top." into tm-dev am: 763fd21b34
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17155007

Change-Id: I41974ed1463d95451a7c62f21f4bbaf092cea9f9
2022-03-14 17:03:13 +00:00
Shan Huang 4be5acc273 Merge "Clear back callback in SystemUiProxy." into tm-dev am: b6ff87bb99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17169107

Change-Id: Ie4c9579e315c5add2531d85c1f971ba56f05f622
2022-03-14 17:02:50 +00:00
Shan Huang aa358e2a35 Merge "Clear back callback in SystemUiProxy." into tm-dev am: b6ff87bb99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17169107

Change-Id: Ibc448746886bdfcd70513fa7032fe1988e580352
2022-03-14 17:02:33 +00:00
Shikha Malhotra 763fd21b34 Merge "Top row of first workspace screen occupied only when QSB is placed at the top." into tm-dev 2022-03-14 16:53:01 +00:00
Shan Huang b6ff87bb99 Merge "Clear back callback in SystemUiProxy." into tm-dev 2022-03-14 16:29:25 +00:00
Alex Chau e4c7099b26 Merge "Use overview_actions_height from Resources to calculate OverviewActionsView alignment" into tm-dev am: 85978e7dc8 am: 9142cd1aa2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17158485

Change-Id: I97e359bbaff43c0329e149b48fe28233470902f9
2022-03-14 12:11:35 +00:00
Alex Chau 9142cd1aa2 Merge "Use overview_actions_height from Resources to calculate OverviewActionsView alignment" into tm-dev am: 85978e7dc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17158485

Change-Id: I5643ac17c9fe93450c33e816bdb86f9e1d2175fe
2022-03-14 11:49:27 +00:00
Alex Chau 93f20f0482 Merge "Use overview_actions_height from Resources to calculate OverviewActionsView alignment" into tm-dev am: 85978e7dc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17158485

Change-Id: I3dfcd6134297b74e27c831cd32a9ca3cfacf7d6d
2022-03-14 11:49:13 +00:00
Alex Chau 85978e7dc8 Merge "Use overview_actions_height from Resources to calculate OverviewActionsView alignment" into tm-dev 2022-03-14 11:21:32 +00:00
Android Build Coastguard Worker be8450f004 Snap for 8292183 from 635fa756eb to tm-release
Change-Id: I5f68a3eb1ef2d302ee0f818fa87913a31fb64dfa
2022-03-12 04:08:43 +00:00
Android Build Coastguard Worker c9a8e0ddd9 Snap for 8291837 from f6365d5b85 to sc-qpr3-release
Change-Id: Ic8b40aaaec4d5d59c5125576e2f0342044617a8b
2022-03-12 02:07:43 +00:00
Shan Huang b960ea2be1 Clear back callback in SystemUiProxy.
Bug: 223955009
Test: atest com.android.launcher3.jank.BinderTests#testPressHome

Change-Id: I00197732a6e50c0907afecff497702fc4b799925
2022-03-11 18:03:52 +00:00
Hyunyoung Song aed4675433 Remove ENABLE_ONE_SEARCH
TL;DR;;
It's no longer bound to the lifecycle of application

Bug: 223750757
Bug: 221956299

Test: device_config commands

Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
Change-Id: I044bf00fe7272439d2ed4def419f91b4d786fb7a
2022-03-11 09:50:05 -08:00
Shikha Malhotra 7884332174 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-03-11 13:04:55 +00:00
Presubmit Automerger Backend 6f6ccb018a [automerger skipped] [automerge] Add debug logs for bad launcher state. 2p: f6365d5b85 am: 8e8638d83f -s ours am: 635fa756eb -s ours am: 7ea00a62ed -s ours
am skip reason: Merged-In I138a7ab031269009fa8ca492cd0bd48085aa4e68 with SHA-1 7ebe209c21 is already in history

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

Change-Id: I8fdf078dff18914bb9c769d5095c7fcd4f26eac2
2022-03-11 07:44:24 +00:00
Presubmit Automerger Backend c129741465 [automerger skipped] [automerge] Add debug logs for bad launcher state. 2p: f6365d5b85 am: 8e8638d83f -s ours am: 635fa756eb -s ours
am skip reason: Merged-In I138a7ab031269009fa8ca492cd0bd48085aa4e68 with SHA-1 7ebe209c21 is already in history

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

Change-Id: I2a3ddc688ecc697d19c5907bb4082cce6f9e3239
2022-03-11 07:21:50 +00:00
Presubmit Automerger Backend 7ea00a62ed [automerger skipped] [automerge] Add debug logs for bad launcher state. 2p: f6365d5b85 am: 8e8638d83f -s ours am: 635fa756eb -s ours
am skip reason: Merged-In I138a7ab031269009fa8ca492cd0bd48085aa4e68 with SHA-1 7ebe209c21 is already in history

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

Change-Id: I99f5290a9459c97cca467b4c46899c3f7e54b62b
2022-03-11 07:20:25 +00:00
Hyunyoung Song 7016f34f09 Merge "Revert "Add entry and cursor location in GetSuggestionRequest"" into tm-dev am: 234b1e0655 am: 59490e4165
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17159789

Change-Id: Ibdf7bf0a8cd9e2d084b0157076bcde9a2398c7a8
2022-03-11 07:10:08 +00:00
Presubmit Automerger Backend 635fa756eb [automerger skipped] [automerge] Add debug logs for bad launcher state. 2p: f6365d5b85 am: 8e8638d83f -s ours
am skip reason: Merged-In I138a7ab031269009fa8ca492cd0bd48085aa4e68 with SHA-1 7ebe209c21 is already in history

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

Change-Id: I6047ab7651986979d7154c11006a512fa16facdf
2022-03-11 06:58:37 +00:00
Hyunyoung Song 59490e4165 Merge "Revert "Add entry and cursor location in GetSuggestionRequest"" into tm-dev am: 234b1e0655
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17159789

Change-Id: Ie6d98ec67e2a4efa9c862e7d0a9c2458e58b1928
2022-03-11 06:47:34 +00:00
Hyunyoung Song 0cd7503b2e Merge "Revert "Add entry and cursor location in GetSuggestionRequest"" into tm-dev am: 234b1e0655
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17159789

Change-Id: I5c75ea97fec997cd1a968812cda8167d29763894
2022-03-11 06:47:34 +00:00