Commit Graph

47938 Commits

Author SHA1 Message Date
TreeHugger Robot f952fd9256 Merge "launcher: correct the amount of padding for preview" into sc-v2-dev 2021-08-13 19:19:18 +00:00
Dave Mankoff 3258a9f790 Remove #handleWtfs from PluginInitializer.
This method was empty anyways.

Bug: 194781951
Test: manual
Change-Id: I404704090dc360e05b1db04815d394d47d63af28
2021-08-13 14:56:30 -04:00
Dave Mankoff 24e77c563c Remove PluginInitializer.
Bug: 194781951
Test: manual
Change-Id: I38b90ac7f310e4c2374d60a42f493e723c90401a
2021-08-13 14:56:30 -04:00
Dave Mankoff a6646be349 Remove #getPrivilegedPlugins from PluginInitializer.
Bug: 194781951
Test: manual
Change-Id: I61bcbdd92bdf7295060f00dac9b657b1a67b7f01
2021-08-13 14:56:26 -04:00
TreeHugger Robot 87cf3efe06 Merge "Removing some instrumentation for a workarounded bug" into sc-v2-dev 2021-08-13 18:42:22 +00:00
Thales Lima dab1b2922c launcher: correct the amount of padding for preview
The padding on left and right should be added only on the left for left
page and only on the right for right page.

Fixes: 195410512
Test: open Wallpaper & Style and check the space between the pages
Change-Id: Ib27c632d2fb07d4708bd101e555e14e31a26ff9d
2021-08-13 18:22:26 +01:00
Thales Lima 7ec8382044 launcher: hide grid options for foldables
Some grid options are too dense for foldables (those with 5 icons), so
we are hiding them on those devices.

This also move the parsing to be done on InvariantDeviceProfile only.

Fixes: 183140646
Test: open Wallpaper & style and change app grid options
Change-Id: I771571db02709db5d0f814236060c57ce0180cd1
2021-08-13 16:07:05 +00:00
Tracy Zhou 2bb92ba49d Update LauncherInstrumentation to consider tablet w/o nav bar
Bug: 191660313
Test: TaplTestsLauncher3
Change-Id: I7bbcc2f9c3eb7b62dc2abd94b63df22b7168bf15
2021-08-13 08:54:35 -07:00
Dave Mankoff 08d1a77825 Rename PluginInstanceManager to PluginActionManager.
New PluginInstance class.

Bug: 194781951
Test: manual
Change-Id: I5274b6380acaad8bb2e900cfdce772b71add9483
2021-08-13 10:50:32 -04:00
Dave Mankoff 1095a50dfa Updates to constructor of PluginInstanceManager.Factory
Bug: 194781951
Test: manual

Change-Id: I510dcd3b405988320052944b412e1d18360144ef
2021-08-13 10:50:21 -04:00
Dave Mankoff 630ae94833 Pass main executor to PluginInstanceManager.Factory.
Bug: 194781951
Test: manual
Change-Id: I1667023887e0c8d1dc86fce1717a3032b6721684
2021-08-13 10:18:01 -04:00
Dave Mankoff 1d5e1dc8d1 Pass Executor to to PluginInstanceManager.Factory.
Bug: 194781951
Test: manual
Change-Id: I6dc699869d041aab8f5d1e7a128b4f67adfd78dc
2021-08-13 10:16:09 -04:00
Dave Mankoff 13f50b9898 Changes to the signature of PluginManagerImpl.
Bug: 194781951
Test: manual
Change-Id: Iafc5232dfdb1cc1c554de925c2f0d2ad5f6439e2
2021-08-13 10:01:42 -04:00
Ben Lin 15181b54b0 Merge "Do not set user active hints when Shell Transition is on." into sc-v2-dev am: 99b5d13952 am: c3d09d22c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524184

Change-Id: I4025427c229838a0104625a266100fcfc184c066
2021-08-13 10:08:32 +00:00
Ben Lin c3d09d22c1 Merge "Do not set user active hints when Shell Transition is on." into sc-v2-dev am: 99b5d13952
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524184

Change-Id: I1440056c2a451a241ed7b2b55810db958d599c14
2021-08-13 08:41:26 +00:00
TreeHugger Robot 05e2828a6a Merge "Restoring generating artifacts" into sc-v2-dev am: 73ad3abc29 am: 0cce835cf7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547434

Change-Id: Id1e0b77ad846d586d11dfcb2dc0d42ef99e7676e
2021-08-13 05:11:13 +00:00
TreeHugger Robot 0cce835cf7 Merge "Restoring generating artifacts" into sc-v2-dev am: 73ad3abc29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547434

Change-Id: Ia9b596701d4d46782c825ff3a37e4da26e91ee81
2021-08-13 04:58:02 +00:00
TreeHugger Robot 21cb8f7bd0 Merge "Update two panel specific launcher home icon sizing" into sc-v2-dev am: 00d0ce9b3b am: 39a93b1d8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472539

