Commit Graph

83004 Commits

Author SHA1 Message Date
Andy Wickham 9f34db7b10 Merge "Update All Apps / Smartspace / Circle to Search team owners" into main 2025-02-05 11:24:06 -08:00
Andy Wickham f4170772d0 Update All Apps / Smartspace / Circle to Search team owners
Flag: EXEMPT updating owners file
Change-Id: Ifbdeff9dd1b27df829bb96179a671fd90ba60bac
2025-02-05 11:23:29 -08:00
Andy Wickham d61628084b Merge "Update All Apps / Smartspace / Circle to Search team owners" into main 2025-02-05 11:23:03 -08:00
Treehugger Robot f08d861d12 Merge "Refactor: Update the way tintAmount is propagated to TTV" into main 2025-02-05 11:16:02 -08:00
Adnan Begovic beeaaa2185 Merge "launcher3: Amend strict mode policy to account for activity leaks." into main 2025-02-05 11:03:19 -08:00
Treehugger Robot 9f0838cc74 Merge "Fix attempt for testDragToFolder" into main 2025-02-05 10:07:09 -08:00
Charlie Anderson ade47d530b Remove spammy log in LoaderTask
Bug: N/A
Test: presubmit
Flag: EXEMPT just logging
Change-Id: I82f87ce2ed1e27bb72c6d4c9f3b426374f3fc777
2025-02-05 18:06:36 +00:00
Bill Yi bb0fa09356 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-05 10:05:34 -08:00
Bill Yi f409dd18bd Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-05 10:05:34 -08:00
Adnan Begovic 6a79632232 Merge "launcher3: Add abegovic to OWNERS." into main 2025-02-05 10:01:03 -08:00
minch 32321ddf56 Introduce non-null itemInfo inside TaskView
Let `TaskView` have a non-null `itemInfo` even it has no
tasks (no corresponding TaskContainer). Thus, we can still
go forward to log the necessary info of the `TaskView`
without any tasks.

Flag: EXEMPT refactor
Fix: 391918297
Test: TaskViewItemInfoTest
Change-Id: Idd08eb9846b1cd2043dd0087bc3e0078bb0b8247
2025-02-05 17:57:45 +00:00
Ahmed Fakhry ea066cdc65 Stub impl new multi-desks IDesktopTaskListener APIs
This CL chain adds the new multi-desks APIs in `IDesktopTaskListener`
and a stub implementation in
`DesktopVisibilityController.DesktopTaskListenerImpl`.
Follow-up CLs will add the real impls.

Bug: 392978600
Test: m
Flag: EXEMPT new APIs without impl yet.
Change-Id: I360ef179769df16dbcf12a01d19d57a88bc82262
2025-02-05 17:48:12 +00:00
Charlie Anderson 5c7ef0b01e Fix folder morphing animation
- Also splits interpolator between open / closing anim to setup future folder motion work
  - Also fixed bug if no shape selected in picker

Bug: 393979768
Bug: 387543793
Test: Manual verify animation and picker bug
Flag: com.android.launcher3.enable_launcher_icon_shapes

Change-Id: Ieb7355b9128cd1ded46af6787f5c14baf9be6774
2025-02-05 09:44:22 -08:00
Jordan Silva cbf3dc26f3 Merge "Remove fullscreenProgress that is not being used" into main 2025-02-05 09:13:24 -08:00
Harry Cutts 6f4d044e63 Merge "Fix button state consistency issues in TAPL event streams" into main 2025-02-05 08:59:41 -08:00
Jordan Silva 564d64c8cc Refactor: Update the way tintAmount is propagated to TTV
- Propagate the tintAmount using the Views instead of using a Flow.

This was done to minimize the usage of Flows to propagate animations
and progress through Views. It should improve the overall performance
of UI updates

Some stats about the number of collections:
- Entering Overview: ~4 collections
- Displaying Scrim: ~32 collections
- Hiding Scrim: ~35 collections
- With 4 apps on screen: ~140 collections

Bug: 390581380
Doc: go/launcher-overview-unified-taskviewmodel
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: OverviewImageTest
Test: TaskViewModelTest
Change-Id: Ice68edef12c7e3b2a26107b0fc6e62578de241b4
2025-02-05 15:25:59 +00:00
Jordan Silva bc124b18b8 Remove fullscreenProgress that is not being used
This flow was previously collected by TTVM and later removed by ag/30431716.

Bug: 390581380
Doc: go/launcher-overview-unified-taskviewmodel
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: OverviewImageTest
Change-Id: Ie0add87740b00da7d1c5e61c048dace543c47a66
2025-02-05 14:55:08 +00:00
Winson Chung 4443ff10f6 Move multi-instance suppport checking to ApiWrapper
- It's only used for App Pairs & Taskbar (both limited to quickstep
  launcher, and we need to use hidden api to query the multi-instance
  support per-activity.  This is necessary as there can be apps
  installed for a profile, but not the primary user.

