Commit Graph

83004 Commits

Author SHA1 Message Date
Pat Manning 90eceafb5f Merge "Update recents focus when TOGGLE command is issued to OverviewCommandHelper." into main 2025-03-20 06:42:50 -07:00
Sukesh Ram cb38ecbc8c [CD Taskbar] Null Protect Taskbar against onLauncherVisibilityChange crash
Null Protect Taskbar against onLauncherVisibilityChange crash.

Flag: EXEMPT not adding new behavior
Bug: 403294086
Bug: 404928723
Test: m
Change-Id: I84e899d26f93d484031073d1b63c6757daa8b141
2025-03-20 05:22:18 -07:00
Johannes Gallmann 3db6f288a3 Fix back button not reacting to accessibility actions (2)
This line was accidentally not put behind the flag in the last CL.

Bug: 403184586
Test: Manual, i.e. verified that back button is clickable with TalkBack
      enabled. Also verified no regressions in kids themed taskbar.
Flag: com.android.window.flags.predictive_back_three_button_nav
Change-Id: Ia495e3f25e0c15815cb8d26254ecacfe245864a4
2025-03-20 13:20:32 +01:00
Alex Chau 77ddc254cc Revert "Add TaskContentView parent to TaskThumbnailViewHeader and TTV"
This reverts commit e0cc96df62.

Reason for revert: b/403826044, b/402277471

Flag: EXEMPT revert

Change-Id: I0c6e507753bf47be4f74b6056de75d981f0c2848
2025-03-20 04:45:52 -07:00
Pat Manning 1ecece51d7 Update recents focus when TOGGLE command is issued to OverviewCommandHelper.
Removing condition that was added in ag/32267401.

Fix: 404098161
Test: Manual.
Flag: EXEMPT bugfix
Change-Id: I62d061d3c5588c846038b580f323aaebb9c667cf
2025-03-20 04:24:07 -07:00
Pat Manning 0ad72c5837 Allow fast flinging to cancel task dismiss.
Fix: 404213155
Test: Manual. Fling tasks back to rest state.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I7b738b80c375fe96994798ffadc9b5f77dd8a208
2025-03-20 11:22:40 +00:00
Alex Chau 7034889756 Revert "Remove redundant FrameLayout from task_header_view.xml"
Revert submission 32215257-b/401469907-remove-redundant-headerview-layout

Reason for revert: b/403826044, b/402277471

Reverted changes: /q/submissionid:32215257-b/401469907-remove-redundant-headerview-layout

Change-Id: I5c619179c849f8b65484937ed0c37623612316f8
2025-03-20 11:11:00 +00:00
Johannes Gallmann be97a35d31 Merge "Fix back button not reacting to accessibility actions" into main 2025-03-20 03:50:14 -07:00
Massimo Carli dab2e17122 Fix Test supporting HSUM
Flag: EXEMPT Test fix
Fix: 403558856
Test: atest NexusLauncherTests:com.android.quickstep.DesktopSystemShortcutTest

Change-Id: I2a2ff6bc4cee978267ec19fca32bc1f7f80b1bbd
2025-03-20 02:28:23 -07:00
Johannes Gallmann 4d1ab3a784 Fix back button not reacting to accessibility actions
Bug: 403184586
Test: Manual, i.e. verified that back button is clickable with TalkBack
      enabled. Also verified no regressions in kids themed taskbar.
Flag: com.android.window.flags.predictive_back_three_button_nav
Change-Id: Ie6fd6b7d8a76cdac0389c4dd33f8cb62f689ba61
2025-03-20 09:24:27 +01:00
Treehugger Robot 57f0e8ebe6 Merge "Add flag to gate checking last task visibility on dismiss." into main 2025-03-20 00:36:11 -07:00
Treehugger Robot 78523fc738 Merge "Add flag enable_taskbar_for_direct_boot" into main 2025-03-20 00:28:16 -07:00
Federico Baron c7e8c4e8e7 Add logging for which type of migration occurs.
When upgrading from non one grid to one grid, we should do the row
shift migration type, here we are logging data to make sure that is what
happens on upgrade

