Commit Graph
87505 Commits
Author SHA1 Message Date
Mykola Podolian 10f4747b69 Merge "IPC for app icons drag events over the Bubble Bar" into main 2025-01-23 17:52:50 -08:00
Stefan Andonian 8a41c7c99b Merge "Add Logging for NotificationService Events in Launcher" into main 2025-01-23 17:02:04 -08:00
Sukesh Ram 28b7077a38 Add debugging logs to understand why taskbar root layout would be null
Add debugging logs to understand why taskbar root layout would be null.

Flag: EXEMPT not adding new behavior
Bug: 382378283
Test: Manual
Change-Id: I1140360274667a6c3766f03e1f5f1592c09e13e1
2025-01-23 16:05:07 -08:00
Ahmed Fakhry f87e44376b Introduce SingleTask and SplitTask
See go/refactor-group-task for details. This CL introduces `SingleTask`
and `SplitTask` and makes `GroupTask` abstract.

Bug: 388593902
Test: m
Flag: EXEMPT pure refactor with no behavior change.
Change-Id: I96d0eb0600420ce5cb2fff30ed9d766224b6961e
2025-01-23 23:48:01 +00:00
Cosmin Băieș c48cc53bc2 Merge "Clarify state names for IME Switcher button" into main 2025-01-23 15:42:45 -08:00
renovate[bot] c135c800f9 chore(deps): update plugin com.gradle.develocity to v3.19.1 (#5197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 07:08:56 +08:00
Charlie Anderson 6cbae2759e Add flag for restoring Archived App Icons from db
Flag: com.android.launcher3.restore_archived_app_icons_from_db
Bug: 391913214
Test: Presubmit
Change-Id: Iaadc7e1a37f75e114461528a3aa2843ce8527e4b
2025-01-23 14:55:26 -08:00
Anushree Ganjam 481c67b6ce Fix the NPE in LockedUserStateTest since mocks gets cleared before the test finishes execution.
After ag/31327061 is merged, mocks get cleared in tests. In some
cases, mocks are cleared before the executors are completed. So, in
teardown, wait for the executors to complete.

Bug: 390716213
Test: atest and android studio builds
Flag: TEST_ONLY
Change-Id: Ie90b0f653d1619180cf177a1010aa646c97fac92
2025-01-23 14:46:59 -08:00
Sukesh Ram 7d916904de [CD Taskbar] [CD Taskbar] Refactor TaskbarManager dump
Update debugging logs for TaskbarManager to be display specific.

Flag: EXEMPT not adding new behavior
Bug: 390004132
Test: Manual
Change-Id: I0222e3bce94bee410b3572d1bc820cc71a2c1a68
2025-01-23 14:28:00 -08:00
Adnan Begovic 2ac0f140b2 Merge "launcher3: Only translate on positive values." into main 2025-01-23 14:13:22 -08:00
Jagrut Desai 7efe9257ce Merge "Fix Taskbar existing app launch in DW" into main 2025-01-23 13:49:20 -08:00
Juan Sebastian Martinez 48b1b82b69 Properly setting up haptics on IconView when MSDL is enabled.
The default View's haptics are disabled when using MSDL. This avoids
duplicate vibrations on long-press.

Test: manual. Verified single haptic playback on long-press
Flag: com.android.launcher3.msdl_feedback
Bug: 376283547
Change-Id: I35f4ddd755e851992016957a92ebc546aa131d18
2025-01-23 13:47:11 -08:00
Charlie Anderson bae584c31c Add flag for restoring archived pinned shortcuts
Bug: 375414891
Flag: com.android.launcher3.restore_archived_shortcuts
Test: Presubmit
Change-Id: I3e8d5d2f0268b43b73621bc600726c5107ea4b34
2025-01-23 20:57:49 +00:00
Sunny Goyal 777324ed15 Removing redudntant objects from BgDataModel
Bug: 390572144
Flag: EXEMPT refactor
Test: Updated model tests
Change-Id: Ied8a0bfdbfd324b9fb05724f1fcf67238aa37d16
2025-01-23 12:55:37 -08:00
Treehugger Robot 0fc6cb470c Merge "launcher3: Add support for custom layouts in ArrowTipView." into main 2025-01-23 12:17:39 -08:00
Uwais Ashraf c1f65d0d7a Merge "Only cancel CoroutineScope of TaskThumbnailView instead of removing from RV." into main 2025-01-23 12:16:50 -08:00
mpodolian 5d904e0f67 IPC for app icons drag events over the Bubble Bar
Added an IPC call to inform the Bubble Bar in the launcher process
of drag events from the shell.

Bug: 388894910
Flag: com.android.wm.shell.enable_bubble_bar
Test: Manual. Check that events from the shell process successfully
reach the launcher process.

Change-Id: I01615911ce7e4250138aedaa5823f639b9163ff0
2025-01-23 11:10:18 -08:00
Treehugger Robot 9bd2d14fa4 Merge "Add SysUiProxy multiple desktops APIs" into main 2025-01-23 11:08:50 -08:00
Treehugger Robot ed5910ad52 Merge "Revert "Revert "Migrating RecentsAnimationDeviceState and depend..."" into main 2025-01-23 11:02:36 -08:00
Stefan Andonian a2db1356ba Focus on newly added app for all Accessibility use cases when adding an app to the home screen.
Bug: 377555526
Test: Verified that this works well for both this use case and for b/383456105's use case.
Flag: EXEMPT bug fix
Change-Id: I91426487f435d6c0b796cafe58b526c73dfaa398
2025-01-23 10:42:09 -08:00
Stefan Andonian 3ef8ffeaa8 Add Logging for NotificationService Events in Launcher
Bug: 362473999
Test: Verified that these logs show up on device
Flag: EXEMPT bug logs
Change-Id: Ib85fa5d57d0ff6fef456bfd816d21e41269eadbc
2025-01-23 10:02:18 -08:00
Treehugger Robot 4e09250fd5 Merge "Convert TaskViewTouchController to Kotlin." into main 2025-01-23 09:51:04 -08:00
Jagrut Desai c900bda8da Fix Taskbar existing app launch in DW
The issue: we were blocking the opening of existing app in when multi-instance flag was tunred on.

The Solution:  we don't actually need to do this since, the multiple taskbar icons of the same app are blocked pm TaskbarRecentsAppsController

Test: Manual, Presubmit
Bug: 391143101
Flag: EXEMPT bugfix
Change-Id: Ic2aa7cca4fd18d9b8cf48a2778c6e666241a4f7f
2025-01-23 09:29:36 -08:00
Eghosa Ewansiha-Vlachavas c808bb1b23 [2/n] Hide desktop button in overview for incompatible tasks
Flag: NONE bug fix
Test: atest -c NexusLauncherTests:com.android.quickstep.DesktopSystemShortcutTest,
      atest -c NexusLauncherTests:com.android.quickstep.ExternalDisplaySystemShortcutTest
Fixes: 389923274

Change-Id: I82acc85ca57b5454f9eeedd800dcd7da9990f9c8
2025-01-23 17:14:52 +00:00
Uwais Ashraf b7a66372ff Only cancel CoroutineScope of TaskThumbnailView instead of removing from RV.
Removing TVs from RV was causing failures of CUJs (only in tests) when enabling TTV flag.

Bug: 390156722
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: TaplTestsQuickstep.testOverview
Test: TaplTestsKeyboardQuickSwitch.testLaunchOverviewTask_fromHomeAllApps
Change-Id: I0aae99891941c04b543d1e29db9d6d87bc89ed8e
2025-01-23 16:56:13 +00:00
Ahmed Fakhry 1d112be382 Add SysUiProxy multiple desktops APIs
Add two new APIs for multiple desktops:
- `createDesk()`.
- `activateDesk()`.
Currently these APIs are not hooked up yet. This will be done in
follow-up CLs.

Also removes the unused `getVisibleTaskCount()` API.

Bug: 390715986
Test: m
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Change-Id: I363f0e520f649572156047ebcd4ed6e542d77dc1
2025-01-23 16:41:30 +00:00
Artsiom Mitrokhin 8519be8f3a Merge "Use conditional stroke color for taskbak overflow entrypoint" into main 2025-01-23 08:31:28 -08:00
Treehugger Robot 86864f95c3 Merge "AllApps tray icon tap: use showDesktopApp() for existing Desktop tasks" into main 2025-01-23 03:34:55 -08:00
MrSluffy e85c5bc7b2 enh : make folder placeholder translatable 2025-01-23 18:58:47 +08:00
Pat Manning b426809ced Convert TaskViewTouchController to Kotlin.
Flag the change to use the previous class.

Fix: 391107339
Test: Manual.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: Icf139fc0d6744766da548f2137597b2b020863c1
2025-01-23 10:57:17 +00:00
MrSluffy 94d2ba5cfc enh : fix not properly load folders 2025-01-23 18:53:34 +08:00
Treehugger Robot d32348bddb Merge "Show desktop tasks when taskbar is pinned on home" into main 2025-01-23 02:10:17 -08:00
Lingyu Feng 779bd3cd46 Add onDisplayRemoveSystemDecorations to TouchInteractionService
onDisplayRemoveSystemDecorations() is a new method in IOverviewProxy.aidl

Bug: 352461502
Flag: com.android.server.display.feature.flags.enable_display_content_mode_management
Test: manually (adb shell settings put secure mirror_built_in_display
{1|0})

Change-Id: I42d96ef27fd62d35ae1ca6134bd74752de3a2b5d
2025-01-23 01:30:20 -08:00
Gustav Sennton 1427068342 AllApps tray icon tap: use showDesktopApp() for existing Desktop tasks
When tapping an icon in the AllApps tray, before this CL, we would use
the WM Shell API startLaunchIntentTransition() to launch a task for that
app icon. However, this would break the window limit logic since in WM
Shell (startLaunchIntentTransition()) we think we're launching a new
task, when in fact we're just moving an existing one to the front.
With this CL we instead reuse the showDesktopApp() API whenever the app
we're trying to launch has an already visible / minimized Desktop task.

Bug: 391365151
Test: launch visible Desktop app from AllApps - doesn't overtrigger
window limit
Flag: com.android.window.flags.enable_desktop_app_launch_transitions_bugfix

Change-Id: Ia3638012226fe28c853ec6cfd0523a8fb23b8961
2025-01-23 00:46:08 -08:00
Treehugger Robot 11e4b589f6 Merge "Remove heuristic that determines whether to shift cells down or not" into main 2025-01-22 23:55:00 -08:00
MrSluffy 486f361d24 exp : add migrate 2->3 2025-01-23 14:06:44 +08:00
MrSluffy 224702a605 exp : add initial migration from lc14 to lc15 2025-01-23 13:46:52 +08:00
MrSluffy 8630ae61aa fixed : remove duplicate condition 2025-01-23 11:42:56 +08:00
MrSluffy 95d1773aae enh : reduce overhead by removing redundant loadFolder calls 2025-01-23 11:40:55 +08:00
Adnan Begovic 27772e9780 launcher3: Only translate on positive values.
Don't translate canvas on non positive values
  when utilizing delegate cell drawing.

Bug: 391731169
Test: manual, existing
Flag: com.android.launcher3.one_grid_specs
Change-Id: I44f51d40e5a6352e6d4eed2b9e475b2a37b6ea9d
2025-01-22 18:55:57 -08:00
Sunny Goyal a5fef475a5 Revert "Revert "Migrating RecentsAnimationDeviceState and depend..."
Revert submission 31416515-revert-31332401-recents-device-state-LXBUANUQFL

Reason for revert: Fixing build breakage and resubmitting

Reverted changes: /q/submissionid:31416515-revert-31332401-recents-device-state-LXBUANUQFL

Change-Id: I3b89356df57f1e7ff1a9e364c0d766578e23798c
2025-01-22 18:31:06 -08:00
Andy Wickham b5308e005c Update device profile tests to account for all apps panel.
Flag: com.android.launcher3.all_apps_sheet_for_handheld
Test: DeviceProfileDumpTest
Bug: 374186088
Change-Id: I18148452270cdc1d8b6a43122c2b49f535a86daa
2025-01-23 01:46:18 +00:00
Lingyu Feng 156c69bd2a Rename onDisplayReady to onDisplayAddSystemDecorations
Bug: 390591772
Flag: com.android.server.display.feature.flags.enable_display_content_mode_management
Test: m
Change-Id: I7fe025275894ed21166be41855ab93f434b1de73
2025-01-23 10:38:15 +09:00
MrSluffy 30bde6285d enh : Exclude apps already in other folders from container list 2025-01-23 09:22:29 +08:00
MrSluffy 792d7ed29a enh : add option hide assigned apps in folder 2025-01-23 08:27:06 +08:00
Shamali P 7d64195793 Fix issue that recommendations were visible in landscape mode.
ag/30344959 showed the recommendations if available, to avoid the issue
of widgets list flashing when exiting search mode. However, we usually
hide recommendations in phone landscape due to the sticky header layout
not having enough space. In this fix, instead, we rebind recommendations
as before (to let the logic there decide whether to show or hide them),
and in order to fix the flashing problem that the earlier change was handling, we reset the recycler view.

Bug: 391231345
Flag: EXEMPT bugfix
Test: Manual, we don't have tests for interactions between screens
Change-Id: I535aa43cc553c9287c5d38ef7cde30f01e84d347
2025-01-22 16:19:35 -08:00
MrSluffy 04a8c05426 enh : dont show apps with folder in app drawer 2025-01-23 07:44:34 +08:00
Android Build Coastguard Worker 913244fac3 Merge cherrypicks of ['googleplex-android-review.googlesource.com/31389458', 'googleplex-android-review.googlesource.com/31389459', 'googleplex-android-review.googlesource.com/31392372'] into 25Q1-release.
Change-Id: I9b168316aff1fe91c2309d14f2f9ba226ff3efb3
2025-01-22 15:42:26 -08:00
Bill Yi 9bdbf3f1ff Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import

Bug: 391337100
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:56c00017dba8362a0bac6eba16065010afe8207b)
Merged-In: I56538c0a63fec05dd87df2afa0760fddfcab55dd
Change-Id: I56538c0a63fec05dd87df2afa0760fddfcab55dd
2025-01-22 15:28:30 -08:00
Bill Yi f22de1b0b6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import

Bug: 391337100
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ccb7c4d26baf13960615c1f447ed9b80ae2e4e31)
Merged-In: Ib01195ca78be6438daa05f648e52675bf9241ced
Change-Id: Ib01195ca78be6438daa05f648e52675bf9241ced
2025-01-22 15:28:16 -08:00