Change-Id: I4df81aeab62eb168bb6202b2a3f806e186349b00
2021-08-13 01:41:13 +00:00
TreeHugger Robot 39a93b1d8d Merge "Update two panel specific launcher home icon sizing" into sc-v2-dev am: 00d0ce9b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472539

Change-Id: I5d2fbfd71d5d69f3343854e94498ed5c23c84770
2021-08-13 01:26:37 +00:00
Ben Lin 99b5d13952 Merge "Do not set user active hints when Shell Transition is on." into sc-v2-dev 2021-08-13 01:09:19 +00:00
TreeHugger Robot 73ad3abc29 Merge "Restoring generating artifacts" into sc-v2-dev 2021-08-13 00:44:57 +00:00
TreeHugger Robot 1989770a55 Merge "Not using shell command to enable test provider" into sc-v2-dev am: 7d87779deb am: 841a4fec3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15533100

Change-Id: Idb53cf74dbb1af7d5cc03831f04edaa15af51462
2021-08-12 23:27:26 +00:00
TreeHugger Robot 841a4fec3c Merge "Not using shell command to enable test provider" into sc-v2-dev am: 7d87779deb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15533100

Change-Id: Ia359325ff80abaa1a43d52207d01085d0f700d38
2021-08-12 23:14:39 +00:00
Android Build Coastguard Worker 48f9424777 Snap for 7636897 from 7d87779deb to sc-v2-release
Change-Id: Icd1bcd77369ac673065e5308bfdf97172905a657
2021-08-12 23:08:16 +00:00
vadimt 303298de84 Restoring generating artifacts
Bug: 189874683
Test: presubmit
Change-Id: I82503900a8b7ce916a54437456007dec00016c47
2021-08-12 16:04:05 -07:00
Android Build Coastguard Worker af79a6ff8c Merge cherrypicks of [15548052, 15548053, 15548731, 15548784, 15548801, 15548711, 15548732, 15548733] into sc-release
Change-Id: Ic72b92ffea5eac96a57fcba850588215505f411a
2021-08-12 22:36:02 +00:00
Lucas Dupin b9472327b1 Adjust all apps zoom level
The All Apps scrim fades in early, covering part of the zoom animation.
We need to adjust the max zoom in order to make All Apps consistent with
Overview, -1, and Shade.

Test: pull up the all apps drawer
Fixes: 195992422
Change-Id: Ia7bbe17fe7f227dd0a16ba7d21b402cff57176f0
(cherry picked from commit f168bb7aaf)
(cherry picked from commit 3f6a4e6bf5)
2021-08-12 22:35:49 +00:00
Ben Lin 1e49216401 Do not set user active hints when Shell Transition is on.
Previously, we hint at user active in order to let the launcher know at
an earlier time that the user is about to go home, to provide PiP a
shelf offset. However with Shell Transitions, this is now being done
instantly as the launcher activity is resumed right as user touches down
on the gesture pill. We then no longer need this for shell transitions.

Bug: 165793917
Test: Enable Shell Transitions, go home to enter PIP, and open another
app - see that PIP auto moves downward now that shelf height has changed

Change-Id: I347c885425ce820a42ebfcc15082862d04aa1a7d
2021-08-12 15:17:31 -07:00
TreeHugger Robot 00d0ce9b3b Merge "Update two panel specific launcher home icon sizing" into sc-v2-dev 2021-08-12 21:47:25 +00:00
Brian Isganitis 758c141c3d [automerger skipped] Merge "Update preferences to Material Next styling" into sc-qpr1-dev am: e52a4e39af -s ours am: e0c4a090d8 -s ours am: e562968cde -s ours
am skip reason: Merged-In I346bbf819f3fe1eb13b47125b53c15baab11e439 with SHA-1 93031bc2ae is already in history

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

Change-Id: I87ff1bfebaa824100b2a18e14c55fe53d4320486
2021-08-12 21:45:52 +00:00
Brian Isganitis e562968cde [automerger skipped] Merge "Update preferences to Material Next styling" into sc-qpr1-dev am: e52a4e39af -s ours am: e0c4a090d8 -s ours
am skip reason: Merged-In I346bbf819f3fe1eb13b47125b53c15baab11e439 with SHA-1 93031bc2ae is already in history

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

Change-Id: I9856d8862dda81e6bfc3e77117f6bf8c1342ff34
2021-08-12 21:36:20 +00:00
Sunny Goyal 57e0866fdd Fixing ModelPreload cancelling existing load
When a model preload call was made while the loader task is running
(eg: on enabling/disabling icon theme, Launcher reloads and then
launcher preview start a model-preload), it would cancel the original
loader and then start a new loader with empty callbacks. So the
model indeed get loaded, but the original callbacks never got notified
of it.

> Instead we only start preload if an existing task is not running.
> Also when preloading, we use existing callbacks, instead of using
  empty callbacks

Bug: 193851085
Bug: 195155924
Test: Verified repro steps
Change-Id: I0a96310be8489756f364aa2a12e4345e1418733d
2021-08-12 21:33:33 +00:00
Brian Isganitis 7d4917ae19 [automerger skipped] Merge "Update preferences to Material Next styling" into sc-qpr1-dev am: e52a4e39af am: 64e6402b2a -s ours am: 5850c24e06 -s ours
am skip reason: Merged-In I346bbf819f3fe1eb13b47125b53c15baab11e439 with SHA-1 93031bc2ae is already in history

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

