Commit Graph
30738 Commits
Author SHA1 Message Date
Hyunyoung Song 056b648136 Merge "Fix persistent device search edu" into sc-dev am: 564ae64e04
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13419784

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I27875b91cb1928b5bba0f4ed537e7cf1c23d0c16
2021-01-28 22:43:27 +00:00
Hyunyoung Song 564ae64e04 Merge "Fix persistent device search edu" into sc-dev 2021-01-28 22:24:47 +00:00
TreeHugger Robot 180cd7aa9c Merge "Refactoring startShareActivity to allow crop to be passed in." into sc-dev am: 6a53655df5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420561

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id76b55a007317b0815f7edb7d7daa931f951fc4e
2021-01-28 20:44:17 +00:00
TreeHugger Robot 6a53655df5 Merge "Refactoring startShareActivity to allow crop to be passed in." into sc-dev 2021-01-28 19:28:14 +00:00
TreeHugger Robot d748049ab1 Merge "Skipping swipe metrics if recents view doesn't exist" into sc-dev am: 61096e9ba6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13422838

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic4f2b7ec5b920c0646506040ffb79d8355bae1f6
2021-01-28 19:01:25 +00:00
TreeHugger Robot 61096e9ba6 Merge "Skipping swipe metrics if recents view doesn't exist" into sc-dev 2021-01-28 18:51:58 +00:00
TreeHugger Robot 903d8c0fd6 Merge "Updating ItemInfoMatcher to work with java streams" into sc-dev am: 7e27c18755
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420186

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iebef3d4b33135e7c3bf51a905ec49aede1b0afa7
2021-01-28 18:33:05 +00:00
TreeHugger Robot 7e27c18755 Merge "Updating ItemInfoMatcher to work with java streams" into sc-dev 2021-01-28 18:06:38 +00:00
Samuel Fufa e64323b68d Migrate Widgets to new Search API am: 7c1e37cce1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420066

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I69d4b2bbf792bda8a5a19086ed5ecafca13233ce
2021-01-28 16:04:35 +00:00
Samuel Fufa 7c1e37cce1 Migrate Widgets to new Search API
Test: Manual

Bug: 168321831
Bug: 177223401
Change-Id: Ide276002a47f2345fbe535adbcb3acdc2fbc1233
2021-01-28 06:15:47 -06:00
Hyunyoung Song bf2ce3a486 Turn ENABLE_DEVICE_SEARCH to DeviceConfig flag am: f1bcf7a4dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13419158

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3e6ccf817de9e49efad39897638b7693831df73e
2021-01-28 10:16:57 +00:00
Hyunyoung Song f1bcf7a4dd Turn ENABLE_DEVICE_SEARCH to DeviceConfig flag
Change-Id: I6e161bf36b315613bd2f13886cf4ef50470469b0
(cherry picked from commit 650fe52313)
2021-01-28 09:57:04 +00:00
Tracy Zhou 76d78137d8 Fix missing grid for devices that upgrade from R am: a62e49b365 am: 3977aa6014 am: 3159909d12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420191

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ieedaa1ae5ee731f19d5613d86cf3da86df58c704
2021-01-28 04:26:40 +00:00
Tracy Zhou 3159909d12 Fix missing grid for devices that upgrade from R am: a62e49b365 am: 3977aa6014
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420191

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I42dbaa0ffe135ade9f1c2ade3dbc9a52a9324214
2021-01-28 03:58:23 +00:00
Tracy Zhou 3977aa6014 Fix missing grid for devices that upgrade from R am: a62e49b365
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420191

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id968c2fe398e1ff8ce8425804c0f7e20fdfd1b28
2021-01-28 03:11:28 +00:00
vadimt 068de1685c Skipping swipe metrics if recents view doesn't exist
This will skip generating metrics for fallback recents,
which is not a big loss

Test: manual
Bug: 177472265
Change-Id: I0e167ddc3276246510ea5a22ba04dfd53a8d4eac
2021-01-27 18:42:21 -08:00
TreeHugger Robot a610d431bb Merge "Fix missing grid for devices that upgrade from R" into sc-dev am: db46688e65
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420189

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6c533b724b225733007595829e1219eb65d6bab9
2021-01-28 02:40:26 +00:00
TreeHugger Robot db46688e65 Merge "Fix missing grid for devices that upgrade from R" into sc-dev 2021-01-28 02:22:12 +00:00
TreeHugger Robot 4e58b89a27 Merge "Inherit theme colors on app drawer and folder" into sc-dev am: fbc987496e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13418340

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icc586e2b46f34f0b6ed468b4e82e88d84d23aa74
2021-01-28 00:09:42 +00:00
TreeHugger Robot 62b6a9e3cd Merge "Support ACTION/THUMBNAIL/SUGGEST corpus for rendering rendering" into sc-dev am: 81d20f7678
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13414957

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idf48e0f1d13ab2f1080309be1e74c195d4b866d8
2021-01-28 00:09:08 +00:00
Tracy Zhou b407614c0a Temporary fix to disable task#onClickListener during transition to overview am: 15b0f700fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13418432

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I33a7732902dffc5789aa33ebf90c93a2b5e5bdbb
2021-01-28 00:08:55 +00:00
Sreyas e7915e138d Refactoring startShareActivity to allow crop to be passed in.
This is necessary to start a share activity based on a single image from Launcher.
Bug: 169772466, 169799864

