Commit Graph

83004 Commits

Author SHA1 Message Date
Treehugger Robot eeebf0111b Merge "Don't allow drag n drops to auto-switch pages during accessibility item moves." into main 2024-12-16 09:36:34 -08:00
Saumya Prakash 54c6cf7c38 Close the multi instance menu when other things open
This change ensures that if open, the Taskbar multi instance menu will close when
another long press app menu is launched, when a folder is opened, or
when Taskbar all apps is opened.

Fix: 383510315
Test: Open Taskbar multi instance menu and ensure it closes when other
views are opening (Taskbar all apps, a folder, and app long press menu)
Flag: com.android.launcher3.enable_multi_instance_menu_taskbar

Change-Id: Id2d64c86a76978af8db56d3a083dc79a677a1a5d
2024-12-16 08:54:42 -08:00
Johannes Gallmann c812907eb8 Merge "Add blur effect to predictive back-to-home animation" into main 2024-12-16 05:50:34 -08:00
Gustav Sennton c66964125c Merge "Revert "Open Task into Desktop Mode when Taksbar is in DesktopMode"" into main 2024-12-16 05:42:38 -08:00
Xin Li 31814b7513 [automerger skipped] Merge "Merge 24Q4 into AOSP main" into main am: 848a909f3d -s ours am: 1ea0b3a66f -s ours
am skip reason: Merged-In Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909 with SHA-1 c53bf7890a is already in history

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

Change-Id: I682485435029f912f4ca9d45880c31f1e255c6fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 22:03:24 -08:00
Xin Li dbddac3522 [automerger skipped] Merge 24Q4 into AOSP main am: 078f13fca8 -s ours am: 829423919d -s ours
am skip reason: Merged-In Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909 with SHA-1 c53bf7890a is already in history

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

Change-Id: Ib02d0fae559af1a35335673f4a8a5919a2b2487f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 22:03:19 -08:00
Xin Li 1ea0b3a66f [automerger skipped] Merge "Merge 24Q4 into AOSP main" into main am: 848a909f3d -s ours
am skip reason: Merged-In Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909 with SHA-1 c53bf7890a is already in history

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

Change-Id: I2c39ed933c0eb46e91a59099edc6e030f7abfe08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:18:34 -08:00
Xin Li 829423919d [automerger skipped] Merge 24Q4 into AOSP main am: 078f13fca8 -s ours
am skip reason: Merged-In Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909 with SHA-1 c53bf7890a is already in history

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

Change-Id: I0c880bb1ff134d6960bdc501465a04edf6403b19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:18:31 -08:00
Andy Wickham f6850bd4f2 Handle cancelled All Apps transitions.
Previously if this was cancelled mid-animation, the background
panel could get stuck on the screen.

To reproduce this consistently, I automatically cancelled the
animation 50ms after it started. Here's how that looked:
 - Before: https://drive.google.com/file/d/1tiW7mFehk3of-qYe1_HBZSmJLjU4VVmv/view?usp=drive_link&resourcekey=0-tH7YccjcNuXe8qKaL_8H2w
 - After: https://drive.google.com/file/d/1XpRy8FusaSZkJTGa7FHhUuqMUHkeI_UA/view?usp=drive_link&resourcekey=0-gvoyXE3puv7lW78kgKLEng

Fix: 383731295
Test: Manual
Flag: EXEMPT bugfix
Change-Id: I9423b75800a002419a56a3fe3f93b2e7350aeaa0
2024-12-13 17:59:32 -08:00
Liran Binyamin 38dc7ef520 Fix bar visibility after dismissing while stashed
When updating the bubble bar visibility, allow it to become visible
if the only hidden bit is the stashed one and we're animating.

This fixes the visibility issue that appears after dismissing the
bar while stashed, and then sending an initial bubble, while still
stashed.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 383620113
Test: manual
       - create bubble
       - launch app
       - dismiss bubble with adb
       - create bubble with adb
       - observe bubble bar is visible during the animation
Change-Id: I7a955de068867829b3ccab11b2b0adc8d8e10239
2024-12-13 20:30:47 -05:00
Mykola Podolian 19e6afa1f6 Merge "Align the adjusted hotseat drop animation with the hotseat" into main 2024-12-13 17:13:30 -08:00
Wen-chien Wang ad0b62daad Merge "pin-shortcut: Add pin shortcut to the context menu" into main 2024-12-13 17:00:42 -08:00
Xin Li 848a909f3d Merge "Merge 24Q4 into AOSP main" into main 2024-12-13 16:57:21 -08:00
Stefan Andonian 0f4e5e974d Don't allow drag n drops to auto-switch pages during accessibility item moves.
Bug: 379798547
Test: Manually tested this on device.
Flag: EXEMPT bug fix
Change-Id: Ic19a0d167525d5500ed1dacd3dcaaa4550b11261
2024-12-13 16:11:08 -08:00
Wen-Chien Wang 2badfc7ebc pin-shortcut: Add pin shortcut to the context menu
This cl adds the pin shortcut option to the context menu, where
it works on Home launcher, hotseat, and pinned apps on the
taskbar.
Currently the option is a no-op.

