TreeHugger Robot
d81b579fc2
Merge "Fix the fallback logic for shortcut icons when icons are missing" into sc-v2-dev am: e9316d5ba7 am: fa30672ec7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124501
Change-Id: I7fea7a7151014fedd7671a4d116e878e09e6bf88
2021-10-26 20:40:31 +00:00
Pinyao Ting
35c5755b71
Fix the fallback logic for shortcut icons when icons are missing
...
The icons of shortcuts in general are not persisted in backup payload
and thus are not available on the new device, apps are reposponsible for
republishing those shortcuts on the new device, with the only exception
being pinned shortcuts, whose icons are stored in launcher.db as a
fallback when icons are not avaialble in the shortcut themselves.
A previous CL unexpected excluded deep shortcuts from loading their
fallback icons in launcher.db, causes pinned shortcut to fallback
further to default droid icons, this CL restores the original behavior.
Bug: 202346722
Test: manual
Change-Id: Ie09becd3a0dc1ca1e7c2573fe1b68b61a58c2091
2021-10-26 18:02:08 +00:00
TreeHugger Robot
74f7d5e0b8
Merge "Fix the remove button icon not centered when the home screen is in landscape." into sc-v2-dev am: 8935b22cd7 am: 763405dfca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16087348
Change-Id: I29b9912fdf63a922b5cf8904be768c1e481b5e6c
2021-10-26 00:35:36 +00:00
TreeHugger Robot
8935b22cd7
Merge "Fix the remove button icon not centered when the home screen is in landscape." into sc-v2-dev
2021-10-26 00:06:37 +00:00
Alex Chau
46306e31b7
Merge "Avoid calling getIconResult if recycle is called after request is queued" into sc-v2-dev am: 4941b84717 am: 2a6e9abf6a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118639
Change-Id: I3fc485432c60f815e7cdbdab428b6bb3ff7543dc
2021-10-25 23:54:49 +00:00
Sebastian Franco
63d1a181e5
Fix the remove button icon not centered when the home screen is in landscape.
...
To fix it I put the bounds of the Icon/drawable when the text is not visible.
Fix: 202811811
Test: Manually Tested.
Change-Id: Ieff54a73e819c4b3a61e28fd76faf93a84b67666
2021-10-25 17:34:11 -05:00
Alex Chau
53c7ed5084
Avoid calling getIconResult if recycle is called after request is queued
...
Fix: 203582251
Test: atest -c NexusLauncherTests:com.android.launcher3.memory.MemoryTests
Change-Id: Ice1e981e1813df516008be578aa89ee17fb79fab
2021-10-25 21:06:27 +01:00
TreeHugger Robot
d3b5b6adf3
Merge "Bugfix where the widget handles appear even when you can't resize it." into sc-v2-dev am: d4df41b78f am: a15ea27e04
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065847
Change-Id: I75deea59ed5d63b7720b56b30d7c8713b1026d04
2021-10-21 21:14:13 +00:00
TreeHugger Robot
d4df41b78f
Merge "Bugfix where the widget handles appear even when you can't resize it." into sc-v2-dev
2021-10-21 20:46:37 +00:00
TreeHugger Robot
17f24235e5
Merge "Fixing wrong text spacing bounds" into sc-v2-dev am: a293a864a6 am: 8f8a55817d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16103164
Change-Id: Ibdcdd2f47b3727f5a2c360f7024a92b9fede30d8
2021-10-21 20:29:03 +00:00
Sunny Goyal
486adb03a0
Fixing wrong text spacing bounds
...
Bug: 203740844
Test: Manual
Change-Id: I68fcab489643acf80759f90736f806ae2852e648
2021-10-21 11:30:18 -07:00
Sebastian Franco
4067f5d4ae
Bugfix where the widget handles appear even when you can't resize it.
...
To fix it I added the following logic condition: if the minimum size of
the widget (`mMinVSpan` vertically) is equal to the maximum size of the
widget (`mMaxVSpan` vertically), then you can't change the size and the
handles shouldn't appear, I did this for both the horizontal handles as
well as the vertical handles.
Fix: 202004006
Change-Id: Ide05231f5712a736129ac6cb2fee358f7c70e371
Test: Manully veryfied.
2021-10-21 17:32:31 +00:00
TreeHugger Robot
53d0921acf
Merge "Fix bug with resize frame in Launcher3." into sc-v2-dev am: ea38519fa4 am: 6bfd14613b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16057107
Change-Id: I1c600ea73a6e37bb79794650efa003874703e757
2021-10-20 21:20:24 +00:00
TreeHugger Robot
ea38519fa4
Merge "Fix bug with resize frame in Launcher3." into sc-v2-dev
2021-10-20 20:50:17 +00:00
Schneider Victor-tulias
c1a99b8712
Merge "Generalize the icon popup menu types." into sc-v2-dev am: e9bd364390 am: e650a048fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065857
Change-Id: Ibef5acdb235ff1b0f30dd18e90330584ec037fa1
2021-10-20 19:23:18 +00:00
Schneider Victor-tulias
e9bd364390
Merge "Generalize the icon popup menu types." into sc-v2-dev
2021-10-20 18:32:56 +00:00
Yogisha Dixit
7b1d25b251
Fix bug with resize frame in Launcher3.
...
Also updated the tests to check that the resize frame is shown.
Bug: 192655785
Test: AddWidgetTest, AddConfigWidgetTest, manual
Change-Id: Id348f39cec1bebc8ec9ea9f3068f4bda2159eac4
2021-10-20 19:03:14 +01:00
Pat Manning
011d37be5a
Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev am: 3c647ff30a am: 2e5511ad4b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992810
Change-Id: I368651cbc9255f50baf3e741b561bebb16b18dd2
2021-10-20 15:55:07 +00:00
Pat Manning
3c647ff30a
Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev
2021-10-20 15:20:26 +00:00
Pat Manning
ccec1de6ae
Add new quickstep test for many tasks open at once.
...
This test is needed for testing overview-grid-related functionality.
- Opening non-focused tasks
- Dismissing a non-focused task from the grid
- Grid rows rebalancing after dismissal, which only happens when enough
apps are open to be off-screen.
- Grid tasks do not scroll after dismissal.
Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: Ic907db4643cdc2eb9e4610dab917347e234e470c
2021-10-20 14:40:32 +01:00
Samuel Fufa
3a259847fe
Merge "[Search] [Race condition] Fix wrong titles showing on BubbleTextHolder" into sc-v2-dev am: f0f2b75ada am: d91eaa6a90
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16087788
Change-Id: I6d764df96da7e73254e8d3cd27aae49fa16b2da9
2021-10-20 03:46:19 +00:00
Samuel Fufa
f0f2b75ada
Merge "[Search] [Race condition] Fix wrong titles showing on BubbleTextHolder" into sc-v2-dev
2021-10-20 03:15:25 +00:00
sfufa@google.com
d7bdd97ac6
[Search] [Race condition] Fix wrong titles showing on BubbleTextHolder
...
No need to remove the listener on BubbleTextView#reset as BubbleTextView's parent should never change and always listen for ItemInfo updates.
Bug: 203506475
Test: Manual
Change-Id: Ie00b293495c79d36c9eb08408754389ab4b80839
2021-10-19 17:15:06 -07:00
Sunny Goyal
1a3467cf31
Merge "Adding support for dynamic letter spacing for icon labels" into sc-v2-dev am: 37a237b2cd am: 2021e21933
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971871
Change-Id: I41b701b094cd4fb8b939560686bebc97c8c21547
2021-10-19 23:41:34 +00:00
Schneider Victor-tulias
16e04e29d2
Generalize the icon popup menu types.
...
Generalized popup menu types and logic to allow wider uses outside of launcher.
Bug: 198438631
Test: long pressed launcher icons and pressed menu options
Change-Id: Iadcbb1796496c0061dcee362784e426ff55dc94a
2021-10-19 16:06:16 -07:00
Sunny Goyal
37a237b2cd
Merge "Adding support for dynamic letter spacing for icon labels" into sc-v2-dev
2021-10-19 22:56:16 +00:00
Samuel Fufa
e0096f7897
Merge "[Work Profile] Fix NPE on WorkModeSwitch" into sc-v2-dev am: c46c83c8c8 am: b71fe0558a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16086860
Change-Id: Ia6994d3e28b727b688acd347830e2b108316da2c
2021-10-19 22:12:02 +00:00
Samuel Fufa
c46c83c8c8
Merge "[Work Profile] Fix NPE on WorkModeSwitch" into sc-v2-dev
2021-10-19 22:01:25 +00:00
TreeHugger Robot
ff1419d376
Merge "Revert "Clear only workspace shortcut / widget related tests"" into sc-v2-dev am: 06146a1944 am: f944a88c2b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16076450
Change-Id: I3b33a924f8bb2a06866bec9c8488faf7523975ad
2021-10-19 20:33:59 +00:00
Sunny Goyal
0d69cb6ef7
Adding support for dynamic letter spacing for icon labels
...
Bug: 201697936
Test: Manual
Change-Id: I0ab81291c40afcac30c5caf7b5638889908775f8
2021-10-19 13:09:58 -07:00
TreeHugger Robot
06146a1944
Merge "Revert "Clear only workspace shortcut / widget related tests"" into sc-v2-dev
2021-10-19 19:56:29 +00:00
sfufa@google.com
dda4f2c602
[Work Profile] Fix NPE on WorkModeSwitch
...
Bug: 202868251
Test: manual
Change-Id: I16e149e0aab1b53f7a0e753f353ccace08cf6b71
2021-10-19 11:22:55 -07:00
Alex Chau
8d40f27df9
Merge "Don't apply left/right inset on gesture nav landscape" into sc-v2-dev am: abf9850dea am: 5babdc5da9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16034083
Change-Id: Ie224967bd868679a9b105b588549cb41af6748bd
2021-10-19 10:58:26 +00:00
Alex Chau
abf9850dea
Merge "Don't apply left/right inset on gesture nav landscape" into sc-v2-dev
2021-10-19 10:24:57 +00:00
Tracy Zhou
b38fe7f1a4
Merge "Track LauncherState for task bar stashing better" into sc-v2-dev am: fc0b21596f am: e268bda30d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951094
Change-Id: Iabfbc700313c098ad67b0e4664fe098416b9a9e0
2021-10-19 07:43:26 +00:00
Alex Chau
bbe6cf30a2
Don't apply left/right inset on gesture nav landscape
...
Fix: 201775630
Test: Go to landscape with gesture nav, widgets not cropped and cellSize matches HSV
Change-Id: I68e62897b31dbb8509c95a20e8d3a3528a40fe9b
2021-10-18 20:52:05 +01:00
Hyunyoung Song
f0dd5eaa09
Merge "Enable widget picker aiai search" into sc-v2-dev am: 32f3616f0c am: c07b69da19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065853
Change-Id: If2e27d6dfa0b9ea2e73f6866f196ddc8e93e1967
2021-10-18 17:52:53 +00:00
Alex Chau
9b3dd6c0b9
Revert "Clear only workspace shortcut / widget related tests"
...
This reverts commit 22be1a47f4 .
Reason for revert: Breaks another test
Bug: 202546679
Change-Id: I796c508a6d7c00ec8c1d48e3517453f9eca0616c
2021-10-18 17:52:12 +00:00
Tracy Zhou
ae88197e5f
Track LauncherState for task bar stashing better
...
- Animate in onStateTransitionStart
- Commit in onStateTransitionComplete
Fixes: 193938970
Fixes: 200765631
Fixes: 201644899
Test: Go home from overview; Go to all apps from home; Go to overview from home
Change-Id: I393022c86f09806fea29fb5bc7191304b473f231
2021-10-18 10:51:51 -07:00
Hyunyoung Song
32f3616f0c
Merge "Enable widget picker aiai search" into sc-v2-dev
2021-10-18 17:24:53 +00:00
Samuel Fufa
de36e9cf2d
Merge "[Search] Hide A-Z list when search is entered from QSB" into sc-v2-dev am: 4ff90a435e am: 201d221400
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049078
Change-Id: If40a07ee2003b1c62b6910b47062e27e79df3bc8
2021-10-16 04:57:00 +00:00
Samuel Fufa
4ff90a435e
Merge "[Search] Hide A-Z list when search is entered from QSB" into sc-v2-dev
2021-10-16 04:28:23 +00:00
sfufa@google.com
7a620d3673
[Search] Hide A-Z list when search is entered from QSB
...
preview attached to bug report
Bug: 201781284
Test: manual
Change-Id: I572360d2d49b38577a7d77115aede4c3269d42e9
2021-10-15 15:49:43 -07:00
TreeHugger Robot
7554bf378f
Merge "Clear only workspace shortcut / widget related tests" into sc-v2-dev am: 6a4f5427ea am: 29ceb9d004
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16056308
Change-Id: I671b785eeb1a275fd32b757a9fa86825bd2828fd
2021-10-15 20:01:30 +00:00
TreeHugger Robot
8d70c127a5
Merge "Removing overscroll pluging support" into sc-v2-dev am: 27e294a973 am: dd336bbff6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951928
Change-Id: Ibc7592143466c95181fef342a773cec30cf1668f
2021-10-15 20:01:22 +00:00
TreeHugger Robot
6a4f5427ea
Merge "Clear only workspace shortcut / widget related tests" into sc-v2-dev
2021-10-15 19:38:46 +00:00
TreeHugger Robot
27e294a973
Merge "Removing overscroll pluging support" into sc-v2-dev
2021-10-15 19:27:25 +00:00
Hyunyoung Song
0d794e65aa
Enable widget picker aiai search
...
Bug: 183108439
Test: manual
Change-Id: I93f00131817622ad441d3374f22f26df8b28114d
2021-10-15 11:10:50 -07:00
Alex Chau
22be1a47f4
Clear only workspace shortcut / widget related tests
...
- This ensure hotseat to be populated with default items, so it won't result in an empty taskbar which get stashed in apps
- Workspace needs to be cleared because shortcut / widget dragging won't always work if there are items in workspace. It only happens in test due to the way we drag items.
Fix: 202546679
Test: NexusLauncherTests:com.android.launcher3.ui.widget.RequestPinItemTest
Change-Id: Ib3ded6a685eaa1b169b75fd179c9e29ca4be1e72
2021-10-15 16:01:44 +01:00
Thales Lima
a8cbab843f
Merge "launcher: create a device profile for foldables" into sc-v2-dev am: 4d6f3d67d2 am: c163d4952b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16048152
Change-Id: I8c0f0055121a60cbfe37a87f3d250232c3782f3c
2021-10-15 10:43:37 +00:00