Flag: EXEMPT logging
Test: n/a
Bug: 393175684
Change-Id: Id09257094bc9bc44da757c73a4f63bf15987772c
2025-03-20 01:31:45 +00:00
Charlie Anderson 19c4a92ebc Avoid downgrading archived app icon when widget is restored and when apps are archived.
- Restored widget were requesting icons through iconcache, and overwriting the restored icon from restored db.
	- Manually archiving icons would delete icon in cache, we should instead reuse the icon from when it was installed.

Bug: 399649982
Test: Manually performing restore with apps, widgets and shortcuts.
Flag: com.android.launcher3.restore_archived_app_icons_from_db
Change-Id: I4184af480f29eb3ef41173fe5edc5307f263d0b0
2025-03-19 21:28:37 -04:00
Jagrut Desai 642f8be48d Fix 3-button nav diplacement on lockscreen
Test: Manual
Bug: 375112190
Flag: EXEMPT bugfix
Change-Id: I7f7d82563c2956aaafff91a75e79e4e2b554230e
2025-03-19 16:06:12 -07:00
Bill Yi 59a89b2655 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-19 16:04:47 -07:00
Bill Yi d3f23044df Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-19 16:04:47 -07:00
Stefan Andonian 4567dac1f6 Merge "Fix PageIndicatorDots Outline" into main 2025-03-19 16:03:33 -07:00
Stefan Andonian 7743ce33a7 Merge "If Folders would show extremely cropped title, hide title." into main 2025-03-19 15:59:21 -07:00
Federico Baron 896f1a66bf Add screenrecord for TaplUninstallRemoveTest#testUninstallFromAllApps
Flag: EXEMPT test only
Test: TaplUninstallRemoveTest#testUninstallFromAllApps
Bug: 386231522
Change-Id: Ic1f0f343153b2052438ea8ea6b9d84c429f844c1
2025-03-19 21:57:29 +00:00
Priyanka Advani (xWF) 5283a91609 Merge "Revert^3 "Inflate TaskThumbnailViewDeprecated as TaskContentView"" into main 2025-03-19 14:53:59 -07:00
Jon Miranda 609d089062 Add flag enable_taskbar_for_direct_boot
When enabled, launcher will create some parts of the Taskbar prior to onUserUnlocked.

Bug: 324485921
Test: n/a adding flag
Flag: EXEMPT adding the flag
Change-Id: I0900cf634f229b1382faa39d3465c8e6d6191090
2025-03-19 12:58:05 -07:00
Priyanka Advani (xWF) 92aef0d99a Revert^3 "Inflate TaskThumbnailViewDeprecated as TaskContentView"
This reverts commit bca368924c.

Reason for revert: Droidmonitor created revert due to b/404894013. Will be verifying through ABTD before submission.

Change-Id: If43e23bca9f7e62f26ee3c977cac643fcda3e3e6
2025-03-19 12:56:55 -07:00
Simon (Qiong) Sun 3f4fed5411 Merge "Update Split-Screen icons with new icons." into main 2025-03-19 12:08:08 -07:00
Brian Isganitis 8fc585ff6b Perform system actions on focused display.
Flag: EXEMPT bugfix
Fix: 401575811
Test: go/testedequals
Change-Id: I29743c98499d04f080f2628b7db7f123ec396585
2025-03-19 12:07:43 -07:00
Stefan Andonian 386a7b2c40 If Folders would show extremely cropped title, hide title.
This is an edge case, not standard behavior. This only happens when
the text / display size is at the highest level, and when a folder has
10+ page indicator dots.

Bug: 394355070
Test: Verified manually that this works well, and looks great in LTR mode and RTL mode.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: Id31aad47b94d20d9945495366d5381de27282153
2025-03-19 12:01:47 -07:00
Tony Wickham 81469da43b Have Taskbar listen for RecentsState as well
Also update parallel animation to GestureEndState instead of
assuming it's always a LauncherState.

Fixes: 401382426
Test: manual/existing automated tests
Flag: com.android.launcher3.enable_fallback_overview_in_window
Flag: com.android.launcher3.enable_launcher_overview_in_window

