Tiger Huang
feb184d653
Merge "Use public types to setup InsetsFrameProviders of taskbar" into udc-dev
2023-03-08 05:17:56 +00:00
Stefan Andonian
9abd8cbf14
Allow Binding the First Workspace Page before the Rest.
...
The way WorkspaceBinder is currently setup, any calls to
bindWorkspace will result in the entire workspace being bound
all at the same time. These edits change that. Now callers
like LoaderTask can bind the first workspace pages before the
rest by splitting the WorkspaceBinding into 3 methods that
need to be called in order, but can happen at a staggered cadence.
Bug: 251502424
Test: Loaded and bound the workspace properly.
Change-Id: I28fa721ea95dae2df03e27f600653ba5bebe3ef1
2023-03-08 04:23:43 +00:00
Sihua Ma
0faf13dfa9
Merge "Enable widget host listening in background" into udc-dev
2023-03-08 03:46:00 +00:00
TreeHugger Robot
250008770f
Merge "Adding dither to workspace scrim" into tm-qpr-dev am: e83196187a am: 908da1be6f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21678679
Change-Id: Ic61c0a7f6b99520ef7ede60a0fdb5a3a8d3e6867
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-08 03:06:54 +00:00
TreeHugger Robot
908da1be6f
Merge "Adding dither to workspace scrim" into tm-qpr-dev am: e83196187a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21678679
Change-Id: Id07bd03d9db90a08a8fa1882cbc3f25772f3bdd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-08 02:32:26 +00:00
TreeHugger Robot
e83196187a
Merge "Adding dither to workspace scrim" into tm-qpr-dev
2023-03-08 02:00:36 +00:00
Schneider Victor-tulias
07f324cd9f
Merge "Fix flaky RequestPinItemTests" into tm-qpr-dev am: bd98aef4a4 am: f15fc66db2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21733879
Change-Id: Ied4aba061cee7b58a6cc524e2dbf4960839c5211
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-08 00:27:12 +00:00
Randy Pfohl
a932394f4a
Merge "fixing rare NPE" into tm-qpr-dev am: 1e42ff6353 am: 5864113904
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21692845
Change-Id: I3890dbce16468aec1bbe03e19260f81cc8c3cd7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-08 00:26:59 +00:00
Fengjiang Li
8af9940f4c
Fix NPE of TopTaskTracker
...
Fix: b/270602014
Test: manual
Change-Id: Ifdfedee45edea521cb60dad2b41823b9964e8c11
2023-03-07 16:23:32 -08:00
Schneider Victor-tulias
f15fc66db2
Merge "Fix flaky RequestPinItemTests" into tm-qpr-dev am: bd98aef4a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21733879
Change-Id: I3926c1f9862f7856ed2cb578af59afb9ec5d3da0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 23:52:38 +00:00
Randy Pfohl
5864113904
Merge "fixing rare NPE" into tm-qpr-dev am: 1e42ff6353
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21692845
Change-Id: I073e7a3898fbd75d7af51e139a39ef3fcfb93705
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 23:52:15 +00:00
Schneider Victor-tulias
bd98aef4a4
Merge "Fix flaky RequestPinItemTests" into tm-qpr-dev
2023-03-07 23:36:10 +00:00
Anushree Ganjam
d5f508278e
Merge "Creating enum alias ALL_APPS_SEARCH_RESULT_FALLBACK for ALL_APPS_SEARCH_RESULT_SUGGEST." into tm-qpr-dev am: c01068f42e am: a943df38ac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21805484
Change-Id: I37b3a0228c0df73a9f07d71bb59bc625c2ba9db6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 23:32:52 +00:00
Randy Pfohl
1e42ff6353
Merge "fixing rare NPE" into tm-qpr-dev
2023-03-07 23:22:01 +00:00
Sihua Ma
914549b482
Set the original drawable for floating widget view
...
This ensures that the background of the widget will not disappear after cancelling opening the widget activity.
Normally, when opening and closing the widget activity, the following procedures are executed:
tap on widget
-> opening animation initialized -> opening animation finished
-> close the activity
-> closing animation initialized -> closing animation finished
The steps above would work fine. However, a different set of procedures is followed if we try to cancel opening the widget activity:
tap on widget
-> opening animation initialized
-> opening animation started
-> swipe back before opening animation is completed
-> closing animation initialized
-> opening animation finished
-> closing animation started
-> closing animation finished
During the animation initialization process, FloatingWidgetBackgroundView would be initialized. It will then cache the original background and replace with a temporary drawable with alpha set to 0. The background is only restored at the end of the animation.
If two FloatingWidgetBackgroundView is initialized on the same app widget view before one of them is finished, the second floating view will treat the temporary drawable as the original background. At the end of the closing animation, the temporary drawable with an alpha value of 0 will be set for the app widget view, causing the background of the widget view to disappear.
This CL stores the original drawables into the background view so they could be retrieved during the initialization process of the floating background view.
Test: Manual
Fix: 259526083
Change-Id: Iefa29b22b690076a4fc3fc77fe6eea4b6316f852
2023-03-07 15:20:22 -08:00
Anushree Ganjam
a943df38ac
Merge "Creating enum alias ALL_APPS_SEARCH_RESULT_FALLBACK for ALL_APPS_SEARCH_RESULT_SUGGEST." into tm-qpr-dev am: c01068f42e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21805484
Change-Id: Idfe2d166e0bfc73db8e33a9e9dc35b736941d0a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 22:56:52 +00:00
Ats Jenk
80f4c20f6c
Set desktop icon to always use black for the icon
...
Desktop icon in overview was using a themed color for the icon. But the
background is always a white circle. When using a dark theme, the themed
primary text color is too light. Fixing the color of the icon to be
black always.
Bug: 267326722
Test: enable dark mode, open overview and check the desktop tile icon
Change-Id: Ibcfdfd92ffe2db41cf6ed75c3da8f6457773c2bf
2023-03-07 14:24:37 -08:00
Anushree Ganjam
c01068f42e
Merge "Creating enum alias ALL_APPS_SEARCH_RESULT_FALLBACK for ALL_APPS_SEARCH_RESULT_SUGGEST." into tm-qpr-dev
2023-03-07 22:19:45 +00:00
Schneider Victor-tulias
add179c73c
Merge "Translate the navigation setting text to prevent overlapping with home gesture hint" into tm-qpr-dev am: f1a0bd61f4 am: 673549f1df
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21681580
Change-Id: I08dbf939bc287a84b43e7bcdbaadc9866267b582
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:53:23 +00:00
Schneider Victor-tulias
31f8aef7ac
Update All set page lottie animation files
...
Fixes: 270223298
Test: Ran all set page on large screen device
Change-Id: Ie28c8f40de22b3558f6e9eb76fa39c93640235e0
2023-03-07 13:53:10 -08:00
Jon Miranda
783ecfe114
Merge "Use dY to determine if taskbar nav threshold is met." into tm-qpr-dev am: 05f08214be am: 89d42acf47
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21802101
Change-Id: Iab0604593e39ff62027f3811c5d81a1b776f7b77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:30:36 +00:00
Brandon Dayauon
a679877d2c
Merge "Add logging to testDragAppIconToWorkspaceCell()" into tm-qpr-dev am: 9de1c05cbf am: 6a1f4f0ddb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21532182
Change-Id: I8e07781f484c049dd51982c21ec9e66fe1f0cc5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:30:09 +00:00
Sihua Ma
c6996dd5ef
Merge "Update widget picker row logic to resolve cropping" into tm-qpr-dev am: a245873fed am: 8fa10370ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20696781
Change-Id: I67453fe97d423d2548e6eb160352a6bf8dea0d75
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:28:59 +00:00
Brandon Dayauon
aab27044a1
Merge "Correctly make to spec the color for "Turn on work apps" button and add stroke" into tm-qpr-dev am: d0838d3ac1 am: 76e123820a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21470669
Change-Id: I7281d4c3968a220c2d2fbb0a2468623b02047c84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:24:44 +00:00
Sebastián Franco
69330a80e6
Merge "Decoupling the reorder logic from the CellLayout view" into tm-qpr-dev am: 90ff89e2b9 am: 05eb665281
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20832424
Change-Id: I949f548ab9a2a9e8f136d76d2e0ee0f3ad462f47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:21:34 +00:00
Tony Wickham
e6e0c7d126
Merge "Align taskbar children to Y value instead of X." into tm-qpr-dev am: 7fa1e32f21 am: 8c61868b40
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21787133
Change-Id: Ie6743e057e216710988f45c7e2b5d3e2cff10408
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:14:10 +00:00
Schneider Victor-tulias
673549f1df
Merge "Translate the navigation setting text to prevent overlapping with home gesture hint" into tm-qpr-dev am: f1a0bd61f4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21681580
Change-Id: I76652e3df99cad129f3b1443257b65454c1bf389
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:13:43 +00:00
Brian Isganitis
0e9394b794
[automerger skipped] Merge "Implement light mode for persistent Taskbar." into tm-qpr-dev am: 2790c9dbbf am: ef9514beab -s ours
...
am skip reason: Merged-In I917a1a1be013c304910b0f674ae8a13abb8e47a1 with SHA-1 cae62a563a is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21592661
Change-Id: I2a139bb4e21cc467a9a08eb8689f94c3dd1fdbd6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:03:41 +00:00
TreeHugger Robot
195ef05cc8
Merge "Fix an issue with concurrent modification on widget holders list" into tm-qpr-dev am: f22345eace am: bc74b530aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21694006
Change-Id: I7bd998c8ea8c453f378fc2b65a7eadd8ea11ea96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:03:04 +00:00
Vadim Tryshev
2a3efea5c3
Merge "Making Launcher3Tests "abtd atest"-compatible" into tm-qpr-dev am: 8f7ca126b0 am: bcd0f209db
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21730826
Change-Id: I10b294ad0dbfb4061daf1a85549b9fd5d98cc0cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 21:02:54 +00:00
Johannes Gallmann
10dd8449bf
Merge "Add onEndCallback to ContainerAnimationRunner" into tm-qpr-dev am: 83683829f7 am: 72313feac1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21750179
Change-Id: I55a17ffd869cd33e53296d7aef80e27e88a1cf4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 20:50:00 +00:00
Schneider Victor-tulias
f1a0bd61f4
Merge "Translate the navigation setting text to prevent overlapping with home gesture hint" into tm-qpr-dev
2023-03-07 20:49:22 +00:00
Hyunyoung Song
8a548cfa43
Merge "Hide the splash icon when launching with no view and no item." into tm-qpr-dev am: eeee84efb6 am: a10811b4fe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21447384
Change-Id: I561fe17887572072dd65c271314a896acf9b6724
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 20:42:30 +00:00
Hongwei Wang
8471613528
Merge "Turn ENABLE_PIP_APP_ICON_OVERLAY on by default" into tm-qpr-dev am: 1897e4f40f am: 5f57433ebc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21613694
Change-Id: I2063daa39aac1da9c546b28cab3093cce1f01698
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 20:36:40 +00:00
Jon Miranda
89d42acf47
Merge "Use dY to determine if taskbar nav threshold is met." into tm-qpr-dev am: 05f08214be
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21802101
Change-Id: I08787b44374c195e617fa35147b31232ea4bfcc4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 20:18:02 +00:00
Jon Miranda
05f08214be
Merge "Use dY to determine if taskbar nav threshold is met." into tm-qpr-dev
2023-03-07 20:07:24 +00:00
Brandon Dayauon
6a1f4f0ddb
Merge "Add logging to testDragAppIconToWorkspaceCell()" into tm-qpr-dev am: 9de1c05cbf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21532182
Change-Id: I01961910daa717ea911e1df8d4f0407882456cd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 19:46:03 +00:00
Brandon Dayauon
9de1c05cbf
Merge "Add logging to testDragAppIconToWorkspaceCell()" into tm-qpr-dev
2023-03-07 19:37:44 +00:00
Sihua Ma
8fa10370ef
Merge "Update widget picker row logic to resolve cropping" into tm-qpr-dev am: a245873fed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20696781
Change-Id: Ied0a8552fa8bf21c7c7b599d7ba3a21beaa8ea3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 19:27:55 +00:00
Android Build Coastguard Worker
30d412c3fe
[coastguard skipped] Merge sparse cherrypicks from sparse-9662652-L34400000958984256 into tm-qpr2-release.
...
COASTGUARD_SKIP: I7795abe0aebefca2d42998a672abfd12f951d501
COASTGUARD_SKIP: Ie572a0ae8ae4d687b86ea6a4011b4fdc33b43cd7
Change-Id: I1136d0f649849f51731523c4081424ac8a70fbea
2023-03-07 19:01:57 +00:00
Android Build Coastguard Worker
ba4a1e0b45
Merge cherrypicks of ['googleplex-android-review.googlesource.com/21050546'] into sparse-9662652-L34400000958984256.
...
SPARSE_CHANGE: I7795abe0aebefca2d42998a672abfd12f951d501
Change-Id: Ie572a0ae8ae4d687b86ea6a4011b4fdc33b43cd7
2023-03-07 18:54:52 +00:00
Winson Chung
6c5c183e4c
Prevent falling into OtherActivityInputConsumer when over lockscreen
...
- When opening the emergency dialer from the bouncer, there's a brief
period where notificationPanelExpanded=false and occluded=false which
currently means canStartSystemGesture=true and
isKeyguardShowingOccluded=false, which falls through to other activity
input consumer. In this state, we can't properly finish the gesture
stream because Launcher never shows (it's behind the lockscreen)
and the recents animation never finishes.
Bug: 242704576
Test: atest NexusLauncherTests
Change-Id: I7795abe0aebefca2d42998a672abfd12f951d501
(cherry picked from commit on googleplex-android-review.googlesource.com host: f6d75c98a9 )
Merged-In: I7795abe0aebefca2d42998a672abfd12f951d501
2023-03-07 18:53:40 +00:00
Sihua Ma
a245873fed
Merge "Update widget picker row logic to resolve cropping" into tm-qpr-dev
2023-03-07 18:42:46 +00:00
Schneider Victor-tulias
c3281a42a8
Fix flaky RequestPinItemTests
...
RequestPinItemTest is flaking because launcher hasn't started yet before the tests try to complete gestures. Waiting for launcher to intitialize before running tests.
Fixes: 267201968
Test: RequestPinItemTest
Change-Id: Ib52e00a1ce68fba5d9af9d1c875078f2f60ea248
2023-03-07 10:36:02 -08:00
Thiru Ramasamy
bc8b854c51
Creating enum alias ALL_APPS_SEARCH_RESULT_FALLBACK for ALL_APPS_SEARCH_RESULT_SUGGEST.
...
This is avoid confusing with ALL_APPS_SEARCH_RESULT_WEB_SUGGEST attribute.
Bug: 271186742
Test: Local - http://gpaste/4919299188719616
Change-Id: I2778316feaae4c76a0726cbee61be5d7a72868ed
2023-03-07 17:00:36 +00:00
Jon Miranda
3ed72b4f92
Use dY to determine if taskbar nav threshold is met.
...
Prior to this change, we used absoulte screen values.
With this change, the nav threshold is aligned with all other taskbar
thresholds.
Fixes: 269167210
Bug: 267646355
Test: swipe up to show taskbar
Change-Id: Ie2017577fd640b4173fd5ba10122d6906e74f90a
2023-03-07 16:50:42 +00:00
Nicolas Sleiman
18db8e29ee
Merge "Replace the launcher telephony apps with the default work profile one when using AutoInstalls or when restoring, and when work telephony is enabled." into udc-dev
2023-03-07 16:39:44 +00:00
Randy Pfohl
583241e655
fixing rare NPE
...
test: replaced callback with null pointer and noted same crash error as provided in bug. testing crash to see if it was just small jank or obvious crash. its an obvious cash to user. by exiting earlier the UI isn't as fluid but we will stop crashing.
bug: 261071811
Change-Id: Ia54ee8d4bccdb9de8c042bae8e837216eaac67bb
2023-03-07 16:16:46 +00:00
Mateusz Cicheński
c5cbf0f326
Fix entry bounds for 3 button nav
...
The fix uses the similar approach to shelf height to ensure that the
keep clear area is being updated as soon as possible for quickstep.
Without this, the entry animation finishes before the actual keep
clear area from the view is registered, which causes the PiP to enter
lower right corner and then move up, which was the regression.
Bug: 260779127
Test: manually
Test: http://recall/-/g8x7ZkgdfbqscttAA9wzl9/72aNHwWH5wihwN4gf3mfj
Change-Id: Ide11a903558d7e6cb9e477abe12b81129a7f7afc
2023-03-07 07:50:06 +00:00
Brian Isganitis
c762ef68d4
Log when taskbar is in task switcher container.
...
Test: wwdebug & wwlogcat
Bug: 261177876
Change-Id: Id4eda7ee7e4e2c1aa60e07d5b65410b3847d9ac6
2023-03-07 03:29:21 +00:00