Bug: 391611065
Flag: EXEMPT bugfix
Test: atest WMShellUnitTests
Test: Install a multi-instance app only for the non-primary user,
      ensure that we can see the multi-instance UI for these apps

Change-Id: I9d38f32aa38b27b2bffaa744c3f578423f7c7d86
2025-02-05 07:56:36 +00:00
Ben Lin 1b2e9f02b1 Update DesktopMode config for test.
Bug: 384568161
Test: atest
Flag: EXEMPT bugfix
Change-Id: Icf02be6f6cec5ed2d89ea8f647b7abbb212e768b
2025-02-05 05:08:47 +00:00
Federico Baron 949981afb6 Fix attempt for testDragToFolder
The reason the test fails is that since the tap targets are smaller, the
drag is too fast and the hover over icon to create folder time doesn't
elapse

Bug: 383917141
Test: TaplDragTest#testDragToFolder
Flag: TEST_ONLY
Change-Id: Iadf0587c3c1c9b5aa50b508a35321bb398d36e5c
2025-02-04 19:07:22 -08:00
Sukesh Ram 5d8e6bcdee [CD Taskbar] New NavigationBarPanelContext per instance of taskbar
Create a new New NavigationBarPanelContext per instance of taskbar object for each new instance of taskbar.

Test: m
Bug: 394421505
Flag: EXEMPT not adding new behavior
Change-Id: I6c82140fac9e6a00f0462ea1a593c13f49c3deee
2025-02-04 18:08:25 -08:00
Lingyu Feng c36a10604c Merge "Remove unused executeForTouchInteractionService() in TouchInteractionService" into main 2025-02-04 18:07:28 -08:00
Bill Yi b76027e87e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib75501bd72bad892a7a53943aece442d60e41e1f
2025-02-04 17:52:49 -08:00
Bill Yi e41a3f2f85 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4a760660fce6c696c5cc47e15a6ef42f56472c44
2025-02-04 17:51:53 -08:00
Roy Chou 5c4bb0b8ce Merge "chore(magnification): remove the PRIVATE_FLAG_EXCLUDE_FROM_SCREEN_MAGNIFICATION window flag usage in Launcher app" into main 2025-02-04 17:11:34 -08:00
Brian Isganitis 6dec35f18e Disable All Apps keyboard shortcut during user setup.
Flag: EXEMPT bugfix
Fix: 394238663
Test: go/testedequals
Change-Id: I4a9175613686a358bd62800789b30262d9dc39cb
2025-02-04 19:43:30 -05:00
Liana Kazanova (xWF) 43032a5a61 Merge "Revert "Restore Archived Pinned Shortcuts instead of removing them."" into main 2025-02-04 16:26:27 -08:00
Liana Kazanova (xWF) f5cb1b664b Revert "Restore Archived Pinned Shortcuts instead of removing them."
This reverts commit abbb991d8f.

Reason for revert: DroidMonitor: Potential culprit for Bug X - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Ifa241a631a1a4361623cfe0e81e31ca6b44e9d73
2025-02-04 15:37:46 -08:00
Adnan Begovic 0cf6c41e2b launcher3: Add abegovic to OWNERS.
Bug: NONE
Test: EXEMPT
Flag: EXEMPT - Owners.
Change-Id: Ia97ce446aa64ee7511fa4ee8e9af8f3fb1df3c1a
2025-02-04 15:08:07 -08:00
Adnan Begovic 3d29c0a062 launcher3: Amend strict mode policy to account for activity leaks.
detectActivityLeaks() will identify any cases where subclasses
  of Activity are leaking.

Bug: 392635961
Test: EXEMPT debug code
Flag: EXEMPT debug code
Change-Id: I28057738a7bb8951a39152f4a4e6954bd2b97706
2025-02-04 14:08:37 -08:00
Shamali Patwa 73ce362894 Merge "Reduce the widget cell horizontal padding" into main 2025-02-04 13:56:42 -08:00
Charlie Anderson 9eb29e78b5 Merge "Restore Archived Pinned Shortcuts instead of removing them." into main 2025-02-04 13:35:30 -08:00
Toni Barzic 860c4ee680 Use pinned taskbar with desktop tasks on freeform displays
Bug: 390665752
Flag: com.android.window.flags.enable_desktop_taskbar_on_freeform_displays
Test: manual on desktop device. verify correct taskbar is shown
      on home screen, in overview, in desktop mode, with fullscreen
      app shown. Verify opening/launching apps from taskbar works
      as expected.

