Commit Graph

11114 Commits

Author SHA1 Message Date
Becky Qiu c93289b452 Merge "[Avocado] Use device config for arm2 flags instead." into tm-dev am: 025bf08e2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17211857

Change-Id: I9d70050cfbd326d510411a760f8e5d02ffeaa74c
2022-03-17 07:04:37 +00:00
Becky Qiu 025bf08e2f Merge "[Avocado] Use device config for arm2 flags instead." into tm-dev 2022-03-17 06:39:54 +00:00
Alex Chau fbadb4242f Merge "Change grid migration to start from top to bottom" into tm-dev am: 3e40089771
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17196747

Change-Id: Idb9c36e4d9bc407058f3a065166956295f26f300
2022-03-16 18:35:41 +00:00
Alex Chau 3e40089771 Merge "Change grid migration to start from top to bottom" into tm-dev 2022-03-16 18:12:13 +00:00
Becky Qiu 85025d248d [Avocado] Use device config for arm2 flags instead.
Bug: 224861508
Test: manual
Change-Id: Ib42ddb3808cf84ed1511754bf3f8bbcf5d100894
2022-03-15 17:13:56 -07:00
TreeHugger Robot 25e7fcc4e8 Merge "Close taskbar all apps on popup notification and app info shortcut tap." into tm-dev am: 8dff7ca830
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17161970

Change-Id: I538e215749a029c01c1de4743e3a025b902b0dab
2022-03-15 23:18:31 +00:00
TreeHugger Robot 8dff7ca830 Merge "Close taskbar all apps on popup notification and app info shortcut tap." into tm-dev 2022-03-15 22:57:20 +00:00
TreeHugger Robot 197e312b9d Merge "Fix NPE in BubbleTextView" into tm-dev am: 2f06a23ed7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17199276

Change-Id: Ia4f6cffbd125dcda1240e0c6de636e856ef4fd49
2022-03-15 22:38:51 +00:00
TreeHugger Robot ff04c118c3 Merge "Add event tracking to the gesture navigation tutorial." into tm-dev am: e0380381b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17127449

Change-Id: I4f23193e75ee759f60f9550a8207ba8583205156
2022-03-15 22:38:13 +00:00
TreeHugger Robot 2f06a23ed7 Merge "Fix NPE in BubbleTextView" into tm-dev 2022-03-15 22:18:02 +00:00
TreeHugger Robot e0380381b7 Merge "Add event tracking to the gesture navigation tutorial." into tm-dev 2022-03-15 22:12:29 +00:00
TreeHugger Robot d74bff7c1e Merge "Tune widget picker bottom sheet VisD for large screen" into tm-dev am: b66fc8b145
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17133671

Change-Id: I077864277a1eac31978c3ca077714b8abc811e15
2022-03-15 21:58:12 +00:00
TreeHugger Robot b66fc8b145 Merge "Tune widget picker bottom sheet VisD for large screen" into tm-dev 2022-03-15 21:33:50 +00:00
Jeremy Sim 1d6b7f2abf Fix issue with split thumbnails overflowing during rotation
Fixes a set of issues in Overview where you could cause split thumbnails to overflow their contents into each other by rotating the phone in certain ways.

The issue occurred because StagedSplitBounds objects have their height and width assigned differently depending on if they were created while the phone was in portrait or landscape.

Fixed by adding a conditional check in PortraitPagedViewHandler#setSplitTaskSwipeRect and LandscapePagedViewHandler#setSplitTaskSwipeRect.

Fixes: 218784856
Fixes: 218779313

Test: Manual on local devices
Change-Id: I04b4f4344250da34616ab1744af22fa41b9aba9b
2022-03-15 20:10:09 +00:00
TreeHugger Robot 5811c2ff94 Merge "Remove ENABLE_ONE_SEARCH" into tm-dev am: d21c51c932
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17168870

Change-Id: I01cc2c25aee574ef075037b19a1d87f39d8beb5d
2022-03-15 19:35:59 +00:00
TreeHugger Robot d21c51c932 Merge "Remove ENABLE_ONE_SEARCH" into tm-dev 2022-03-15 19:26:39 +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
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 deae9343be Merge "Pass in dbFile from idpGridState for grid migration" into tm-dev 2022-03-14 21:33:16 +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
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
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
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
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
Hyunyoung Song 234b1e0655 Merge "Revert "Add entry and cursor location in GetSuggestionRequest"" into tm-dev 2022-03-11 06:26:04 +00:00
TreeHugger Robot 8fa67d057d Merge "Update using tabs boolean immediately if it changes." into tm-dev am: 3b6ba0d252
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17087514

Change-Id: Id9805ec1f8fd95461ef6cc6c7e1d41ed381b1e5b
2022-03-11 02:32:27 +00:00
TreeHugger Robot 3b6ba0d252 Merge "Update using tabs boolean immediately if it changes." into tm-dev 2022-03-11 02:28:52 +00:00
TreeHugger Robot e21f325530 Merge "Add taskbar TAPL tests" into tm-dev am: 6b7e469088
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17016894