Bug: 375648361
Test: Manual. Recording uploaded to buganizer
Flag: com.android.launcher3.enable_pinning_app_with_context_menu
Change-Id: I5d1284a6e909fd75f14e81c3ae713da3cdc01ce3
2024-12-13 22:49:52 +00:00
Treehugger Robot 5849df4002 Merge "[-1] Fix flicker of -1 when swipe up to exit -1 isn't fast enough" into main 2024-12-13 14:02:46 -08:00
Fengjiang Li b8b16bd288 [-1] Fix flicker of -1 when swipe up to exit -1 isn't fast enough
Fix: 381017761
Flag: NONE - released code
Test: manual - record a video
Change-Id: I5bda4a234cdcc8227d4feb9a92a174d07e46f7a2
2024-12-13 12:11:41 -08:00
Treehugger Robot 9b6c58e6a9 Merge "Do not rely on getTaskViewCount to iterate TaskViews" into main 2024-12-13 11:59:41 -08:00
Sebastián Franco 6f3213b260 Merge "Prevent Hotseat jank when switching Fixed Landscape setting" into main 2024-12-13 11:51:46 -08:00
Stefan Andonian 4e3d6a5d6e Merge "Log.wtf if DeleteDropTarget "canRemove", but doesn't remove item from the database." into main 2024-12-13 11:33:34 -08:00
Xin Li 078f13fca8 Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: Iaa1d8352b628aeb47f79a5c8e59256a3c45a2909
Change-Id: Ie23029dc17b8bee64cd8bfc9638057dc3d062950
2024-12-13 11:15:20 -08:00
Sebastian Franco f2b9190c64 Adding logs to see what is triggering rotation changes
Bug: 380940677
Test: NA
Flag: com.android.launcher3.one_grid_specs
Change-Id: I393232b410a4b961d3cbdd39766a403f994610e7
2024-12-13 11:08:43 -08:00
Sebastián Franco 24e9e55bca Merge "Setting mIsFixedLandscape as the first if condition while fixing 380940677" into main 2024-12-13 11:08:09 -08:00
minch 8cf0df7f96 Do not rely on getTaskViewCount to iterate TaskViews
Using `getChildCount` to iterate TaskViews instead of
`getTaskViewCount` when indices are used. As it is not safe to assume
the TaskView starts from index 0.

Flag: EXEMPT as no functionality changes
Bug: 379942019
Test: Manual
Change-Id: I599b5117f0848e429ebf83fc4b85451e52b4bcab
2024-12-13 10:12:34 -08:00
Treehugger Robot 4d295d0867 Merge "Migrate to TaskViewsIterable & TaskViewsIterator - [2/n]" into main 2024-12-13 09:49:39 -08:00
Charlie Anderson 9a2e3a715b Merge "Add new failsafe to disable new archiving broadcast" into main 2024-12-13 07:33:49 -08:00
Charlie Anderson e18eac02b9 Merge "Fix user for InstallSessionHelperTest HSUM failures" into main 2024-12-13 07:31:23 -08:00
Schneider Victor-tulias 0b9deb2d0d Merge "Update ProtoLogProxy classes to only log to protolog when protolog has been initialized" into main 2024-12-13 06:43:57 -08:00
Treehugger Robot f340be6e4f Merge "Replacing all int lookup flags and boolean overrides with an object to make it easier to extend options" into main 2024-12-13 06:20:44 -08:00
Alex Chau fa39d7478d Merge "Pass RecentsView reference to RecentsViewUtils to simplify code" into main 2024-12-13 06:12:31 -08:00
Johannes Gallmann b5d923f17a Merge "Add depth animation to predictive back to home" into main 2024-12-13 05:43:35 -08:00
Artsiom Mitrokhin 4c7663768d Merge "Add haptics for opening taskbar pinning popup view from anywhere" into main 2024-12-13 05:34:00 -08:00
Gustav Sennton 027a0fb35f Revert "Open Task into Desktop Mode when Taksbar is in DesktopMode"
This reverts commit d87722d396.

Reason for revert: causes b/383976643

Change-Id: Ib862599e84a6f61133819797a1ba51b79fe1f745
2024-12-13 05:13:38 -08:00
Alex Chau ec1883b261 Pass RecentsView reference to RecentsViewUtils to simplify code
- RecentsViewUtils is owned by RecentsView, it's safe to have an instance of RecentsView to simplify a lot of call sites

Fix: 383999010
Test: presubmit
Flag: EXEMPT refactor
Change-Id: I69f991ea137b30e0297df825b78ad431f6388af8
2024-12-13 12:21:47 +00:00
Johannes Gallmann 8d5fd05718 Add blur effect to predictive back-to-home animation
Bug: 342178850
Flag: com.android.launcher3.predictive_back_to_home_blur
Test: Manual, i.e. testing predictive back-to-home animation on device
Change-Id: I6295353d910ad8597477b722de3a87f93ee0297c
2024-12-13 11:44:07 +00:00
Johannes Gallmann 998e11e0a5 Add depth animation to predictive back to home
Setting the depth when predictive back to home is started. This will be animated to NORMAL state by ScalingWorkspaceRevealAnim on back gesture commit.