Change-Id: Id10bb2ac5601462a3885d24d6484889ddfeb59d6
2025-03-19 11:59:54 -07:00
Li Lin 5f5f5abb60 Add action performers for Growth Framework.
The action performers will be used for performing actions that triggered
by clicking on nudge buttons.

Bug: 398033012
Test: Manual
Flag: com.android.launcher3.enable_growth_nudge
Change-Id: I6d80542b10fd6442e716126ceb3123bbc0d1cf07
2025-03-19 11:57:18 -07:00
Tony Wickham 32888e1519 Fix TaskarUIController being wrong with Overview-in-Window enabled
- isHomeAndOverviewSame now returns true for launcher in window
- added isHomeAndOverviewSameActivity to differentiate specifically
  when Overview is hosted in the Launcher activity (currently only
  used for launcherChildTask handling, which we can clean up in a
  follow up change)
- overviewIntent now equals homeIntent for launcher in window
- fixed containerInterface to always use FallbackoverviewInWindow
  when overview-in-window is enabled; this means TaskbarManager
  gets the proper RecentsViewContainer for creating the correct
  TaskbarUIController
- updated getSwipeUpHandlerFactory based on isHomeAndOverviewSame
  change above

Fixes: 401382430
Test: InputConsumerUtilsTest, manual
Flag: com.android.launcher3.enable_fallback_overview_in_window
Flag: com.android.launcher3.enable_launcher_overview_in_window

Change-Id: Ie8edd55b47d6438af36b9d2a788d72d69afa02f3
2025-03-19 11:37:19 -07:00
Brian Isganitis c0a8f7ea99 Implement spring animations for running state changes.
Flag: com.android.window.flags.enable_taskbar_recents_layout_transition
Fix: 402683858
Test: go/testedequals
Change-Id: Icc4a3a61b6c0997564a4dcdd8eb7768459d5f2ef
2025-03-19 14:34:13 -04:00
Brian Isganitis e8b7cd7b2e Use up-to-date hover tooltip text for recents.
Flag: EXEMPT bugfix
Fix: 402776493
Test: go/testedequals
Change-Id: I6f438ce8b3cd51beaece0cf6734876f21719bf3d
2025-03-19 14:26:25 -04:00
Uwais Ashraf f7d0e2a576 Remove existing superceded calls to updateDisableFlags
Fix: 402351284
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: OverviewImageTest (attached abtd run)
Test: OverviewMenuImageTest (attached abtd run)
Change-Id: Iffea8cd0afea52cfbfd8ed44a956da0aa26e91c6
2025-03-19 18:04:01 +00:00
Uwais Ashraf 7fd33ebde5 Change actions view disabling logic
1. Introduces "central task" - the task relating to the actions view
2. Decouple the overlay and actions view
3. Undo filter of taskViewType == SINGLE for overlay as it can be enabled for split tasks as well

Bug: 402351284
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: OverviewImageTest (attached abtd run)
Test: OverviewMenuImageTest (attached abtd run)
Change-Id: Id7bc5c9c6620183d91e99d9dc5d2980eb8e3ec36
2025-03-19 18:03:52 +00:00
Jon Miranda ed79f7f269 Merge "Crop based on real-time insets" into main 2025-03-19 10:28:40 -07:00
Sam Cackett 302a61748a Merge "Revert^2 "Inflate TaskThumbnailViewDeprecated as TaskContentView"" into main 2025-03-19 10:15:29 -07:00
Sam Cackett bca368924c Revert^2 "Inflate TaskThumbnailViewDeprecated as TaskContentView"
This reverts commit 1048b2711c.

Reason for revert: Reland CL with fix

Original message:
Inflate TaskThumbnailViewDeprecated as TaskContentView

If the enableRefactorTaskThumbnail is false, then inflate
TaskThumbnailViewDeprecated as TaskContentView so that the behaviour
matches the previous pre-factor behaviour

Fix: 402277471
Bug: 403826044
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: Manual. See bug