Change-Id: I94952522f2b8c4355f04ecedc5a620ffc2601f6d
2022-03-11 00:26:40 +00:00
TreeHugger Robot 6b7e469088 Merge "Add taskbar TAPL tests" into tm-dev 2022-03-11 00:00:36 +00:00
Brian Isganitis 84da9622d7 Close taskbar all apps on popup notification and app info shortcut tap.
Test: Manual
Fix: 223659756
Change-Id: I84fd8cd84ccdce5f51874d7356cafac9bfa92004
2022-03-10 15:27:14 -08:00
Jon Miranda 50b532aa46 Merge "Add debug logs for bad launcher state." into tm-dev am: e8b174482d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17155096

Change-Id: I9eb4f460511cdc038bbb3a6cc0f655b729442332
2022-03-10 22:22:40 +00:00
Jon Miranda e8b174482d Merge "Add debug logs for bad launcher state." into tm-dev 2022-03-10 22:03:37 +00:00
Schneider Victor-tulias fb252e7ce1 Add taskbar TAPL tests
- Added TAPL objects to support TAPL tests for taskbar features
- Added tests for major taskbar features: hiding/showing the taskbar, opening all apps, lauching apps and app deep shortcuts from the taskbar/all apps page, launching apps and app deep shortcuts in splitscreen
- These tests should only run for large devices

Design: go/taskbar-tapl-tests
Test: ran tests locally with invalid configurations and remotely
Bug: 215218813
Change-Id: I3c28c339707467414aa47fa633f87fa0c1fdee57
2022-03-10 13:02:35 -08:00
Jon Miranda 7ebe209c21 Add debug logs for bad launcher state.
Bug:223498680
Bug:221658803

Test: manual
Change-Id: I138a7ab031269009fa8ca492cd0bd48085aa4e68
2022-03-10 20:25:38 +00:00
Alex Chau 19c6eca5c5 Use overview_actions_height from Resources to calculate OverviewActionsView alignment
- startActionView.getHeight() isn't ready when updatePaddingAndTranslations is called, so use overview_actions_height from Resources through DeviceProfile instead.

Fix: 218442870
Test: Restart launcher, go to overveiw from app, rotate and rotate back, overview actions stays in same position
Change-Id: Ia5e234f73100a2f418c17222145a8f993cbfab8a
2022-03-10 20:16:59 +00:00
Sam Gilbert 355bd482c8 Revert "Add entry and cursor location in GetSuggestionRequest"
Revert submission 17128079-suggestionentry

Reason for revert: test monitor determined it broke tests: b/223859070
Reverted Changes:
I838896e2f:Add entry and cursor location in GetSuggestionRequ...
Ic9f5dd35b:Add cursorLocation and entry to GetSuggestRequest

Change-Id: I8a15f61c5ddb37b26d3e06de25f0d5b5b5c89abc
2022-03-10 19:48:31 +00:00
Jon Miranda 5df3ca4cae Merge "Never look for matching view in All Apps when swiping up to go home." into tm-dev am: 7db484396a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17128401

Change-Id: I862e97d22bbd7f7211fe4046bb84d4d04ae6d74b
2022-03-10 19:16:32 +00:00
Jon Miranda 7db484396a Merge "Never look for matching view in All Apps when swiping up to go home." into tm-dev 2022-03-10 18:46:51 +00:00
TreeHugger Robot 7fb122cee4 Merge "Revert "Add extra logs for launcher not initialized"" 2022-03-10 18:23:21 +00:00
Hyunyoung Song 07fee0c41d Merge "Add entry and cursor location in GetSuggestionRequest" into tm-dev am: 968c32563f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17128884

Change-Id: I1d3f08f8a9ae25783e402c9b53b1d08b73463fa9
2022-03-10 17:00:25 +00:00
Alex Chau fa8d8985b9 Revert "Add extra logs for launcher not initialized"
This reverts commit 67d7be9c36.

Reason for revert: test failure is fixed
Bug: 215233405

Change-Id: Ic16c0ed590c9922ff659489ac6ec09d893b60557
2022-03-10 12:03:11 +00:00
Hyunyoung Song e395453bd9 Add entry and cursor location in GetSuggestionRequest
Bug: 223728521
Test: manual
Change-Id: I838896e2fad2d37c22e665473d59cc1b2c9a14d7
2022-03-09 22:21:50 -08:00
TreeHugger Robot bc01397411 Merge "Fixes a list equality check and adds a refreshResults() method." into tm-dev am: e2b514178d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17132812

Change-Id: I2313b97c8b964d9a2787bb7728bb8b7e6948a451
2022-03-10 04:39:38 +00:00
Andy Wickham 2efb7b6247 Fixes a list equality check and adds a refreshResults() method.
Previously, the lists being compared could point to the same
object (e.g. from a separate class like ZeroStateResultProvider),
thus always being equal. This prevented the RecyclerView from
updating in certain cases.

Also added an option new method to SearchUiManager which can be
used to trigger a refresh.

Bug: 207651359
Test: Manual
Change-Id: I9c7f02fcd9dfb91326eccf1d4eb8692904702ab0
2022-03-09 17:17:24 -08:00
Brian Isganitis d6930d9a88 Merge "Add support for dedicated executors for package tasks." into tm-dev am: 5b79bbbcbc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109002

Change-Id: Ic02029008eaaa08344f3d8b88a04553414b60dcb
2022-03-10 00:40:06 +00:00
Abhilasha Chahal fa71aec80a Merge "Revert "Revert "Extract out common adapter logic to support diff..."" into tm-dev am: c7115ec833
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17133627

Change-Id: Ia1550660d2c29c707a383b57c6c5d481e2c1f9ba
2022-03-10 00:39:47 +00:00