Commit Graph

37740 Commits

Author SHA1 Message Date
TreeHugger Robot fa30672ec7 Merge "Fix the fallback logic for shortcut icons when icons are missing" into sc-v2-dev am: e9316d5ba7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124501

Change-Id: I88c0653d3926b337fc243d6b1421c31c64ea131c
2021-10-26 20:20:58 +00:00
TreeHugger Robot ebe19c9517 Merge "Using a different transition for All-set activity" into sc-v2-dev am: 3cbee2d1d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960463

Change-Id: I4307baa8c2e1a5e197bc5f1cd33c8a046aa72932
2021-10-26 20:20:46 +00:00
TreeHugger Robot e9316d5ba7 Merge "Fix the fallback logic for shortcut icons when icons are missing" into sc-v2-dev 2021-10-26 20:07:40 +00:00
TreeHugger Robot 3cbee2d1d7 Merge "Using a different transition for All-set activity" into sc-v2-dev 2021-10-26 20:00:21 +00:00
TreeHugger Robot 6130758570 Merge "Fix overview clear all tasks button text color." into sc-v2-dev am: 766549a4ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118174

Change-Id: Ib5d0e865339ec91c20ccd4d4f4280db9eab30b78
2021-10-26 19:14:47 +00:00
TreeHugger Robot 766549a4ca Merge "Fix overview clear all tasks button text color." into sc-v2-dev 2021-10-26 18:37:58 +00:00
Sunny Goyal eed4bbfb49 Using a different transition for All-set activity
Bug: 201797003
Test: Manual
Change-Id: I33b342ca224ab283e2ac475d4defe2eac6a87bb8
2021-10-26 11:25:32 -07:00
TreeHugger Robot ddefceae62 Merge "Make sure distinct widgets items are used when mapping widget component names to widget items." into sc-v2-dev am: 3bd6b8bf81
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16116819

Change-Id: I456cdc5445b344d7cce23e8cea49ca22cebdcd8f
2021-10-26 18:24:47 +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 3bd6b8bf81 Merge "Make sure distinct widgets items are used when mapping widget component names to widget items." into sc-v2-dev 2021-10-26 18:01:48 +00:00
Tony Wickham d6123537c5 Merge "Hide taskbar background when notification shade is expanded" into sc-v2-dev am: add188f339
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16102657

Change-Id: I6b49aa2008b6cebe4e66ef9a0036863ae47cbbfa
2021-10-26 03:09:37 +00:00
Tony Wickham add188f339 Merge "Hide taskbar background when notification shade is expanded" into sc-v2-dev 2021-10-26 02:56:47 +00:00
TreeHugger Robot 763405dfca Merge "Fix the remove button icon not centered when the home screen is in landscape." into sc-v2-dev am: 8935b22cd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16087348

Change-Id: I5d4e7cac925a706b45860c6241427c63b2e076bf
2021-10-26 00:20:51 +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
Schneider Victor-tulias 1bda3e7424 Fix overview clear all tasks button text color.
Test: checked button on dark/light mode on a wallpaper similar to bug
Fixes: 203198804
Change-Id: I03e663422d2cdba63f3c5953741b5c0bd722fccf
2021-10-25 16:49:36 -07:00
Alex Chau 2a6e9abf6a Merge "Avoid calling getIconResult if recycle is called after request is queued" into sc-v2-dev am: 4941b84717
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118639

Change-Id: Ib777b424001d84513d4ebb4151cc10e815fdf4fc
2021-10-25 23:38:32 +00:00
TreeHugger Robot d9a4c9b03f Merge "Fix launching window bounds for immersive apps" into sc-v2-dev am: c6649763a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049085

