Commit Graph

79419 Commits

Author SHA1 Message Date
Charlie Anderson bad2be4944 Add more logs to investigate empty launcher restore
Flag: EXEMPT logs
Test: presubmit
Bug: 377510898
Change-Id: I1c05b90c9e1337663c4c06703ad14b6c0d00aa07
2024-12-06 22:14:19 +00:00
Bill Yi 3f04014298 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-12-06 21:09:52 +00:00
Treehugger Robot bd203f948d Merge "Fix icon flicker from home-> overview when 3 button navigation is enabled in 3P launcher." into main 2024-12-06 19:52:26 +00:00
Treehugger Robot 07bf3c3085 Merge "Restore fallback Overview state when restarted by theme changes" into main 2024-12-06 19:35:07 +00:00
Treehugger Robot 3e159f5654 Merge "Generalizing monochrome icon into Theme icons" into main 2024-12-06 18:29:07 +00:00
Alex Chau c76d4a8971 Restore fallback Overview state when restarted by theme changes
- Moved RUNTIME_STATE_RECREATE_TO_UPDATE_THEME to StatefulActivity
- Handle uiMode in RecentsActivity
- When RecentsActivity is recreated due to theme changes, restore previous state

Fix: 382072029
Test: Manual: Change light/dark them from QuickSettings while in fallback Overview, Overview stay open
Flag: EXEMPT bugfix
Change-Id: Ia596150afa1436c4a25e94fd2b6930a8ded0b0d4
2024-12-06 17:10:03 +00:00
Winson Chung 3660fe4505 Merge "Add some debug names to various remote transitions" into main 2024-12-06 17:00:32 +00:00
Shamali Patwa 0bcafa66d4 Merge "Use outline color token for bottom sheet." into main 2024-12-06 15:23:45 +00:00
Treehugger Robot 2173882ec6 Merge "Revert "Recycle tasks that are split when split select anim complete for reuse"" into main 2024-12-06 14:37:28 +00:00
vinayjoglekar 88420d8636 Fix icon flicker from home-> overview when 3 button navigation is enabled in 3P launcher.
Flicker occurs due to calling fade for 0 to 1 twice which needed to be corrected.

Also renamed confusing terms for updating alpha of app icons.

Test: Manual. Install 3P launcher, 3 button navigation enabled, go to Overview.
Fix: 378419654
Flag: EXEMPT bug fix.
Change-Id: I46ff564712f5fd217c5992042ee441242159fe99
2024-12-06 14:25:34 +00:00
Uwais Ashraf 2a1946ee65 Revert "Recycle tasks that are split when split select anim complete for reuse"
This reverts commit ca39594be9.

Reason for revert: Potential fix for b/378007383

Bug: 376428479
Change-Id: Id38db589e9e11220237314a0f1c63178899714de
2024-12-06 12:19:48 +00:00
Treehugger Robot 40f9eb0567 Merge "Dismiss recents when device goes to sleep" into main 2024-12-06 11:29:56 +00:00
Treehugger Robot 4ab6f0451c Merge "[CD Taskbar] Refactor TaskbarManager to create object creation methods" into main 2024-12-06 09:02:06 +00:00
Bill Yi 1d6340ae0b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I21f7c3e58c26ce8f280cc67f55f73d6cc5695a61
2024-12-05 22:42:07 -08:00
Winson Chung b26430a9e4 Add some debug names to various remote transitions
- This helps with debugging and shell dumps

Bug: 378565144
Flag: EXEMPT adding debug strings
Test: dumpsys activity service SystemUIService WMShell
Change-Id: I57ea1c359667b4e7f7ac1e261cc6fba6ad30c6e7
2024-12-06 06:07:29 +00:00
Liran Binyamin f8b5dec6dc Merge "Fix cropped bubble flyout when animating in app" into main 2024-12-06 01:19:15 +00:00
Sukesh Ram 23470e8832 [CD Taskbar] Refactor TaskbarManager to create object creation methods
Every object that needs its own instance for an instance of a new display-specific taskbar needs its own creation method.

