Commit Graph

34 Commits

Author SHA1 Message Date
Will Osborn
15041a369d Add flag enable_simultaneous_overview_trigger_on_extended_desktop
Test: None
Bug: 421128035
Flag: com.android.launcher3.enable_simultaneous_overview_trigger_on_extended_desktop

Change-Id: I1a54ea49caf3e2dd3449b77bbd744afe682e2fe1
2025-06-03 15:52:03 +00:00
Pierre Barbier de Reuille
933c5324d0 Create a flag to enable the desktop menu entry on Overview when ready
Bug: 418822736
Flag: com.android.launcher3.enable_desktop_menu_on_secondary_display_bugfix
Test: atest DesktopSystemShortcutTest
Change-Id: I55b6493165f5307d3c247bb604441b093d5e8e9d
2025-05-20 15:55:41 +01:00
Treehugger Robot
51343f74d5 Merge "Create bugfix flag for coroutine threading improvements" into main 2025-05-07 07:40:50 -07:00
Uwais Ashraf
fb60dc96c6 Create bugfix flag for coroutine threading improvements
Flag: com.android.launcher3.enable_coroutine_threading_improvements
Bug: 416206104
Test: None - flag creation
Change-Id: Ic0b812cbf2ef7ff00fbb87db5fd2df7a9e8b6599
2025-05-07 11:36:03 +00:00
Sam Cackett
4fe1a9861b Cleanup flag
Remove com.android.launcher3
 .enable_show_enabled_shortcuts_in_accessibility_menu flag and
 references from the codebase

Fix: 415679751
Flag: EXEMPT. Cleanup
Test: OverviewMenuImageTest
Change-Id: I3a7b58b7c3fe4c6c3a5750fd1e851909630e80ff
2025-05-06 12:23:54 +01:00
Treehugger Robot
bab5af8a4f Merge "Update bug associated with enable_overview_background_wallpaper_blur" into main 2025-04-29 16:04:29 -07:00
Alex Chau
3a06efdceb Update bug associated with enable_overview_background_wallpaper_blur
Bug: 360297985
Test: None
Flag: EXEMPT flag only
Change-Id: I1a3a3c706533b52bf759b61bee46439d35dab57b
2025-04-29 15:41:22 +01:00
Alex Chau
fcb0339a48 Update bug associated with enable_refactor_task_thumbnail
Bug: 331754864
Test: None
Flag: EXEMPT flag only
Change-Id: I9d3148c7d2601619a543bc21ca822dd20608994c
2025-04-29 15:28:33 +01:00
Jordan Silva
5713bf2ef0 Remove feature flag for OverviewCommandHelper timeout
Fix: 409608875
Flag: EXEMPT Flag removal.
Test: OverviewCommandHelperTest.kt
Change-Id: I094eed94620665b8b089716b2cfe15773243e573
2025-04-17 08:36:06 -07:00
Alex Chau
e4413f929d Clean-up enableDesktopWindowingCarouselDetach and refactor detachDesktopCarousel
- Removed enableDesktopWindowingCarouselDetach flag
- detachDesktopCarousel is now always false, except in home quick switch (QuickSwitchState)
- Updated home quick switch controller NoButtonQuickSwitchTouchController to apply DESKTOP_CAROUSEL_DETACH_PROGRESS

Fix: 411127271
Test: manual
Flag: EXEMPT flag cleanup and refactor
Change-Id: I1cbf0987b111d0111cb8b9b6c7994f4494780e1a
2025-04-17 05:08:41 -07:00
Alex Chau
60595d7037 Clean-up enable_separate_external_display_tasks
Fix: 409611251
Test: manual
Flag: EXEMPT flag removal
Change-Id: Ib0ab4f6d994ba30d68f3a31d88b4f681e8e9d718
2025-04-11 14:25:38 +01:00
Treehugger Robot
c20a68eb4b Merge "Remove EnableHoverOfChildElementsInTaskview flag" into main 2025-04-10 06:30:38 -07:00
samcackett
68a21ed111 Remove EnableHoverOfChildElementsInTaskview flag
Fix: 409610713
Flag: EXEMPT. Flag removal
Test: N/A
Change-Id: Ifa924cb2011bb6e633ee5b79c17601be82b4a779
2025-04-10 10:59:54 +01:00
Uwais Ashraf
1fdb1dcbc0 Remove enable_use_top_visible_activity_for_exclude_from_recent_task flag
Fix: 409605610
Test: EXEMPT flag change
Flag: EXEMPT flag removal
Change-Id: I8459a4bc3345652f3b07e5dea97209e250e4f9b8
2025-04-10 02:32:12 -07:00
Sam Cackett
d4d4874fc1 Create flag for wrapping TaskThumbnailView in TaskContentView
Bug: 408971730
Flag: EXEMPT. Adding flag
Test: N/A
Change-Id: I5aab00d6b10e1ace54487711684553fb1465f2dd
2025-04-07 02:51:11 -07:00
Shamali P
085e01ad72 Add a new flag for the digital wellbeing toast refactor
Bug: 404838605
Fix: 405359733
Flag: com.android.launcher3.enable_refactor_digital_wellbeing_toast
Test: EXEMPT flag addition
Change-Id: I4feffbf7b8a19942617b9a9c65b5c98899541450
2025-03-24 16:18:01 -07:00
Alex Chau
dc0033eabf Update Overview flag bug IDs
Bug updated for enable_grid_only_overview and enable_overview_icon_menu

