Commit Graph
87505 Commits
Author SHA1 Message Date
Alina Zaidi 987221a1cc Send widget added and removed events to AiAi.
-Pass the widgets on workspace as an extra List<AppTargetEvents> while
 creating prediction session.
-Notify the session about widget added/removed events after creation.

Bug: 186648032
Test: Manually checked events are received
Change-Id: I4de6c011a1e24c129a3e995ddba16bfc55074939
2021-10-26 12:29:48 +01:00
Suphon Thanakornpakapong 9156f16787 Replace DeviceFlag with stub 2021-10-26 18:11:10 +07:00
Suphon Thanakornpakapong f69eb16e60 Implement a placeholder destination for icon selection 2021-10-26 18:07:38 +07:00
Suphon Thanakornpakapong ec859f8898 Emulate back press when pressing back 2021-10-26 17:44:23 +07:00
Suphon Thanakornpakapong 51c453d710 Fix crash when restarting launcher 2021-10-26 16:32:15 +07:00
Suphon Thanakornpakapong 8ef3ffe6ff Add closing hint to bottom sheets 2021-10-26 15:55:24 +07:00
Suphon Thanakornpakapong 551d36d4dd Only install bug reporter on main process 2021-10-26 15:41:33 +07:00
Suphon Thanakornpakapong 5d1054338c Implement bug reporter 2021-10-26 15:34:48 +07:00
Suphon Thanakornpakapong 1ed6429fb6 Fix NPE in search bar state handler 2021-10-26 15:20:01 +07:00
Tony Wickham 5a2f61da23 Merge "Hide taskbar background when notification shade is expanded" into sc-v2-dev am: add188f339 am: d6123537c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16102657

Change-Id: I68306fb21825ab94cd8aa46b35ffb0e49bc5a6ac
2021-10-26 03:21:00 +00:00
Tony Wickham a222a0d6d9 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: I447aca295140455bdba48508baef922bda287721
2021-10-26 03:10:09 +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
sfufa@google.com 467d95cef3 [Test] Introduce tracing to identify why pm create-user is failing
Bug: 203817455
Test: presubmit
Change-Id: Iccfa152bea7a914292d566d6dd3e58eb73c38aa4
2021-10-25 18:56:49 -07:00
Suphon Thanakornpakapong 7264892385 Remove release version name suffix 2021-10-26 08:30:32 +07:00
Suphon Thanakornpakapong 8e10f39724 Fix widgets interaction on S 2021-10-26 08:12:25 +07:00
Android Build Coastguard Worker 185be8dc18 Snap for 7853077 from 948d9fb223 to tm-release
Change-Id: Idc13346668d93fea1d4af64d1de7ba764d52defb
2021-10-26 01:08:40 +00:00
Suphon Thanakornpakapong 9b96726c00 Use system accent default on S 2021-10-26 08:08:07 +07: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 8b5fe18795 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: I6c7f31d1b5e38d39551dc82410c869a3fd773802
2021-10-26 00:21:24 +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
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
TreeHugger Robot 17f5239620 Merge "Fix launching window bounds for immersive apps" into sc-v2-dev am: c6649763a7 am: d9a4c9b03f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049085

Change-Id: Ia29cf8a50e9152dbef024b307cb0c2ee5fe0579b
2021-10-25 23:54:42 +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 8c7ff40062 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: I246fce26863074168012589e6b60c64eb863440e
2021-10-25 23:39:38 +00:00
TreeHugger Robot 2aa0bc0f5d 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: I4fbff919b24a13ad948e2d03feff0562c2572db7
2021-10-25 23:39:34 +00: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
Android Build Coastguard Worker 0c2982f5f6 Snap for 7852542 from 39da1f78da to sc-v2-release
Change-Id: I9a419eb0253c433feb4fdd2728f14dda5b433abe
2021-10-25 23:08:06 +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 948d9fb223 Fix TaskView jumping caused by split select am: 39da1f78da am: 6b465023e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16095449

Change-Id: I2c0075c9228de998f8bd97492924663a5c662649
2021-10-25 18:03:00 +00:00
Suphon Thanakornpakapong 264250d96a Fix type conversion in StaticColorToken
This fixes #2263
2021-10-26 00:57:40 +07:00
Alex Chau 062e5650fb 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: Iae8916945942185f8669520e4634c351c8d9405d
2021-10-25 17:50:00 +00: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
Patryk Michalik 91bd3593a8 Bump version code and version name 2021-10-25 18:58:22 +02:00
Patryk Michalik 96dcee762f Bring back LawnchairScrimView 2021-10-25 18:02:18 +02:00
Patryk Michalik 71906e1e20 ScrimView#isScrimDark: Simplify conditional expression 2021-10-25 17:43:35 +02:00
Patryk Michalik d5d16c0cc2 ScrimView: Fix handling of custom App Drawer opacity 2021-10-25 17:39:40 +02:00
Patryk Michalik 2122ab5c62 LawnchairLink: Restrict line count of label to 1 2021-10-25 17:39:40 +02: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
Alex Chau 920be89b26 Clean up IllegalStateException for page pairing
Fix: 198820019
Test: manual
Change-Id: Ic691f781b20d664c57a26370aae479ab68508303
2021-10-25 15:20:16 +01:00
Suphon Thanakornpakapong 26676b2318 Override colors in Themes 2021-10-25 20:04:00 +07:00
Suphon Thanakornpakapong 4442877978 Fallback to Google if there's no configured search provider 2021-10-25 19:57:14 +07:00
Suphon Thanakornpakapong ec8f48a918 Apply ime padding to bottom sheet instead 2021-10-25 19:52:50 +07:00