Change-Id: I8fc09038faa6e6f02ff05523c245393847e22b4d
2021-08-12 20:26:04 +00:00
Brian Isganitis 5850c24e06 [automerger skipped] Merge "Update preferences to Material Next styling" into sc-qpr1-dev am: e52a4e39af am: 64e6402b2a -s ours
am skip reason: Merged-In I346bbf819f3fe1eb13b47125b53c15baab11e439 with SHA-1 93031bc2ae is already in history

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

Change-Id: Iff24d0b2d4abebfc032124a8f5f1aadf6a762a05
2021-08-12 20:11:28 +00:00
TreeHugger Robot 7d87779deb Merge "Not using shell command to enable test provider" into sc-v2-dev 2021-08-12 19:40:19 +00:00
Brian Isganitis e0c4a090d8 [automerger skipped] Merge "Update preferences to Material Next styling" into sc-qpr1-dev am: e52a4e39af -s ours
am skip reason: Merged-In I346bbf819f3fe1eb13b47125b53c15baab11e439 with SHA-1 93031bc2ae is already in history

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

Change-Id: I56c47fca463c096fd4164f0d9d4a8472412ce241
2021-08-12 19:19:57 +00:00
Brian Isganitis 64e6402b2a Merge "Update preferences to Material Next styling" into sc-qpr1-dev am: e52a4e39af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15521744

Change-Id: I766caf3f347fec9ba91679726d76f40033009cf0
2021-08-12 19:17:29 +00:00
Brian Isganitis e52a4e39af Merge "Update preferences to Material Next styling" into sc-qpr1-dev 2021-08-12 18:57:49 +00:00
TreeHugger Robot 4e9ea58712 Merge "Clean up test logging and ScreenRecord" into sc-v2-dev am: 662af98956 am: 3c7c23aa02
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15542317

Change-Id: I98e7524b37523af64d992768ee073293e748eb71
2021-08-12 18:35:46 +00:00
TreeHugger Robot 3c7c23aa02 Merge "Clean up test logging and ScreenRecord" into sc-v2-dev am: 662af98956
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15542317

Change-Id: I53ccca4501c95f942c71959bbf22c55dcb59c2bd
2021-08-12 18:20:47 +00:00
Andras Kloczl 30fe9152d5 Update two panel specific launcher home icon sizing
Test: manual
Bug: 191879424
Change-Id: I4f51616004d78036ad801298bb5ba72af8de3f30
2021-08-12 18:46:01 +01:00
vadimt 5f80e92bda Not using shell command to enable test provider
Shell command can kill app

Test: presubmit
Bug: 188806432
Change-Id: Id512eb16d26cc4b324574a2a6a15f4805e426b9f
2021-08-12 10:28:45 -07:00
TreeHugger Robot 662af98956 Merge "Clean up test logging and ScreenRecord" into sc-v2-dev 2021-08-12 17:26:48 +00:00
Alex Chau 542816f3ce Merge "Logging fist event not from test" into sc-v2-dev am: 592889d089 am: cdb651c248
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15534290

Change-Id: Ia052e6ea3a38231eff296941b80d0bdfd6a397bf
2021-08-12 12:00:40 +00:00
Alex Chau cdb651c248 Merge "Logging fist event not from test" into sc-v2-dev am: 592889d089
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15534290

Change-Id: I66d4f9c18e9fa98ab9056eb950e5c4791b6b6cb3
2021-08-12 11:49:00 +00:00
Alex Chau 592889d089 Merge "Logging fist event not from test" into sc-v2-dev 2021-08-12 10:41:10 +00:00
Alex Chau 2886a13d7a Clean up test logging and ScreenRecord
Bug: 194114179
Bug: 193125090
Test: manual
Change-Id: I086d011a39b74a24d5629d43dc74b741fcf5994e
2021-08-12 11:34:27 +01:00
TreeHugger Robot f451523f37 Merge "Adjust all apps zoom level" into sc-dev am: 6b10f4649c am: 3be0173b14 am: 305eaf5eee am: 81877af9ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15530106

Change-Id: I024c97b1638f17d529f336c1443c1bc818ae4352
2021-08-12 02:15:30 +00:00
TreeHugger Robot 81877af9ed Merge "Adjust all apps zoom level" into sc-dev am: 6b10f4649c am: 3be0173b14 am: 305eaf5eee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15530106

Change-Id: I594dde1bd3e1802ee3bd19392e8557a069fd650d
2021-08-12 02:01:00 +00:00
TreeHugger Robot 286ec77c28 Merge "Adjust all apps zoom level" into sc-dev am: 6b10f4649c am: 3be0173b14 am: 8d952656a2 am: cfb82978c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15530106

Change-Id: Ib7f27afebfd7e820317a4aafb1b7a2857ad2ee03
2021-08-12 01:04:30 +00:00