Change-Id: I8a2baaa978a83f289e558dcd5d9be5ca6a164b2f
2021-01-27 23:30:38 +00:00
TreeHugger Robot fbc987496e Merge "Inherit theme colors on app drawer and folder" into sc-dev 2021-01-27 23:23:41 +00:00
Sunny Goyal bfc0c38157 Updating ItemInfoMatcher to work with java streams
Adding support for bulk removing items from a folder icon.
This fixes workspace item removal when a folder gets replaced
to an icon during the delete operation.

- Lets say user has a folder with the same app twice.
- User disables that app.
- Launcher removes all shorcuts of that app

However, because we call "replaceFolderWithFinalItem" during
this removal, we end up creating a new shortcut that does
not get tracked by the removal, so the user is left with
an enabled icon of the disabled app.

Bug: 162378169
Test: manual test, repo steps in bug
Change-Id: Iaf6550894c156b3b5ec2a5aa58bab76a4a28819e
2021-01-27 15:19:56 -08:00
TreeHugger Robot 81d20f7678 Merge "Support ACTION/THUMBNAIL/SUGGEST corpus for rendering rendering" into sc-dev 2021-01-27 23:19:46 +00:00
Tracy Zhou a62e49b365 Fix missing grid for devices that upgrade from R
Fixes: 178435615
Test: TODO
Change-Id: I9894b88485daf5b641b4674a5abff05e0f53138b
2021-01-27 22:21:24 +00:00
Tracy Zhou 0455d146a1 Fix missing grid for devices that upgrade from R
Fixes: 178435615
Test: TODO
Change-Id: I9894b88485daf5b641b4674a5abff05e0f53138b
2021-01-27 22:18:13 +00:00
Samuel Fufa 7690e9460c Fix persistent device search edu
Test: Manual
Bug: 177223401
Change-Id: Ic028c8f0f01db81f650289963c936ef798a14eae
2021-01-27 21:55:29 +00:00
Tracy Zhou 15b0f700fe Temporary fix to disable task#onClickListener during transition to overview
The root cause is InputConsumerProxy not getting events during the transition. Will need to investigate more, but since we dont allow interaction with TaskView during the transition currently, apply this temporary fix to unblock

Bug: 175039524
Test: manual
Change-Id: Ifc3eb0569cf3a60d193e91bf70519a0737afb90a
2021-01-27 19:29:16 +00:00
Hyunyoung Song 7575cca264 Support ACTION/THUMBNAIL/SUGGEST corpus for rendering rendering
Hookup notifyEvent for metrics, on device intelligence.


Bug: 178454668
Bug: 178455221

Test: manual (See attached screenshots in the bug)

Change-Id: I652b4f2b0644a4726ccc3e01ce4c945a719f96a8
Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
2021-01-27 19:13:09 +00:00
Lucas Dupin 29cd327066 Inherit theme colors on app drawer and folder
This way, changes on Theme.DeviceDefault will be reflected on launcher
as well.

Bug: 173561945
Test: visual
Change-Id: I297560253242476f34c47fcd845c44e96873a8b2
(cherry picked from commit fc82c5a920)
2021-01-27 16:24:58 +00:00
Samuel Fufa f1db62cc98 Merge " Introduce feature education for AllApps Search" 2021-01-26 21:03:31 +00:00
Jon Miranda f12b9a4b4e Fix bug where dragview gets stuck on screen. am: b453ef7621 am: 25178c55b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13407365

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id4b6341e88455d52ab3e6caec58b397048822755
2021-01-26 19:23:29 +00:00
Jon Miranda 25178c55b2 Fix bug where dragview gets stuck on screen. am: b453ef7621
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13407365

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I636aef61403f44fd27898d74d2b857fd14f9ffc2
2021-01-26 18:41:40 +00:00
Jon Miranda b453ef7621 Fix bug where dragview gets stuck on screen.
* Since the BubbleTextViews views do not have a listener, the long press
  was still getting triggered even though it was in a pressed state.