Change-Id: If1a2ff2d40d937ca1813522b544bd3572742b341
2021-10-25 23:38:21 +00:00
Alex Chau 4941b84717 Merge "Avoid calling getIconResult if recycle is called after request is queued" into sc-v2-dev 2021-10-25 23:30:32 +00:00
TreeHugger Robot c6649763a7 Merge "Fix launching window bounds for immersive apps" into sc-v2-dev 2021-10-25 23:20:47 +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
Tony Wickham 232e9a4631 Hide taskbar background when notification shade is expanded
- In 3 button mode, don't hide the background but do ensure nav buttons are translated down when swiping to notificaitons from the home screen

Test: swipe down notifications, background hides in 0 button mode but not in 3 button mode
Fixes: 199163951
Change-Id: Ic70adc7d67b2ab7c92a2d5d846b9b259d1bd7bfc
2021-10-25 13:44:09 -07: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
Alex Chau 6b465023e0 Fix TaskView jumping caused by split select am: 39da1f78da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16095449

Change-Id: I26f0067df68088d9aba94ce8f83aa28d0882a468
2021-10-25 17:48:45 +00:00
Alina Zaidi fa37c6742e Make sure distinct widgets items are used when mapping widget component
names to widget items.

This is to prevent a crash on duplicate key when creating map.

Bug: 204065759
Test: Enabled flag and got no crash
Change-Id: Ice9f93af76c02eeba53c934687358ed806c60b60
2021-10-25 16:10:45 +01:00
Alex Chau 39da1f78da Fix TaskView jumping caused by split select
- Never apply split select translation to grid overview, instead use dismiss translation to make space to split placeholder to minimize motion and avoid janky double movement
- Ensures snapping to last task for end of grid split cases
- Adjust mCurrentPageScrollDiff due to coordinate shift
- Use longGridRowWidthDiff to shift all task to make space for split placeholder
- Also fixed a bug that split translation isn't reset if entering overview immediately after exit

Bug: 200537815
Test: manual
Change-Id: Ie1b57c34ce4bb079f898ba5b7c3464a714021847
2021-10-25 15:38:34 +01:00
Bill Yi 810cd5ef2b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f2e186c6df -s ours am: 91c07c1875 -s ours am: e4a0f112a9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I49dfa31211682ae9f43c64686bfe27b1cd63e944
2021-10-22 02:01:37 +00:00
Bill Yi e4a0f112a9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f2e186c6df -s ours am: 91c07c1875 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie254c7af34b7db84f1858680f4fe5297b46b67e6
2021-10-22 01:50:31 +00:00
TreeHugger Robot 8ac8f535bb Merge changes from topic "presubmit-am-cb4679fd6eb1414cb720168b20bbb591" into sc-qpr1-dev am: f409849bc4 am: 85da1db1aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16097527