Flag: EXEMPT not adding new behavior
Bug: 381105283
Test: Manual
Change-Id: I24794fefbf2a64f38795eca970cf30eb63c51e66
2024-12-05 15:39:10 -08:00
Sunny Goyal 97eb832cd3 Generalizing monochrome icon into Theme icons
Bug: 381897614
Flag: EXEMPT refactor
Test: atest MonoIconThemeControllerTest
      atest MonoThemedBitmapTest

Change-Id: Iaa0cbe3523ee26a6d4f77e002d0cca90657f89b2
2024-12-05 14:57:06 -08:00
Liran Binyamin bd19a3b2c2 Merge "Set the bubble bar background scale for initial animation" into main 2024-12-05 22:23:12 +00:00
Liran Binyamin 789a8c7f43 Merge "Don't crop bubble flyout in overview" into main 2024-12-05 22:22:36 +00:00
Liran Binyamin 0e14bb8ef9 Merge "Fix bubble bar flicker in initial animation" into main 2024-12-05 22:22:07 +00:00
Uwais Ashraf 4b05341d6e Merge "Use custom background dispatcher to stop excess thread creation." into main 2024-12-05 21:37:38 +00:00
Jon Miranda 433c9ef018 Merge "Keep transient taskbar open while overflow is open." into main 2024-12-05 21:09:13 +00:00
Pinyao Ting 0cb19af97c Merge "Hide "Shortcut Menu" from a11y actions when shortcut menu is already opened" into main 2024-12-05 21:05:31 +00:00
Ikram Gabiyev b95b0eec92 Merge "Do not send setFinishTaskTransaction if not swipe" into main 2024-12-05 20:38:14 +00:00
Treehugger Robot e457cb7a78 Merge "Revert^2 "Check if all apps are translucent when finishing recents animation."" into main 2024-12-05 20:29:00 +00:00
Saumya Prakash cfe6de65b4 Merge "Prevent Taskbar all apps from showing multi instance options" into main 2024-12-05 20:14:55 +00:00
Mykola Podolian 362e060c4e Merge "Update Hotseat icons adjustment X calculation based on cell X Index" into main 2024-12-05 19:59:51 +00:00
Liran Binyamin f2161dd8c3 Fix cropped bubble flyout when animating in app
When animating the bubble bar in an app with a stashed handle,
the flyout might not be displayed entirely.

Fix the calculation of the amount of space needed to fully display
the bubble bar and flyout views.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 382513856
Test: manual
       - remove all bubbles
       - launch app
       - send a bubble with a 2-line message
       - observe flyout is fully visible
Change-Id: I7953cb7f619f2c00b04bb4cb08c57a8195ff79fe
2024-12-05 14:35:09 -05:00
Jagrut Desai dbfd95e6de Merge "Open Task into Desktop Mode when Taksbar is in DesktopMode" into main 2024-12-05 19:32:26 +00:00
Jagrut Desai 463c3b06b9 Merge "Don't recreate taskbar in Overview" into main 2024-12-05 19:32:07 +00:00
Liran Binyamin f0e5a19658 Set the bubble bar background scale for initial animation
When turning off DND all the previous bubbles get reposted and
the bubble bar background scale is set for stashed state incorrectly.

This change sets the background scale correctly.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 377597242
Test: manual
       - send some bubbles in the bubble bar
       - go to settings -> do not disturb -> turn on
       - observe bubbles are hidden
       - turn do not disturb off
       - observe bubbles animate in correctly
Change-Id: I50c07248fb95cf3ae92c86090838c40901918220
2024-12-05 14:24:32 -05:00
Tracy Zhou d2b90982eb Merge "Restore barMode and wallpaperVisible to Taskbar NavbarButtonsViewController state" into main 2024-12-05 19:08:24 +00:00
Shamali P 67df1f0d2c Use outline color token for bottom sheet.
- Per android design folks, "outline" is the right token to use
- They've also verified with material design folks that its the
 recommended value.