* We only trigger long press if the view is not pressed or if there is no listener.
* A listener is only added for widgets, and for long press wiidgets are not
  pressed state.

Bug: 162636845
Test: manual test, repo steps in bug
Change-Id: Ia9df12cf31a0844403d69ddacebf2bdbc5c59d3b
(cherry picked from commit 6fa63473e1)
2021-01-26 15:35:35 +00:00
Alex Chau 417bd72b71 Revert "Use Diplay.getMetrics in DisplayController"
This reverts commit acfac6187d.

Reason for revert: b/176656141

Bug: 176656141
Change-Id: Ic28e50779811d18450000efc2cdfd8184a931bbb
2021-01-26 15:23:20 +00:00
Samuel Fufa e9d970106c Merge "Consolidate Search result UIs" 2021-01-25 22:33:42 +00:00
TreeHugger Robot 5bcf86cfc2 Merge "Fix bug where dragview gets stuck on screen." 2021-01-25 22:21:30 +00:00
Samuel Fufa 062a8fd979 Introduce feature education for AllApps Search
Preview: https://drive.google.com/file/d/1eXf3K6kFh0bHcYlpwW_voSRjY9RQalJN/view?usp=sharing&resourcekey=0-IABjrtXM5JhHvSf-7yc4tg

Edu can be dismissed permanently by pressing "Got it" button or typing. Swiping down defers edu until next visit to all apps

- Move fallback search to quickstep
Bug: 178100472
Test: Manual

Change-Id: I920aab366330758e81f8b9fa62736abf82fe5cac
2021-01-25 15:17:34 -06:00
Jon Miranda 6fa63473e1 Fix bug where dragview gets stuck on screen.
* Since the BubbleTextViews views do not have a listener, the long press
  was still getting triggered even though it was in a pressed state.
* We only trigger long press if the view is not pressed or if there is no listener.
* A listener is only added for widgets, and for long press wiidgets are not
  pressed state.

Bug: 162636845
Test: manual test, repo steps in bug
Change-Id: Ia9df12cf31a0844403d69ddacebf2bdbc5c59d3b
2021-01-25 15:33:50 -05:00
Samuel Fufa c282018765 Consolidate Search result UIs
- Allow SearchAction to be represented by SearchResultIcon and SearchResultIconRow
- Fix tap enter to launch regression
- Remove Plugin Pipeline

Bug: 177223401
Test: Manual
Change-Id: Id1d445f6af3f80f840d567165051188c78230ed0
2021-01-25 12:46:05 -06:00
Jonathan Miranda 9acabb8199 Merge "Fix IllegalArgumentException for Float.NaN in ClipIconView." 2021-01-25 18:30:55 +00:00
Tony Wickham e631b759f9 Merge "Add empty Taskbar views and initial TaskbarController" 2021-01-25 17:27:29 +00:00
Tony Wickham f26e90aa35 Add empty Taskbar views and initial TaskbarController
Guarded by a FeatureFlag.

Bug: 171917176
Change-Id: I7145c7ae68282bf53552502798fe758c8c0e285d
2021-01-22 15:39:46 -08:00
Jon Miranda 8f09aa3438 Fix IllegalArgumentException for Float.NaN in ClipIconView.
Bug: 173703326
Test: not able to repo bug but this prevents the code from
      executing in bad case
Change-Id: I3701c040e72e6ce37a624b10bb82b2200935e283
2021-01-22 17:49:36 -05:00
Ashwini Oruganti 745272111c Add FLAG_IMMUTABLE to PendingIntent
PIs need a mutability flag on creation. See go/immutable-pendingintents for more context.

Change-Id: I7ac6a76fd501f36adddfd5bf85f0216a37fa9637
Test: TH
2021-01-22 22:17:25 +00:00
Schneider Victor-tulias 9b9919d2be Merge "Add check to prevent adding duplicate pending install icons onto the worksapce." 2021-01-21 18:39:28 +00:00
Schneider Victor-tulias e824438570 Add check to prevent adding duplicate pending install icons onto the worksapce.
Test: manual

Change-Id: Ifa1bbe39278a7a4f7a385204efcbb815c2a59ca3
2021-01-20 14:48:40 -08:00
Alex Chau 867b62a2d0 Merge "Update RecentsActivityRotation when device rotate" 2021-01-20 22:40:44 +00:00
Alex Chau df449d71e9 Update RecentsActivityRotation when device rotate
- When rotating device, RecentsOrientedState.setRecentsRotation is called without updating mRecentsActivityRotation, leaving a stale orientation to be used by other components

Bug: 176913754
Change-Id: Ieb7b6cd31a6f77809ac6d222b8d0d68d6015ce01
2021-01-20 20:07:55 +00:00