Change-Id: I4b3985e504b04910cc8d273b46534543ae253c12
2021-10-22 01:45:17 +00:00
Bill Yi 36cbb2657b [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: f2e186c6df am: a72c102031 -s ours am: 7bb30c848f -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic0aa86baaaa5cdccd48915fcbbbdd9274aa5ac37
2021-10-22 01:45:17 +00:00
TreeHugger Robot 2088ca567d Merge changes from topic "presubmit-am-cb4679fd6eb1414cb720168b20bbb591" into sc-qpr1-dev am: f409849bc4 am: 45066a9fca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16097527

Change-Id: I26124ef2346882a78f8fb2cf5536fb1b8c046181
2021-10-22 01:45:03 +00:00
Bill Yi f7d1ff7ff2 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: f2e186c6df am: a72c102031 -s ours am: 0bcb9d1ebc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I08e27d3c36a81a3ffcf5d8fdfbb3b047597f1f5f
2021-10-22 01:45:03 +00:00
Bill Yi a770674274 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dda2a04183 -s ours am: a69d7317fc -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibb8d262e3bc1f3908c41363d224b0f27a26c3ce9
2021-10-22 01:44:53 +00:00
Bill Yi b7459a7f5f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dda2a04183 -s ours am: cabc741d2a -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie107d9b64c73373f1c4efb3e1875789fae512581
2021-10-22 01:44:46 +00:00
Bill Yi 91c07c1875 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f2e186c6df -s ours
am skip reason: subject contains skip directive

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

Change-Id: I20259e8d27e3e6552e9c0658819b97f34b02b56c
2021-10-22 01:32:58 +00:00
TreeHugger Robot 45066a9fca Merge changes from topic "presubmit-am-cb4679fd6eb1414cb720168b20bbb591" into sc-qpr1-dev am: f409849bc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16097527

Change-Id: I8e6789fd067cf1706a45ccc2bcffa783459bef65
2021-10-22 01:27:33 +00:00
Bill Yi 0bcb9d1ebc [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: f2e186c6df am: a72c102031 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I588c8314b33d70aeea789a506d8e952e3e822805
2021-10-22 01:27:32 +00:00
TreeHugger Robot 85da1db1aa Merge changes from topic "presubmit-am-cb4679fd6eb1414cb720168b20bbb591" into sc-qpr1-dev am: f409849bc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16097527

Change-Id: I67aaa34d281376260aa4bd8e5cc4fcef49402932
2021-10-22 01:27:31 +00:00
Bill Yi 7bb30c848f [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: f2e186c6df am: a72c102031 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I62b04a7d14e92ab68cfa04d179314b9b63334c3c
2021-10-22 01:27:30 +00:00
Bill Yi a69d7317fc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dda2a04183 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If248f35638fae7d66b6e281b20418946a837698b
2021-10-22 01:27:21 +00:00
Bill Yi cabc741d2a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dda2a04183 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibf0a4719fd4135a485ac37cbafda1f630a7dd21a
2021-10-22 01:27:21 +00:00
TreeHugger Robot f409849bc4 Merge changes from topic "presubmit-am-cb4679fd6eb1414cb720168b20bbb591" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: f2e186c6df
  Import translations. DO NOT MERGE ANYWHERE
2021-10-22 01:13:07 +00:00
TreeHugger Robot eaaab73d47 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 7c15035bfd -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibe96032902d2e019117a02d8edd391148b3300fd
2021-10-22 01:05:24 +00:00
TreeHugger Robot 5823633c1d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 92203abe18 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3133e25fc82e98bfacfb547900822e0259ee7428
2021-10-22 01:04:27 +00:00
TreeHugger Robot 7c15035bfd Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-22 00:54:20 +00:00
TreeHugger Robot 92203abe18 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-22 00:52:12 +00:00
Alex Chau f148cd53c7 Ignore testOverviewForTablet until root cause of cuttlefish failure is found. am: 385a6b9caa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16102445

Change-Id: Ibff55762ec82ad6a9737e89b6e7f71d7263badd1
2021-10-21 22:31:11 +00:00
Alex Chau 385a6b9caa Ignore testOverviewForTablet until root cause of cuttlefish failure is found.
Test: TaplTestQuickstep.java
Bug: 203781041
Change-Id: I9b6f658ab8f55beafaf784d7a374e2780a591089
Merged-In: I9b6f658ab8f55beafaf784d7a374e2780a591089
2021-10-21 21:30:23 +00:00
Makoto Onuki 92eef8561f Merge "Revert "Ignore testOverviewForTablet until root cause of cuttlefish failure is found."" into sc-v2-dev am: 1b5e2679a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16102337

Change-Id: I467315c297aa164dc5f34a6bae87e82ee2509e93
2021-10-21 21:02:39 +00:00
TreeHugger Robot a15ea27e04 Merge "Bugfix where the widget handles appear even when you can't resize it." into sc-v2-dev am: d4df41b78f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065847

Change-Id: Ibd3a748e17686435dcb50295345b3cb87e5dd0fa
2021-10-21 21:02:33 +00:00
Makoto Onuki 1b5e2679a4 Merge "Revert "Ignore testOverviewForTablet until root cause of cuttlefish failure is found."" into sc-v2-dev 2021-10-21 20:49:20 +00:00