Commit Graph

79433 Commits

Author SHA1 Message Date
Sunny Goyal 0cb0166a2c Fixing nullpointer error in genering error description
Bug: 383492095
Flag: EXEMPT bug fix
Test: Presubmit
Change-Id: I43c71bb62df45d53bd757daa3203f216229946a0
2024-12-11 11:41:39 -08:00
Treehugger Robot cea1888874 Merge "Update SystemUiProxy to support RemoteTransition when moving a task to desktop" into main 2024-12-09 12:50:20 +00:00
Treehugger Robot 45e274977d Merge "Some test fixes where default user is assumed to be user 0" into main 2024-12-07 08:11:56 +00:00
Brandon Dayauon 5d69c5c505 Merge "Fix workUtilityView receiving touch for pause work apps button." into main 2024-12-07 07:28:02 +00:00
Sunny Goyal 9c58954488 Some test fixes where default user is assumed to be user 0
CheckLongPressHelper: Cancelling view longpress which inturn also cancels self
This ensures that long press is properly cancelled if the default timeout for system longpress is same as ours

Bug: 379777736
Bug: 379807782
Bug: 379805363
Bug: 379805788
Bug: 379777734
Bug: 379774350
Flag: EXEMPT bugfix
Test: Presubmit
Change-Id: Ic4d9d6c4f79325a5d7ab98eafa1c86db4c2e67a5
2024-12-06 22:23:51 -08:00
Treehugger Robot cc0e19d298 Merge "Add more logs to investigate empty launcher restore" into main 2024-12-07 05:13:33 +00:00
Treehugger Robot c531c9fb90 Merge "Minor kotlin cleanup" into main 2024-12-06 23:49:12 +00:00
Shamali Patwa 5fb8180b00 Merge "Remove the elevation on the DragView to avoid shadows underneath" into main 2024-12-06 23:40:38 +00:00
Treehugger Robot ddaf0bbd7a Merge "Modify the accessibility tree to move the searchbox to the top." into main 2024-12-06 23:37:45 +00:00
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
Brandon Dayauon 8143b69cec Fix workUtilityView receiving touch for pause work apps button.
bug: 382501851
Test manually video:
before: https://drive.google.com/file/d/1I6av4cFoYex6QhzYAdlzJWCBwd2ilgzT/view?usp=sharing
after: https://drive.google.com/file/d/1hMDELNTqUvoI7oI-lw0sLifcGyIalbS_/view?usp=sharing
Flag: com.android.launcher3.work_scheduler_in_work_profile

Change-Id: I9dfead6deac7f3dbcb66c961bea4a1828f20478d
2024-12-06 14:05:03 -08:00
Anushree Ganjam 8335b9790a Modify the accessibility tree to move the searchbox to the top.
This change fixes both quickstep and pixel launcher variants.

Before
A11y traversal order : https://paste.googleplex.com/4735370693181440
Video: http://recall/-/cYrER3oshUB9gisWlEhySV/fGSVr7vsAToApiYzywptQ6

After
A11y traversal order : https://paste.googleplex.com/6464092613902336
Video: http://recall/-/cYrER3oshUB9gisWlEhySV/cEEPIPidHGP4tg9Hng7Ra6

Bug: 378610191
Test: Manual
Flag: EXEMPT a11y Bugfix
Change-Id: I95fbdc2db02f2957db461769e0d9a0556adbb760
2024-12-06 13:13:15 -08:00
Shamali P cc21323af2 Remove the elevation on the DragView to avoid shadows underneath
In b/297952359 we are seeing that widgets with clipped outline
 elements end up showing shadows below their drag view. Which
 due to not maintaining clipping looks further bad.

It seems like, we don't really need the elevation for drag
view anymore - and presumably it was added for older android
 versions for shadow for folders. But, they don't have them
  anymore, so, removing elevation now.

 Note: The issue that during drag and drop, the dragged preview
 not showing clip to outline or shadows within widget's views is
 a separate issue related to the Picture API usage during drag
  and drop.

Bug: 297952359
Test: Screen record in comments
Flag: EXEMPT Bugfix

Change-Id: If31a0275938afe374d269a46cc950970033323f9
2024-12-06 21:10:51 +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
Jordan Silva 8ec11ab65f Update SystemUiProxy to support RemoteTransition when moving a task to desktop
This CL updates the methods and APIs to match the updated API from DesktopTasksController in WM Shell.
We've introduced RemoteTransition to be used for animating a task when it's moved into a desktop task.

Bug: 333524374
Fix: 379620787
Flag: com.android.window.flags.enable_desktop_windowing_mode
Test: TaplTestsOverviewDesktop
Test: OverviewDesktopTaskImageTest
Change-Id: I63cd094b3956ebe8fe7acda7da30ca73e1098ea0
2024-12-06 19:08:46 +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
Liran Binyamin 56a173c1de Minor kotlin cleanup
Use regular function instead of expression functions for Unit return
types.
go/kotlin/practices/expression-functions#unit-functions

Flag: com.android.wm.shell.enable_bubble_bar
Bug: 281083629
Test: no-op change. just verify this builds
Change-Id: Ie13fdad5f33bb4cda9e5e85e2fb4394131d3c63f
2024-12-06 10:30:40 -05: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