Thales Lima
4a08ce60dc
overview: rebalance hidden tasks in grid
...
The tasks that are not showing in the screen will be rearranged. This
doesn't change anything for tasks before the dismissed task because the
grid is already balanced there.
Fixes: 194189955
Test: manual with 10 tasks, normal and RTL mode
Change-Id: I07ddbb752110339751bd1ed6056fe9f645b5497f
2021-08-16 16:24:35 +01:00
Dave Mankoff
685338f7c6
Merge "Pass main executor to PluginInstanceManager.Factory." into sc-v2-dev am: 9847a6a75b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558874
Change-Id: If1b3510161b952ef3df9876810f314dd771d84e1
2021-08-16 15:23:45 +00:00
Dave Mankoff
cc81d631b5
Merge "Pass Executor to to PluginInstanceManager.Factory." into sc-v2-dev am: d72a60f953
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558873
Change-Id: I23f99561eecd0d2f705d5a2166b9e1e17aa7666a
2021-08-16 15:22:34 +00:00
Dave Mankoff
9847a6a75b
Merge "Pass main executor to PluginInstanceManager.Factory." into sc-v2-dev
2021-08-16 15:05:20 +00:00
Dave Mankoff
d72a60f953
Merge "Pass Executor to to PluginInstanceManager.Factory." into sc-v2-dev
2021-08-16 15:04:52 +00:00
TreeHugger Robot
476b7b69ca
Merge "Removing unnecessary logging" into sc-v2-dev am: 32e573162d am: d393a1ce9f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535164
Change-Id: Ia0465a03b107c38b832a7463ed48dd32e33ce61e
2021-08-16 10:50:43 +00:00
TreeHugger Robot
339f367922
Merge "Removing old workaround" into sc-v2-dev am: 77c08b045e am: 4a9bf5ab91
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535538
Change-Id: If259b13ab777993002a471c541e80bd77e31e905
2021-08-16 10:50:35 +00:00
TreeHugger Robot
d393a1ce9f
Merge "Removing unnecessary logging" into sc-v2-dev am: 32e573162d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535164
Change-Id: I6493664251d01e53ee267b886d006bdf64f6ffd1
2021-08-16 10:36:58 +00:00
TreeHugger Robot
4a9bf5ab91
Merge "Removing old workaround" into sc-v2-dev am: 77c08b045e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15535538
Change-Id: I90431ad3e1773c909d94fc7b0aeacf77c439af24
2021-08-16 10:36:53 +00:00
TreeHugger Robot
32e573162d
Merge "Removing unnecessary logging" into sc-v2-dev
2021-08-16 10:22:34 +00:00
TreeHugger Robot
77c08b045e
Merge "Removing old workaround" into sc-v2-dev
2021-08-16 10:21:45 +00:00
TreeHugger Robot
53239c93a2
Merge "Removing old workaround" into sc-v2-dev am: e22e3aaa9a am: e46b0caee1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15534469
Change-Id: I4bcde01e4feba458ca4597409fddcd2c76980b46
2021-08-16 07:11:17 +00:00
TreeHugger Robot
e46b0caee1
Merge "Removing old workaround" into sc-v2-dev am: e22e3aaa9a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15534469
Change-Id: Ie05de12b6a74e7cb7f0582791d264ae2557031dd
2021-08-16 07:01:19 +00:00
TreeHugger Robot
e22e3aaa9a
Merge "Removing old workaround" into sc-v2-dev
2021-08-16 06:45:19 +00:00
Android Build Coastguard Worker
a1edf6b6e6
Snap for 7642774 from 348065811f to sc-v2-release
...
Change-Id: Iaeda5fa18f6a74bb81ff50f39fda86935c7052bd
2021-08-14 21:08:41 +00:00
Xin Li
b252da0e67
Merge sc-dev-plus-aosp-without-vendor@7634622
...
Merged-In: Ic51ea9d199e6a072168365aeb7553203cd2c43c6
Change-Id: I73e01a9461ec61f09c776977b1ecb49ad9de991d
2021-08-14 06:31:03 +00:00
TreeHugger Robot
e262aede47
Merge "Constrain scroll amount" into sc-v2-dev am: 348065811f am: 33120900b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15564665
Change-Id: I58c2006e93d83fa6aa8917b159cef33736ed7507
2021-08-14 01:26:35 +00:00
TreeHugger Robot
33120900b8
Merge "Constrain scroll amount" into sc-v2-dev am: 348065811f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15564665
Change-Id: Ib61704ae9fd492a7569e191059f3de0acc560073
2021-08-14 01:11:33 +00:00
Android Build Coastguard Worker
fb36d832d4
Snap for 7639977 from 99b5d13952 to sc-v2-release
...
Change-Id: I47f71514fc9243a0701ebee91d216d516357c8f4
2021-08-14 01:10:50 +00:00
TreeHugger Robot
348065811f
Merge "Constrain scroll amount" into sc-v2-dev
2021-08-14 00:57:13 +00:00
TreeHugger Robot
3fe559de9c
Merge "Revert "Not using shell command to enable test provider"" into sc-v2-dev am: a4937b2270 am: e1b5c7b417
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15562850
Change-Id: I4dada14d21d1d7258e0fccceb9f9aa1e46e8814e
2021-08-14 00:32:42 +00:00
Dave Mankoff
bf7f0e5426
Merge "Changes to the signature of PluginManagerImpl." into sc-v2-dev am: 78f9648aec am: f3658027c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558514
Change-Id: Ib91cd33e8f57b79b61790baa0c9f895ee2f49d7f
2021-08-14 00:24:21 +00:00
TreeHugger Robot
e1b5c7b417
Merge "Revert "Not using shell command to enable test provider"" into sc-v2-dev am: a4937b2270
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15562850
Change-Id: I1e4f48f0d0fc375c13091297c30cc0f73f454010
2021-08-13 23:37:21 +00:00
Dave Mankoff
f3658027c3
Merge "Changes to the signature of PluginManagerImpl." into sc-v2-dev am: 78f9648aec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558514
Change-Id: I886ec469bea76555fa07452c4f730ed17cd7e456
2021-08-13 23:29:45 +00:00
TreeHugger Robot
a4937b2270
Merge "Revert "Not using shell command to enable test provider"" into sc-v2-dev
2021-08-13 23:27:18 +00:00
Lucas Dupin
b259a896f5
Constrain scroll amount
...
Test: scroll vertically and horizontally
Fixes: 196309367
Change-Id: Ibf16fb72cf95e29ed820d5f511e764a388c93bb0
2021-08-13 15:57:41 -07:00
Alex Chau
f551c876e4
Merge "launcher: hide grid options for foldables" into sc-v2-dev am: 0cba30e990 am: 298db67fd8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472531
Change-Id: I82d22dcb706ca5ab2ba83a5994e801c3f369d022
2021-08-13 22:10:36 +00:00
TreeHugger Robot
219dff2349
Merge "launcher: correct the amount of padding for preview" into sc-v2-dev am: f952fd9256 am: 9f76d9d09a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547452
Change-Id: I1dd9dd360249bdc6545e53498e632a5bad977586
2021-08-13 22:07:49 +00:00
Alex Chau
298db67fd8
Merge "launcher: hide grid options for foldables" into sc-v2-dev am: 0cba30e990
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472531
Change-Id: Ifd297a22641a8d3a074c27d637ee895a1fc24de0
2021-08-13 21:59:14 +00:00
Vadim Tryshev
169c4e88cd
Revert "Not using shell command to enable test provider"
...
This reverts commit 5f80e92bda .
Reason for revert: We need to see if this has caused b/196586808
Bug: 196586808
Test: presubmit
Change-Id: I078f0d4e83f5f1db19e9e0a5afec4f3058156745
2021-08-13 21:56:07 +00:00
TreeHugger Robot
9f76d9d09a
Merge "launcher: correct the amount of padding for preview" into sc-v2-dev am: f952fd9256
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547452
Change-Id: I1aa02ab7eb194e41a4ecce64a9d849c0d64c0fb6
2021-08-13 21:40:54 +00:00
Dave Mankoff
78f9648aec
Merge "Changes to the signature of PluginManagerImpl." into sc-v2-dev
2021-08-13 21:12:40 +00:00
TreeHugger Robot
b76df9dbd6
Merge "Removing some instrumentation for a workarounded bug" into sc-v2-dev am: 87cf3efe06 am: e9974d7d4c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524189
Change-Id: I59adb5f869d491dbb7720bd79f616a4cc94e1452
2021-08-13 21:12:35 +00:00
Alex Chau
1e4484669d
Remove widget panel
...
- Remove all usage of LEFT_PANEL_ID and fixed left panel code
- For preview renderer, load screen 0 + screen 1 instead
- Added a split display specific default workspace layout, with a placeholder app to pass test before we implement page pairing(b/196376162)
- Known issue: If screenId 1 is deleted, right panel will disappear from Wallpaepr & Style because there is no screenId 1. Will be resovled after page pairing(b/196376162)
Bug: 175939730
Test: manual and TaplTestsLauncher3#testWorkSpace
Change-Id: Icac1c94165c14a49c17897c45355b6cdc4d87e91
2021-08-13 21:48:35 +01:00
Alex Chau
0cba30e990
Merge "launcher: hide grid options for foldables" into sc-v2-dev
2021-08-13 20:44:34 +00:00
Jon Spivack
bb7553017c
Add callback to ImageActionUtils for unresolved intents
...
Adding an optional callback to ImageActionUtils.persistBitmapAndStartActivity allows for external handling of the case in which the given intent cannot be resolved. The main use case is for NIU Actions when the user has chosen an assistant that does not support the feature. TaskOverlayFactoryGo provides a callback that shows a dialog in this case.
Various parts of TaskOverlayFactoryGo were also made public for better testability.
Bug: 196125662
Bug: 192406446
Bug: 195681795
Test: m -j RunLauncherGoGoogleRoboTests ROBOTEST_FILTER=TaskOverlayFactoryGoTest
Change-Id: I64f3a1274bc942a64e964dca20bd4245e336ad9d
2021-08-13 13:30:22 -07:00
TreeHugger Robot
e9974d7d4c
Merge "Removing some instrumentation for a workarounded bug" into sc-v2-dev am: 87cf3efe06
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524189
Change-Id: I0172730d135c4584db080447892a498cbca4e876
2021-08-13 20:26:05 +00:00
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