Bug: 382453424
Flag: com.android.launcher3.predictive_back_to_home_polish
Test: Manual, i.e. testing predictive back-to-home animation on device
Change-Id: Id33f49d78aae268b7d89035cce58065f6a60a8bf
2024-12-13 11:44:06 +00:00
Johannes Gallmann 9b524b0f60 Merge "Play workspace reveal animation for predictive back-to-home" into main 2024-12-13 02:10:17 -08:00
Sihua Ma 48db4ef770 Move model tests to multivalent
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: EXEMPT test only
Change-Id: I751c449561175d3c7c5a770b7b30bc4f24c1cd44
2024-12-13 05:51:51 +00:00
Sunny Goyal 18e480838a Replacing all int lookup flags and boolean overrides with an object to make it easier to extend options
Bug: 381897614
Bug: 366237794
Flag: EXEMPT refactor
Test: atest CacheLookupFlagTest
Change-Id: Ic89d48dd1c5dc8b0a89b1898cd7b00d9c61d6513
2024-12-12 18:32:55 -08:00
mpodolian 8a28b39f4d Align the adjusted hotseat drop animation with the hotseat
Adjusted the hotseat drop animation to ensure the drop target moves to
the correct position.

Fixes: 383199528
Flag: com.android.wm.shell.enable_bubble_bar
Test: Manual:
http: //recall/-/gx8ASgewUeUS3QYohfrd1J/cL46nBGrr6yCA19FD9I5vs
Change-Id: I16fa9710246ce263374d06cfa796a72a7a4d5437
2024-12-12 17:58:23 -08:00
Sebastian Franco dabf02fd86 Prevent Hotseat jank when switching Fixed Landscape setting
Fix: 380998389
Test: HomeScreenImageTest
Flag: com.android.launcher3.one_grid_specs
Change-Id: I6e7334b9f5b3d6abab57d461987db64fe3700ac4
2024-12-12 17:32:11 -08:00
Stefan Andonian b64026135f Log.wtf if DeleteDropTarget "canRemove", but doesn't remove item from the database.
Bug: 379606516
Test: Verified locally that these logs show when hard-coded to appear. Also verified that normal usage doesn't cause crashes.
Flag: EXEMPT bug logs
Change-Id: Iadc67f4a063f5924c758468c6b227b23368fc192
2024-12-13 00:41:06 +00:00
Liran Binyamin 0f0394c597 Merge "Fix bubble bar visibility issue" into main 2024-12-12 15:36:42 -08:00
Liran Binyamin 138dd0bc5f Fix bubble bar visibility issue
Update the bubble bar visibility for the initial bubble if the animation
is suppressed, e.g. if we're creating the bubble when the shade is open.

Flag: com.android.wm.shell.enable_bubble_bar
Bug: 382693837
Test: manual
       - enable bubbles
       - remove all conversations from the list of allowed to bubble
       - create notification
       - open shade and click on the bubble button to bubble the notification
       - observe bubble bar becomes visible

Change-Id: If771c28998b2b091f4f1ab38001e9485ed1ed849
2024-12-12 15:36:29 -08:00
Sunny Goyal daf46a09b2 Merge "Moving WMProxy to dagger" into main 2024-12-12 15:27:19 -08:00
Brandon Dayauon d660052416 Fix swipe up to home gesture when entering scheduler page
bug: 383491628
Test video: https://drive.google.com/file/d/1brSO55cBeZZMTLq5dZ-rNO7Z-aeytghe/view?usp=sharing
Flag: com.android.launcher3.work_scheduler_in_work_profile

Change-Id: I0a8e0b64ac175ef6ccfc4f2db1b751ea6aef6995
2024-12-12 15:16:12 -08:00
Schneider Victor-Tulias 7fb1d6d53b Update ProtoLogProxy classes to only log to protolog when protolog has been initialized
Flag: com.android.launcher3.enable_active_gesture_proto_log
Flag: com.android.launcher3.enable_recents_window_proto_log
Flag: com.android.launcher3.enable_state_manager_proto_log
Fixes: 381846204
Test: ran launcher and checked logs
Change-Id: I807326bd6c65b8e51f5302ba58eed841c23216f6
2024-12-12 15:03:56 -05:00
Brandon Dayauon 1d1bffbf0b Merge "Fix unintended scroll in all apps when using external mouse." into main 2024-12-12 11:37:31 -08:00
minch b344bc1fb6 Migrate to TaskViewsIterable & TaskViewsIterator - [2/n]
Flag: EXEMPT as no functionality changes
Bug: 379942019
Test: Manual
Change-Id: I9bd1bad7a9eb8a3cc8333f37e3b535975a5ce0b6
2024-12-12 11:29:48 -08:00
Ats Jenk 49319240dd Merge "Handle suppressed bubbles" into main 2024-12-12 10:12:45 -08:00