Bug: 257950105
Bug: 360204325
Bug: 360205084
Flag: EXEMPT FLAG_ONLY
Test: presubmit
Change-Id: Ia253a87731bd272ce3bcbd41af5bc3c1729807fb
2025-03-07 12:59:50 -08:00
samcackett
0946c8c123 Show screenshot and select in task menu
Hide screenshot and select from menu if thumbnail is null

Bug: 383662632
Flag: com.android.launcher3.enable_show_enabled_shortcuts_in_accessibility_menu
Test: OverviewMenuImageTest & manual. See bug.
Change-Id: Idf41de7e36b63f7bcc8639f5f3932a61e56ebfcd
2025-03-07 08:41:41 -08:00
Vinay Joglekar
3661a5005c Add feature flag for desktop tile wallpaper background in overview.
Change-Id: Ia070d530e43220a00a3f81b33b77ea70ea96cbfb
Fix: 397438316 
Flag: com.android.launcher3.enable_overview_desktop_tile_wallpaper_background
Test: None. Flag addition.
2025-02-19 02:26:24 -08:00
Vinay Joglekar
a3e196083e Add feature flag for background wallpaper blur in overview.
Change-Id: I3a4b06270538a9bd42ad3552374885d9f3d6fa35
Fix: 397438303 
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Test: None. Flag addition.
2025-02-18 10:07:00 -08:00
Will Osborn
a015f042f6 Add feature flag for enable_overview_on_connected_displays
Test: None
Bug: 363251602
Flag: com.android.launcher3.enable_overview_on_connected_displays
Change-Id: If5d248ff1005bf30beb259f65b5ce8ffad92489c
2025-01-24 09:15:31 +00:00
Treehugger Robot
71cbc13214 Merge "Revert "Replace system_ext container with system"" into main 2025-01-21 17:06:01 -08:00
Alex Chau
9d7546ef59 Add feature flag for enable_separate_external_display_tasks
Bug: 391311008
Flag: com.android.launcher3.enable_separate_external_display_tasks
Test: None
Change-Id: Iae86c73912bbe5ba8c0736d2631eebcfd2f8620a
2025-01-21 13:43:58 +00:00
Justin Yun
da76a66353 Revert "Replace system_ext container with system"
This reverts commit d80efafdc0.

A system partition cannot have the aconfigs of other partitions.
Revive the system_ext container for system_ext aconfigs.

