Commit Graph
60327 Commits
Author SHA1 Message Date
Schneider Victor-tulias d8e5795131 Merge "Fix TwoPanelWorkspaceTests" into tm-qpr-dev am: 90259a6db4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22185922

Change-Id: I916c0e191cb2e335b9e393ea76c34cff39778481
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 16:47:04 +00:00
Riddle Hsu b1ca1b777f Reduce no-op IPC when swiping up
In SplitScreenController#onGoingToRecentsLegacy, it also ignores:
if (ENABLE_SHELL_TRANSITIONS) return null;

This avoids a latency from the 2-way IPC before calling
RecentsAnimationListener#onRecentsAnimationStart.

Bug: 275508603
Test: Swipe-up
Change-Id: If1aa847bd92b2a16812a5181b4476d9a35619a76
2023-03-30 15:49:40 +00:00
Charlie Anderson a2dc0a1a9c prevent some clipping for popup shortcuts on small screens / landscape
Test: run failing test
Bug: 275115239
Change-Id: I9278f6e1c1835a8ec6a4f363e237c64fd199716a
2023-03-30 15:08:36 +00:00
Arthur Hung b5c44b60c0 Merge "Handling statusbar color when back navigation (2/2)" into udc-dev 2023-03-30 11:23:03 +00:00
TreeHugger Robot cba5d7b5c5 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-03-30 08:58:51 +00:00
Jagrut Desai d1d0fb8607 Merge "Taskbar System Action with Broadcast Receiver." into tm-qpr-dev 2023-03-29 23:26:26 +00:00
Tony Wickham 52f046e027 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
Merged-In: I06ca0eccbfe313dbae8f6d96c7c09bb659f6a27b
2023-03-29 23:10:11 +00:00
Jon Miranda e008411f00 Merge "Align taskbar so that it does not overlap with nav buttons." into tm-qpr-dev 2023-03-29 23:04:43 +00:00
TreeHugger Robot 2514a15a85 Merge "Don't stash immediately when drag was canceled" into udc-dev 2023-03-29 23:04:38 +00:00
TreeHugger Robot 495c7819ef Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-03-29 22:22:16 +00:00
Andy Wickham 23f7d82831 Don't move down all apps container when touching near scroll bar.
Previously we were using any touch outside of the panel to move
the container, but we want to check this last, after checking if
the touch is near the scrollbar (in which case it should intercept
instead).

Test: Manual
Flag: N/A
Fix: 236661990
Change-Id: I518c546356d1f6c6cedf4b31fa621295dd090175
2023-03-29 22:04:11 +00:00
Andrew Cole 6cb7469564 Merge "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" into tm-qpr-dev 2023-03-29 21:47:49 +00:00
Sunny Goyal 1fc1cd002f Merge "Revert "Simplifying some page indicator dots attributes so that it can"" into udc-dev 2023-03-29 21:22:10 +00:00
Jon Miranda 156ff34f35 Align taskbar so that it does not overlap with nav buttons.
Fixes: 275510698
Bug: 259712417
Test: View device where taskbar should be start aligned
      Update Display size to make everything bigger
      Observe that taskbar icons never overlap nav buttons
Flag: ENABLE_TRANSIENT_TASKBAR true

Change-Id: I246374518f21c4b92d3e02e5582c929a471d9305
2023-03-29 21:04:03 +00:00
Sunny Goyal 0263a679f2 Revert "Simplifying some page indicator dots attributes so that it can"
This reverts commit a5ead45967.

Reason for revert: b/274169859

Change-Id: Id214694ae4f61cd70796c6f7e932c1fdef82d746
2023-03-29 19:11:03 +00:00
Schneider Victor-tulias 1db2fcbd19 Merge "Add the gesture nav tutorial menu page" into tm-qpr-dev 2023-03-29 18:54:22 +00:00
Brian Isganitis d43d7c3702 Clean up device profile change listeners for AllApps.
Test: https://b.corp.google.com/issues/260177372#comment1
Bug: 260177372
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d17261029af89ef03b860686d1d3c6651e7c8e13)
Merged-In: Ic7417980e8280bf2fcb110e5de74ea2ae59d9b74
Change-Id: Ic7417980e8280bf2fcb110e5de74ea2ae59d9b74
2023-03-29 18:46:47 +00:00
Vinit Nayak e6d86e20aa Consolidate WorkProfileTest "@After" methods
* There were two separate methods, which can run in
any order. Consolidate to reduce variability

Bug: 243688989
Change-Id: Ic924aa8a5d75505aecf6c830c63a85a0d2028d83
2023-03-29 18:21:45 +00:00
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