Brian Isganitis
d17261029a
Clean up device profile change listeners for AllApps.
...
Test: https://b.corp.google.com/issues/260177372#comment1
Bug: 260177372
Change-Id: Ic7417980e8280bf2fcb110e5de74ea2ae59d9b74
2023-03-29 14:18:14 -04:00
Jeremy Sim
3f10b13a09
Merge "Create flag for new App Pairs feature" into udc-dev
2023-03-29 18:08:35 +00:00
Jagrut Desai
d2140ba498
Taskbar System Action with Broadcast Receiver.
...
Test: Manual
Bug: 265618836
Change-Id: I734402ef277a09cf5e41aa63f8be09375706c17a
2023-03-29 10:37:45 -07:00
Andrew Cole
3ae7be6293
Fixing an issue with the drop target font becoming very small for removing and uninstalling. I also verified that this doesnt break a fix presented in b/264732627
...
Fix: 274402490
Test: Manual
Change-Id: Id61cf7e33f83e0cb25c82b5e7b167b04657fd612
2023-03-29 17:21:34 +00:00
Andrew Cole
4c2922225a
Fixing an issue with the drop target font becoming very small for removing and uninstalling. I also verified that this doesnt break a fix presented in b/264732627
...
Fix: 274402490
Test: Manual
Change-Id: Id61cf7e33f83e0cb25c82b5e7b167b04657fd612
2023-03-29 17:20:49 +00:00
Schneider Victor-tulias
90259a6db4
Merge "Fix TwoPanelWorkspaceTests" into tm-qpr-dev
2023-03-29 17:03:59 +00:00
Jerry Chang
7e51edd808
Fix wrong surface positioning when animating a split pair to home
...
Use the screen based position instead of parent-relative position to
make sure the surface was placing at the expected position while
animation apps to home.
Bug: 273685456
Test: http://recall/-/fLARJNt42LVxc3tt86SneW/c2pLS6FwyEMweiLiWqqzPa
Change-Id: Iea79e6d2b9ab591fe18c5ac7a0d89bb90a461145
2023-03-29 07:21:33 +00:00
Sunny Goyal
89a272fd0d
Merge "Updating PinShortcutRequestActivityInfo to provide pinRequest lazily" into tm-qpr-dev am: e1471d3acd am: 6589b4020b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22318893
Change-Id: Ia7720436df295ba130410cd8ba5237585d676fa4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-29 06:34:14 +00:00
Sunny Goyal
6589b4020b
Merge "Updating PinShortcutRequestActivityInfo to provide pinRequest lazily" into tm-qpr-dev am: e1471d3acd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22318893
Change-Id: I38621d4470db873fd0b3b1b1b38047018cbcdec2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-29 06:04:26 +00:00
Sunny Goyal
e1471d3acd
Merge "Updating PinShortcutRequestActivityInfo to provide pinRequest lazily" into tm-qpr-dev
2023-03-29 05:42:02 +00:00
Bill Yi
4a7f7025b7
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Idd3d822debe118ff239dbbcac121170df81769f0
2023-03-28 20:05:36 -07:00
Bill Yi
5f5627ec20
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ie923f09baaaa91bce6f664b48a6690b928166b53
2023-03-28 20:05:00 -07:00
TreeHugger Robot
d48a6fb4b7
Merge "Scroll to top when new header is selected in two pane widget picker" into udc-dev
2023-03-28 23:22:59 +00:00
Saumya Prakash
c63702b6b4
Merge "Add extra error checking for Home Gesture Tutorial" into tm-qpr-dev am: eed10f31f7 am: 95c9996088
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22296252
Change-Id: I7afe22edddb59609ec9bf9ac736f4facf4fe630c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-28 22:58:57 +00:00
Randy Pfohl
5c588c95b4
Merge "checking if outline provider is null to handle rare NPE" into tm-qpr-dev am: 40f065d1fd am: a402713eb2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21995352
Change-Id: I7f20393c364b09d13e2c7027ddf85ac6552e62f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-28 22:58:47 +00:00
Saumya Prakash
95c9996088
Merge "Add extra error checking for Home Gesture Tutorial" into tm-qpr-dev am: eed10f31f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22296252
Change-Id: I0222aa84ca570dd7aa97880fee3d54877c990660
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-28 22:45:21 +00:00
Saumya Prakash
eed10f31f7
Merge "Add extra error checking for Home Gesture Tutorial" into tm-qpr-dev
2023-03-28 22:30:56 +00:00
Tony Wickham
c691dcba5a
Don't stash immediately when drag was canceled
...
Instead, keep the taskbar open for the normal timeout.
Test: Drag an app from taskbar and drop back in taskbar, ensure taskbar
stays open until 5 second timeout; Drag an app from taskbar and drop
into split screen, ensure taskbar stashes immediately
Flag: ENABLE_TRANSIENT_TASKBAR true
Fixes: 275019813
Change-Id: I06ca0eccbfe313dbae8f6d96c7c09bb659f6a27b
2023-03-28 22:29:26 +00:00
Randy Pfohl
a402713eb2
Merge "checking if outline provider is null to handle rare NPE" into tm-qpr-dev am: 40f065d1fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21995352
Change-Id: I031594c4dc3fd7e230d41a63939995172f1a2534
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-28 22:29:22 +00:00
Randy Pfohl
40f065d1fd
Merge "checking if outline provider is null to handle rare NPE" into tm-qpr-dev
2023-03-28 22:02:03 +00:00
Sunny Goyal
13a6b228a5
Updating PinShortcutRequestActivityInfo to provide pinRequest lazily
...
Bug: 275407282
Test: Verified on device
Change-Id: I81867ada454219b44663b58b942329422fb81196
2023-03-28 13:28:34 -07:00
Jon Miranda
6164ce950a
Merge "Fix transient taskbar icon size in two panel portrait DeviceProfile" into tm-qpr-dev am: e7ab5849d7 am: 705d193aa4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22302207
Change-Id: Ibbcbba586391b902899b0b3e332e0b190266f1f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-28 16:51:01 +00:00
Jeremy Sim
9cc48f3e96
Create flag for new App Pairs feature
...
This patch creates a new Launcher flag for the upcoming App Pairs feature.
Flag: ENABLE_APP_PAIRS
Bug: 274189428
Test: Not needed
Change-Id: I84cfb3742a60bd5633d71bc68e7506ac0c67e55f
2023-03-28 09:50:52 -07:00
Jon Miranda
705d193aa4
Merge "Fix transient taskbar icon size in two panel portrait DeviceProfile" into tm-qpr-dev am: e7ab5849d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22302207
Change-Id: I43bdf6b1a4391c3e0a7313ae014c86cce253d3cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-28 16:23:04 +00:00
Jon Miranda
e7ab5849d7
Merge "Fix transient taskbar icon size in two panel portrait DeviceProfile" into tm-qpr-dev
2023-03-28 15:56:49 +00:00
Jon Miranda
4d74ad3c31
Fix transient taskbar icon size in two panel portrait DeviceProfile
...
Fixes: 275269031
Test: use two panel device
verify taskbar icon size in portrait
verify taskbar icon size in landscape
rotate between the two orientation
Change-Id: I21ae4aee90c3aa54615d8d0881acb40d8b4f351f
2023-03-28 15:55:36 +00:00
fbaron
dfc94fc05f
Scroll to top when new header is selected in two pane widget picker
...
Bug: 275441368
Test: Select a header and scroll, then select a different header and verify that it is scrolled to the top
Change-Id: Ie11d074759e5336ee1bbdec000ab266cf43c2c31
2023-03-28 00:52:35 +00:00
Hyunyoung Song
f296b3421d
Merge "Fix lint error in errorprone target (only in tm-qpr-dev)" into tm-qpr-dev am: ec6c2591c5 am: a9934f00d3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22293181
Change-Id: I143623634c6ba0bc6721dcea7c4913b0f51cf99b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-27 23:29:58 +00:00
Jagrut Desai
4f45b24af9
Merge "Make taskbar accessibility announcement when user is in app only." into tm-qpr-dev am: 6fcdfb166d am: 857c24a3f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22244591
Change-Id: Id5f8e3634a7560a2b0a453421d6b592515381567
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-27 23:29:38 +00:00
Sebastián Franco
59b6888cd8
Merge "Changing global variable for local variable to prevent memory leaks" into tm-qpr-dev am: 9c83077712 am: 35252fd9f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22293180
Change-Id: Ia35796dad7eaca7a090492766591bbb81ba8176f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-27 23:29:02 +00:00
Hyunyoung Song
a9934f00d3
Merge "Fix lint error in errorprone target (only in tm-qpr-dev)" into tm-qpr-dev am: ec6c2591c5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22293181
Change-Id: I57167b224875742ac7f31069e18ebb02460b54b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-27 23:12:58 +00:00
Hyunyoung Song
ec6c2591c5
Merge "Fix lint error in errorprone target (only in tm-qpr-dev)" into tm-qpr-dev
2023-03-27 23:02:38 +00:00
Jagrut Desai
857c24a3f6
Merge "Make taskbar accessibility announcement when user is in app only." into tm-qpr-dev am: 6fcdfb166d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22244591
Change-Id: I7c147e306d91535170485c8cd9c0d0492e8083e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-27 22:58:21 +00:00
Sebastián Franco
35252fd9f2
Merge "Changing global variable for local variable to prevent memory leaks" into tm-qpr-dev am: 9c83077712
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22293180
Change-Id: Ibba08154760e08134e3d649ad39ef016f1206abb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-27 22:58:09 +00:00
Jagrut Desai
6fcdfb166d
Merge "Make taskbar accessibility announcement when user is in app only." into tm-qpr-dev
2023-03-27 22:38:54 +00:00
Sebastián Franco
9c83077712
Merge "Changing global variable for local variable to prevent memory leaks" into tm-qpr-dev
2023-03-27 22:23:26 +00:00
Schneider Victor-tulias
34eb098745
Add debug logs to debug flaky workspace binding
...
Flag: not needed
Bug: 270216650
Test: ReorderWidgets
Change-Id: Ia5caeb6b0e5ed1b0b406fab9c18e2e6799a4f68a
2023-03-27 14:40:36 -07:00
Schneider Victor-tulias
2851be8cba
Add the gesture nav tutorial menu page
...
- Added the gesture tutorial menu page (launched using an intent extra)
- tutorial steps now launch the menu when complete if launched from the menu
- the new default set of tutorial steps is home -> back -> overview. this is to handle the case where an intent is launched that is meant to launch the tutorial menu, but ENABLE_NEW_GESTURE_NAV_TUTORIAL is false
Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 274463555
Test: Ran the tutorial and menu on a large screen, foldable and phone
Change-Id: I2eb5f658115be4d5ecb0233a8f09d22efe6ebadc
2023-03-27 14:36:01 -07:00
Schneider Victor-tulias
7cd0ae3f73
Fix TwoPanelWorkspaceTests
...
- Marking the hotseat long press edu as seen on setup to allow the popup menu to be shown immediately in tests
- Recording onWorkspaceItemLongClick on prediction item long click
Flag: not needed
Fixes: 273239675
Test: TwoPanelWorkspaceTest
Change-Id: I76354fd2e3adde11b2a428374fa9c8855ce2ece9
2023-03-27 14:24:35 -07:00
Randy Pfohl
f96827b331
checking if outline provider is null to handle rare NPE
...
test: verified that a null value wouldn't cause a crash, and would still show the well being toasts correctly. defaulting a value could cause abnormal behavior so I have created a task to follow up with to figure out why this value is being set to null.
bug: 236918951
Change-Id: I9d4282273cb0bc5b6b095dbd082dd1ef79add0dc
2023-03-27 20:18:46 +00:00
Saumya Prakash
f641813483
Add extra error checking for Home Gesture Tutorial
...
Add an error message for when a user swipes horizontally from the middle
of the screen.
Fix: 275386244
Test: Manual
Change-Id: If4d0dd412c3d1625da18f9c068e5fd7b281548c5
2023-03-27 19:56:35 +00:00
Hyunyoung Song
fa9dbe3291
Fix lint error in errorprone target (only in tm-qpr-dev)
...
Bug: 275111546
Test: m out/soong/.intermediates/packages/apps/Launcher3/Launcher3/android_common/lint/lint-baseline.xml
Before: https://paste.googleplex.com/6542806926491648
After: https://paste.googleplex.com/5015617085112320
Change-Id: If486407303b81a38b4a35979e442299f33fa49b2
2023-03-27 18:38:35 +00:00
Sebastian Franco
7cdc616a01
Changing global variable for local variable to prevent memory leaks
...
The array mTmpObjArray is not properly clean but ther is no need
for the array to be global since every time is used is provided
so a use of a local variable will make sure is never leaked.
Fix: 269163620
Test: the flake related to memory leak on testWorkspace should dissapear
Change-Id: I29fb3dd6419f621f2ccce9db2fc5ed86358f7516
2023-03-27 11:18:14 -07:00
Schneider Victor-tulias
f86b574ef8
Merge "Add debug logs to help investigate view and activity leak test failures." into tm-qpr-dev am: afdf2f1020 am: 3bc74626d5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22163529
Change-Id: Iabaad3fe3a5b938bb22e3c8f8b626c510172a948
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-27 18:17:16 +00:00
Schneider Victor-tulias
3bc74626d5
Merge "Add debug logs to help investigate view and activity leak test failures." into tm-qpr-dev am: afdf2f1020
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22163529
Change-Id: Id0a43dbfc13080b07f4ef9d60939f9ea3f6c1b66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-27 17:47:14 +00:00
Schneider Victor-tulias
afdf2f1020
Merge "Add debug logs to help investigate view and activity leak test failures." into tm-qpr-dev
2023-03-27 17:22:02 +00:00
Stefan Andonian
ec6e1975dd
Write ViewCapture data to WmTrace when WindowManager dumps.
...
This allows apps like the Launcher to write ViewCapture data to the
wmtrace directory so it can be shown in their UI. Normally, Launcher
doesn't have the correct file permissions. Also, Launcher's dump method
is called after the wmtrace dir is written to the bug report, so we need
to dump sooner via a callback method invoked inside WindowManager.
Bug: 224595733
Test: Latency tested this change and verified that a bugreport generated
the file properly, moved it to the wmtrace directory, and was picked up
properly by the go/web-hv tool.
Change-Id: I5091208c618cb43e1b65adb8e78bfcddc92e79bf
2023-03-27 16:46:33 +00:00
Shivangi Dubey
a3a8504092
Merge "Transient Taskbar's Background animation" into udc-dev
2023-03-27 11:16:44 +00:00
Hyunyoung Song
42dcf69c2f
Merge "Icon should not disappear on drag and drop" into tm-qpr-dev am: 7eae6a4ce1 am: 739dcca38a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22255567
Change-Id: I64f193bd8d5d7a47cc686f1e4759161d6ad6f5e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-26 08:24:39 +00:00
Hyunyoung Song
739dcca38a
Merge "Icon should not disappear on drag and drop" into tm-qpr-dev am: 7eae6a4ce1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22255567
Change-Id: Ied5d3740325666cc74f407fd0c9d8821bfa8be8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-26 07:57:20 +00:00