Change-Id: I5c1e21799609c28ec44cc190bfc681934907199f
2025-02-04 13:00:37 -08:00
Ajinkya Chalke f583780e73 Merge "Add Aconfig flag for Alt + Tab KQS view on CD" into main 2025-02-04 12:50:34 -08:00
Treehugger Robot 3b11538381 Merge "Simplifying some ActivityContext and StateManager methods" into main 2025-02-04 12:16:44 -08:00
Charlie Anderson abbb991d8f Restore Archived Pinned Shortcuts instead of removing them.
Bug: 375414891
Test: ShortcutsChangedTaskTest, WorkspaceItemProcessor test and manually backing up + restoring.
Flag: com.android.launcher3.restore_archived_shortcuts

Change-Id: I798d56bc1ffef9a454e3899e4155d63f7edf39f2
2025-02-04 11:29:29 -08:00
Brandon Dayauon a0f2b0eeb0 Merge "Log work scheduler animation jank" into main 2025-02-04 10:52:19 -08:00
Sunny Goyal 1ada394e00 Simplifying some ActivityContext and StateManager methods
> Merging asContext and getContext meethod
> Simplifying some generic declaration in StateManager

Bug: 393703968
Flag: EXEMPT refactor
Test: Compilation
Change-Id: I679ac83e39b2a17f510698db15335aae8f735aad
2025-02-04 10:11:34 -08:00
Treehugger Robot d3b31eb20d Merge "Removing BaseDraggingActivity > Merging come methods to BaseActivtiy > Separating wallpaper theme implementation to an independent class" into main 2025-02-04 09:29:46 -08:00
Artsiom Mitrokhin 49909b5167 Merge "Fix taskbar flickering when clicking its bottom part" into main 2025-02-04 07:02:48 -08:00
Pat Manning 8e7130d364 Merge "Refactor TaskViewTouchController to separately handle dismiss and launch." into main 2025-02-04 03:47:03 -08:00
Treehugger Robot f86a05eee2 Merge "Fix attempt for testAddAndDeletePageAndFling" into main 2025-02-03 20:46:21 -08:00
Treehugger Robot bb7190b15a Merge "Only accessing themeManager once the device is unlocked" into main 2025-02-03 20:45:38 -08:00
Lingyu Feng 9a6a1fc4e0 Remove unused executeForTouchInteractionService() in TouchInteractionService
This CL replaces
executeForTouchInteractionService(tis -> executeForTaskbarManager()) with
executeForTaskbarManager() in TouchInteractionService, as `tis` is unused.

Bug: 391786915
Test: m
Flag: EXEMPT refactor
Change-Id: I573a1717aa237f5870157ed95fec4f864a669322
2025-02-04 12:03:40 +09:00
Sunny Goyal edc1453cf1 Removing BaseDraggingActivity
> Merging come methods to BaseActivtiy
> Separating wallpaper theme implementation to an independent class

Bug: 393703968
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: I8cdb6d1520beff3f8226b62c5b7eafd48b2c674f
2025-02-03 17:23:10 -08:00
Shamali P 4ff724727a Reduce the widget cell horizontal padding
With new grid, David suggested reducing padding on widget cell to be
able to show side by side widgets as before. Widget sizes are slightly
larger in new grid.

Bug: N/A
Test: Screenshot tests
Flag: EXEMPT bugfix
Change-Id: I3b3b55930b9e4ad9064151ccfe77ba27d8289860
2025-02-04 01:07:20 +00:00
Andy Wickham 54f8b4c7b7 Update All Apps / Smartspace / Circle to Search team owners
Change-Id: If19ca9a00573ba679c94c853f75a96ea07bc1da2
2025-02-03 16:35:10 -08:00
Sunny Goyal e5ab5669f7 Only accessing themeManager once the device is unlocked
Bug: 393248495
Test: atest RecentsModelTest
Flag: EXEMPT bugfix
Change-Id: I0f2868055de73c25b3eef9243ef0fccbf0383ad5
2025-02-03 16:10:52 -08:00
Brandon Dayauon 302f75ce69 Log work scheduler animation jank
bug: 392726070
Test: manual - see bug comment that shows capture perfetto
Flag: com.android.launcher3.work_scheduler_in_work_profile
Change-Id: Iebf873229a86b53062a91a58bec173c46c964ed5
2025-02-03 23:58:42 +00:00
Federico Baron 1c1b130a4b Fix attempt for testAddAndDeletePageAndFling
it looks like the issue is that the layout has a widget on the second
page leading the page count to be different than expected

Bug: 381918059
Test: TaplWorkspaceTest#testAddAndDeletePageAndFling
Flag: TEST_ONLY
Change-Id: I19e475450494a5580e8fd04d02692624c086807c
2025-02-03 23:05:51 +00:00