Bug: 378424549
Test: WIM contrast checker
Flag: EXEMPT BUGFIX
Change-Id: I3b45860da9405469600771d6ff5d1adea1e4ea4c
2024-12-05 14:54:09 +00:00
Sebastián Franco 8f3a671ff6 Merge "Fix findMinWidthAndHeightDpForDevice so it finds the smallest dp height of the cached displays" into main 2024-12-05 12:54:52 +00:00
Sebastián Franco 5c4cebc4ac Merge "Using the right context when in FixedLandscape" into main 2024-12-05 12:54:52 +00:00
Uwais Ashraf 1348514466 Use custom background dispatcher to stop excess thread creation.
Bug: 381317629
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: Performance tests
Change-Id: I0e205cf7f55c90375a5a1e95fbd0f1adf0fc6658
2024-12-05 11:05:27 +00:00
Luca Zuccarini 7be62fbe00 Merge "Revert "Revert "Use the Coreographer's frame time for a more rel..."" into main 2024-12-05 10:23:36 +00:00
Uwais Ashraf d2683d6b49 Merge "Add flag for using top visible activity for recent tasks instead of indicies" into main 2024-12-05 08:16:59 +00:00
Sebastián Franco 2377bd1c3a Merge "Make sure GRID_NAME is updated every time it changes." into main 2024-12-05 03:46:37 +00:00
Matt Sziklay f47c28ef95 Merge "Implement cancel transition on tapping floating view." into main 2024-12-05 03:16:51 +00:00
Charlie Anderson a2464c6609 Merge "Add logging to verify when LoaderTask is stopped or cancelled" into main 2024-12-05 02:34:09 +00:00
Treehugger Robot 744d0b9925 Merge "Workaround for incomplete setup flow prior to Launcher tests" into main 2024-12-05 01:30:50 +00:00
Sebastian Franco 2b0cdbbc87 Make sure GRID_NAME is updated every time it changes.
Bore it was only updated when the device was innitialized,
but other changes to the IDP would not udpate the GRID_NAME pref.

Fix: 380954618
Test: NA
Flag: com.android.launcher3.one_grid_specs
Change-Id: I4fa73a4b838c0d0c7c1c88ea91c62ac8ae6676b7
2024-12-05 01:25:25 +00:00
Saumya Prakash ddd667ac9a Prevent Taskbar all apps from showing multi instance options
This change makes it so that we don't show any multi instance options in
Taskbar all apps. This matches the behavior from regular All apps.

Fix: 382342931
Test: Long press an app icon in Taskbar all apps and ensure multi
instance options don't show up.
Flag: com.android.launcher3.enable_multi_instance_menu_taskbar

Change-Id: I5322df328ee5484168b96831f32c2023521704e6
2024-12-05 01:04:54 +00:00
Treehugger Robot db013a8e75 Merge "TaskViews indices inside RecentsView continue [2/n]" into main 2024-12-05 00:35:26 +00:00
mpodolian 2fd98270a7 Update Hotseat icons adjustment X calculation based on cell X Index
Resolved an issue where the X translation for hotseat icons was computed
using the view index in the parent, leading to misaligned adjustments.
The logic has been updated to calculate translation based on the cell X
index, ensuring more accurate positioning and alignment.

Fixes: 380794616
Test: Manual. Have a bubble in landscape orientation. Drag any item from
the hotseat to the workspace, then rotate the device.
Flag: com.android.wm.shell.enable_bubble_bar

Change-Id: Ibd0709e6c58ad9c1470de469cfced8bbe66fd30b
2024-12-04 16:23:00 -08:00
fbaron 9ce45bac05 Fix findMinWidthAndHeightDpForDevice so it finds the smallest dp height of the cached displays
Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: HomeScreenImageTest
Change-Id: I04bc264a3f3579eff18412c02546460aaaeff955
2024-12-04 23:51:43 +00:00
Sebastian Franco 789546f528 Using the right context when in FixedLandscape
Fix: 378956881
Test: HomeScreenImageTest
Flag: com.android.launcher3.one_grid_specs
Change-Id: I57c0fb2b57828e0cb80d20417f0a45e49c78b80e
2024-12-04 23:51:34 +00:00
Ikram Gabiyev ee4d9ed3ad Do not send setFinishTaskTransaction if not swipe
In PiP2, there is no need to send setFinishTaskTransaction()
unless we are swiping PiP to home.

This is because either ATMS#enterPictureInPictureMode() is supposed
to request a TRANSIT_PIP as the activity goes to pause.

Bug: 380515865
Flag: com.android.wm.shell.enable_pip2
Test: repro the steps in the bug
Change-Id: Ic24c0c0f471179198a5fe3221971cf5b6d634797
2024-12-04 15:36:26 -08:00