Bug: 385213580
Test: "adb shell aflags list" must not be changed.
Flag: EXEMPT refactor
Change-Id: I92387e6d5764c750f83bd8d266f6da969e114a72
2025-01-17 15:04:41 +09:00
Pat Manning
04be6044af Add flag for expressive dismiss task motion in Overview.
Fix: 389080352
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Test: None. Flag addition.
Change-Id: I3d5edac7aa20db16445026d3ec02af4dab5b118b
2025-01-13 09:44:35 -08:00
Uwais Ashraf
5305c71e8b Add flag for using top visible activity for recent tasks instead of indicies
Bug: 342627272
Flag: com.android.launcher3.enable_use_top_visible_activity_for_exclude_from_recent_task
Test: none - flag addition
Change-Id: Ia32dacaab750f485a584d5a15fd0b3bf40e36446
2024-12-04 22:28:57 +00:00
Michele Fan
5f77bbd6be desktop-exploded-view: Add aconfig flag
Flag: com.android.launcher3.enable_desktop_exploded_view
Bug: 357861590
Test: Manual
Change-Id: I214899adb90e551b29780cb82e208994a66426bd
2024-11-11 19:18:11 +00:00
Alex Chau
edd7ff2fa1 Add a feature flag to toggle DW carousel detach
Fix: 376015547
Flag: com.android.launcher3.enable_desktop_windowing_carousel_detach
Test: manual
Change-Id: I98d4fbb17e8e432c94842c38d83735533d5ea197
2024-10-28 14:29:31 +00:00
Jordan Silva
e4b0747194 Update bug number for enable_large_desktop_windowing_tile
Bug: 357860832
Change-Id: If208bfb26bd4e082bf5197b44f7270ee3e68ae39
Flag: com.android.launcher3.enable_large_desktop_windowing_tile
Test: Gantry should update the bug reference
2024-10-04 01:08:13 +00:00
Dennis Shen
d80efafdc0 Replace system_ext container with system
Bug: b/365135457
Test: m
Flag: EXEMPT refactor
Change-Id: I5521307c4b816d9802cb5f676d11c0b89cdfa862
2024-09-13 12:41:58 +00:00
Jordan Silva
ad3c422f6c Adds a timeout for OverviewCommandHelper commands (3/3)
We had several bugs in the past months related to recents button not displaying Overview when using 3 button navigation. For some of the bug reports, we noticed the OverviewCommandHelper pending commands list got stuck and stopped processing the next commands in the list. Sometimes, the pending commands list was cleared while some command was being processed, allowing newer commands to be executed while another command is already running. This resulted in the second callback never returning and inconsistent states for OverviewCommandHelper and RecentsView.

Our logs showed OverviewCommandHelper often got stuck and didn't finish the commands correctly.

To mitigate these issues we updated the following behaviors:
- Implemented a timeout to process the commands in the queue. If the callback doesn't return in a given time, it will drop that execution and process the next one in the queue.
- Fix clearPendingCommands to clear only the pending commands from the queue, and not the running command.

Bug: 352046797
Fix: 351122926
Fix: 361768912
Flag: EXEMPT bugfix.
Test: OverviewCommandHelperTest
Change-Id: I47adf0c54dcbaef63d9b72055e000c26114e96e1
2024-09-06 13:58:10 +01:00
Jordan Silva
b06ff83808 Move DesktopTask to front of RecentsView (1/2)
This CL updates the DesktopTasks in the RecentsView to be displayed after the focused task, separated from the other tasks in the grid. The DesktopTasks will be larger, following the same size used for focused tasks.
It was necessary to do the following changes to support DesktopTask at the front of the list.
1. Sort the GroupTasks in applyLoadPlan to move DesktopTasks after all other tasks.
2. Update the target page to take into account the DesktopTasks after the running task.
3. updateGridProperties had to support DesktopTask and Focused Task to be positioned at the front of the list. This function updates view translations to support the grid with two rows and rebalacing the position after a task is dimissed.
4. Update the max and min page scroll. Updated getFirstViewIndex to check for a DesktopTaskView, and if it doesn't exist, it uses the focused task as reference.
5. TaskView.updateTaskSize was updated to prevent DesktopTaskView being resized. This change makes DesktopTaskView to have the same size of our current focused task.
6. Update several places using focused task to use isLargeTile.

Bug: 353947137
Fix: 353947516
Fix: 353947467
Fix: 353947334
Flag: com.android.launcher3.enable_large_desktop_windowing_tile
Test: OverviewDesktopTaskImageTest

Change-Id: Ic7c0d8340ca259e8644de180aa6859a3c968d66e
2024-08-21 17:43:36 +01:00
Sam Cackett
5c2d50d901 Add hover states to IconView and TaskThumbnailView in Overview
- Hover over IconView passes to FastBitmapDrawable
- Hover over TaskThumbnailView bounds highlights the border
- Hover over TaskView outside of IconView or Thumbnail does nothing
(previously highlighted a border incorrectly)

Bug: 342594235
Test: OverviewTaskViewHoverImageTest, OverviewDesktopTaskImageTest
Flag: com.android.launcher3.enable_hover_of_child_elements_in_taskview
Change-Id: I5b0753bdec609a4a6658a35422e2823c4ed109fc
2024-08-07 08:22:44 +00:00
Jordan Silva
4db30dbc28 Move Overview-specific flags to a separate aconfig file
This is to keep the main launcher aconfig file more organized and easier to read and aligned with gantry namespace.

Bug: 349534860
Change-Id: Ib21fbac38ed0564fa481fce3a2da9a9b8c1a7139
Flag: EXEMPT - moving flags to another file
Test: EXEMPT - moving flags to another file
2024-07-03 10:49:51 +00:00