Change-Id: Ib43331023d99316c7b0c9de2ab81e379db58bb50
2025-03-19 10:05:25 -07:00
Sebastian Franco c7151f6559 Swap hotseat padding when LTR and in Fixed Landscape
Fix: 404421611
Test: DumptTests
Flag: com.android.launcher3.one_grid_specs
Change-Id: Iba1a19f13d1e8ce164ca4f5b9306c7cdca369814
2025-03-19 09:52:04 -07:00
Uwais Ashraf 376885f8ba Merge "Remove BubbleBarViewAnimatorTest from deviceless suite." into main 2025-03-19 09:26:30 -07:00
Alex Chau ddc72547d4 Merge "Correct the call of getExpectedCurrentTask" into main 2025-03-19 07:55:32 -07:00
Pat Manning d6027ed5a6 Add debug logging for task view touch controllers.
Proguard should remove these logging paths from user builds.

Bug: 350398650
Test: Manual. Verify logs are present.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: Ie1d1532782c443672cde5c5dfe1ccaa49e100cd3
2025-03-19 14:32:56 +00:00
Jordan Silva e3437e4f12 Merge "Fix Chip menu expanding outside the screen" into main 2025-03-19 07:00:27 -07:00
Pat Manning 28b827b489 Add flag to gate checking last task visibility on dismiss.
Bug: 404203362
Test: Manual. Open 9 apps, dismiss all bottom grid tasks, dismiss first top task, observe no jump.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: Ie21d234f6a44c4566c4f73d4cc3c32f6a8375e6d
2025-03-19 13:44:56 +00:00
Will Osborn b307f55a19 Merge "Small fixes for per-display TaskAnimationManager" into main 2025-03-19 06:23:32 -07:00
Treehugger Robot 8b312ff5bb Merge "Refactor: Use AppChipStatus enum instead of isExpanded boolean" into main 2025-03-19 06:19:44 -07:00
Uwais Ashraf 6aa9820532 Remove BubbleBarViewAnimatorTest from deviceless suite.
This test is the leading cause of flakiness for the entire suite.

Bug: 404773413
Flag: EXEMPT test-only
Test: BubbleBarViewAnimatorTest
Change-Id: I7c5658ad55aa0e959e068e5979325d1c41d18310
2025-03-19 12:41:19 +00:00
Simon (Qiong) Sun a2aa9edc02 Update Split-Screen icons with new icons.
Bug: 379959026
Test: Check that Split and save Split-Screen icons.
Flag: EXEMPT icons change
Change-Id: Idbc9d391b99a4e9833fd9ced597be22e15a77768
2025-03-18 23:28:33 -07:00
Jaewan Kim 772267281e Merge "Declare android.intent.action.ALL_APPS explictly" into main 2025-03-18 22:24:04 -07:00
Toni Barzic c2cb80434f Hide scroll arrows from Alt+Tab UI
Recent recommendation from UX was to hide scroll arrows from
Alt+Tab UI, as the primary use case is keyboard focused.

Bug: 397975686
Flag: com.android.launcher3.taskbar_overflow
Test: Verify that arrows are visible when KQS is opened from taskbar
      overflow button (when there's enough items to make KQS
      scrollable), and invisible when triggered using Alt+Tab shortcut.
Change-Id: Iaab234aca94d262b8151a680a08d10d6b39054ed
2025-03-19 03:26:38 +00:00
Treehugger Robot 445e12fdb5 Merge "Update Workspace App Icon Long-Press Menu's Text to Google Sans Flex" into main 2025-03-18 15:38:27 -07:00
Brandon Dayauon 8af853ab60 Change A-Z font to GSF for app icons and PS header
Used com.android.launcher3.gsf_res flag to control font changes in
launcher. Tested font changes manually only to App icons, PS header, and
PS lock text.

bug:393609630
Test: manually:
AA and flag Off: https://hsv.googleplex.com/6005345892696064
AA and flag On: https://hsv.googleplex.com/5713302612082688
AA and flag Off w/ TwoLine: https://hsv.googleplex.com/6604407931142144
AA and flag On w/ TwoLine: https://hsv.googleplex.com/5006326877913088
PS and flag off: https://hsv.googleplex.com/6253491923189760
PS and flag on: https://hsv.googleplex.com/4909373317971968
Flag: com.android.launcher3.gsf_res

Change-Id: Icae71ae648340ac566a908648eae14985b6aa4d3
2025-03-18 22:24:48 +00:00