Commit Graph

254 Commits

Author SHA1 Message Date
Treehugger Robot 1e5e03d74d Merge "Remove flag ComAndroidLauncher3EnableUnfoldedTwoPanePickerLaunch" into main 2025-04-11 18:06:26 -07:00
Brandon Dayauon b570514ee0 Merge "Add nudgeView to Taskbar.xml" into main 2025-04-11 16:28:59 -07:00
Federico Baron d11aa358c3 Remove flag ComAndroidLauncher3EnableUnfoldedTwoPanePickerLaunch
Flag: EXEMPT internal cleanup
Test: EXEMPT internal cleanup
Bug: 409604800
Change-Id: Id67bcd7af442e19eff4ef65f3135b83124e4098f
2025-04-11 22:01:49 +00:00
Sunny Goyal 040ff3a7bf Adding HomeScreenRepo to expose homescreen data as repository
Bug: 390572144
Test: Presubmit
Flag: com.android.launcher3.model_repository
Change-Id: If82a388a44d7a9c448f6eb4901c2acdb508ccfdc
2025-04-11 13:28:08 -07:00
Brandon Dayauon 1fc6f916d3 Add nudgeView to Taskbar.xml
Aiai will send a broadcast to Launcher and will animate the stashHandleView and nudgeView accordingly.
Verified on large screen device that transient taskbar is not affected as its not in scope at the moment.

bug:409121556
Test: manual - video in bug
Flag: com.android.launcher3.nudge_pill

Change-Id: I740e5d81dd008a230aa089f311d38bac665fc227
2025-04-11 13:24:22 -07:00
Alex Chau 45f4721a6e Merge "Clean-up enable_separate_external_display_tasks" into main 2025-04-11 10:12:48 -07:00
Schneider Victor-tulias ec8841a926 Merge "Clean up fully rolled out flag enable_desktop_task_alpha_animation" into main 2025-04-11 07:36:27 -07:00
Schneider Victor-tulias 34fcfddaa2 Merge "Clean up fully rolled out flag enable_handle_delayed_gesture_callbacks" into main 2025-04-11 07:36:12 -07:00
Schneider Victor-tulias 69dc582a4e Merge "Clean up fully rolled out flag enable_active_gesture_proto_log" into main 2025-04-11 07:35:12 -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
Schneider Victor-Tulias 67a1a3646c Clean up fully rolled out flag enable_handle_delayed_gesture_callbacks
Flag: EXEMPT removing flag
Bug: 409605707
Test: None; flag is already fully rolled out
Change-Id: I06adfa8e0b88c14854fd80b1ccdcd6406c2cf2e9
2025-04-10 11:12:28 -07:00
Schneider Victor-Tulias 21744a7b01 Clean up fully rolled out flag enable_active_gesture_proto_log
Flag: EXEMPT removing flag
Bug: 409609863
Test: None; flag is already fully rolled out
Change-Id: I9ab72733d18944f25c7593415abb5964794d7f05
2025-04-10 11:12:15 -07:00
Schneider Victor-Tulias a1366e3531 Clean up fully rolled out flag enable_desktop_task_alpha_animation
Flag: EXEMPT removing flag
Bug: 409605077
Test: None; flag is already fully rolled out
Change-Id: I92c8520ce1f924104453be7e969bd6095d612717
2025-04-10 11:11:58 -07: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
Charlie Anderson 646f23c9cc Adds Flag for expressive folder expansion motion
Bug: 348708061
Flag: com.android.launcher3.enable_expressive_folder_expansion
Test: presubmit
Change-Id: I7d6a2908c2b745ff351532eae9c75d8f384f8d5f
2025-04-04 13:23:33 -07:00
Wen-Chien Wang 9d962c8c3e pin-shortcut: Move flag to lse
Bug: 375648361
Test: EXEMPT changing flag
Flag: EXEMPT moving flag
Change-Id: I13065db6dcf42e26e87aba27f395e4345c569d6f
2025-04-01 18:29:59 +00: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
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
Stefan Andonian 30d93a5e74 Replace the resource flag to be used for google sans flex font changes
This new flag is going to be a bug fix flag for easier process
requirements.

Bug: 393609690
Test: Verified compilation worked well and font actually built
successfully in both gradle and make.
Flag: com.android.launcher3.gsf_res

Change-Id: Ic94e52e7fa58efb20fd867cfc661d6f7341fa4ef
2025-03-14 13:50:42 -07:00
Treehugger Robot aca72908f6 Merge "Use Launcher aconfig flag in Resource file." into main 2025-03-12 14:12:11 -07:00
Stefan Andonian ae799cc4e8 Use Launcher aconfig flag in Resource file.
Use BaseIconRoot as an example. Also add bpfmt file formatting.

Bug: 393609690
Test: Verified compilation worked well and font actually built
successfully in both gradle and make.
Flag: com.android.launcher3.google_sans_flex_font

Change-Id: I2200d13a8d57e5d046a35226f08a751add937ca7
2025-03-12 18:44:05 +00:00
Andy Wickham 250d85698c Merge "Adds all_apps_blur flag." into main 2025-03-12 11:25:50 -07:00
helencheuk 69193807f7 Reland - Not refresh predicted app in right click
When users right click the mouse/touchpad, predicted apps in hotseat refresh and it is weird.
It refreshes because the right click is treated as a drag and a drag would trigger predicted apps refresh.
This fix adds a PreDragCondition when right click to avoid it from starting drag.

Bug: 343650193
Test: Manual, connect to touchpad and right click on widget and folderIcon
Flag: com.android.launcher3.remove_apps_refresh_on_right_click
Change-Id: Id0be87beb8a0e9baf78a4ba8ec4c93462ec7bb3e
2025-03-12 15:56:53 +00:00
Andy Wickham ccb3a5c25c Adds all_apps_blur flag.
This enables blur both for Taskbar and Launcher, but in slightly
different ways.

For Taskbar All Apps, we apply blur to the overlay window, and
for Launcher All Apps, we utilize the existing DepthController to
blur the wallpaper window. For similicity, we currently fade out
workspace/hotseat to avoid awkward view + window blurs which
don't look that good. This is not the POR, but I think it achieves
most of the effect and will help us get some blur exposure.

Separately I will continue to investigate options such as blurring
workspace in a clever way so it feels blended with the wallpaper,
reusing the Taskbar window and connecting it to LauncherState, or
using a SurfaceView (though I spent quite some time trying this and
it seemed the same as the original issue).

In both cases, we use a 20-30% opacity scrim with a set color, and a
panel that blends 40% opacity of a dark/light color with 10% white.

Also updated some incorrect isTablet checks which really should have
been checking shouldShowAllAppsOnSheet(), which includes the
all_apps_sheet_for_handheld flag.

Demo: https://drive.google.com/file/d/1Ov9Dg3R9YHNfisfxNf97ZIhlDeEA1IWj/view?usp=sharing&resourcekey=0-l_SDpqpS4HtOb10a3b_jNg

Other upcoming improvements: interpolator tweaks, colors of things
inside the app panel (tabs, private space, search results, etc).

Bug: 400827727
Bug: 371343636
Test: Manual
Flag: com.android.launcher3.all_apps_blur
Change-Id: Ic7063cd822f39a5977715b5477f825bf11e57bdf
2025-03-11 23:34:03 +00:00
Jon Miranda 57e604d2b0 Add flag sync_app_launch_with_taskbar_stash
We will use this to sync the two animations
(app launch, taskbar stash) so they play at the same time."

Bug: 319162553
Test: n/a adding flag
Flag: EXEMPT adding the flag
Change-Id: I835a45539bd21dd5ad135132a5acb792f40721bf
2025-03-10 16:46:47 -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
Treehugger Robot 522a869e01 Merge "Show screenshot and select in task menu" into main 2025-03-07 12:28:33 -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
Randy Pfohl 50fb3d2882 Updating namespaces of recents in windows flags for us in desktop experience flags
Test: None

Flag: EXEMPT updating namespaces for gantry

Bug: b/401073215
     b/401073401
     b/401075030
     b/401076625

Change-Id: I3d981186c8ec56f79be881e42df5d8749fe07a33
2025-03-06 15:17:14 -08:00
Treehugger Robot 9b775dfdac Merge "Check horizontal touch slop for non-vertical flings" into main 2025-03-04 17:29:35 -08:00
Brian Isganitis 42c58e39fd Migrate layout transition flag to DesktopModeFlag version.
Flag: com.android.window.flags.enable_taskbar_recents_layout_transition
Bug: 343521765
Test: go/testedequals
Change-Id: I175e428240bc52689efe0f6e4457620ac2efdbb5
2025-03-04 11:30:23 -05:00
Schneider Victor-Tulias fad57be97f Check horizontal touch slop for non-vertical flings
Flag: com.android.launcher3.enable_gesture_nav_horizontal_touch_slop
Fixes: 394364217
Test: Tested overview gesture with slight horizontal fling at the end
Change-Id: Ifb716b58486dd0bfadee467978b85150525af333
2025-03-04 07:42:08 -08:00
Ana Salazar Maldonado f59d6b3187 Add flag for launcher scalability on desktop
Bug: 375491470
Bug: 375491272
Flag: EXEMPT adding flag
Test: EXEMPT adding flag
Change-Id: I9c80163c7bfd505c00af64c1916ff741086784be
2025-03-03 12:02:02 -08:00
Jon Miranda 18441b720c Merge "Add bugfix flag for enable_taskbar_behind_shade" into main 2025-03-03 06:27:40 -08:00
Jon Miranda 7b7a73a7b6 Add bugfix flag for enable_taskbar_behind_shade
Bug: 343194358
Test: n/a this is just adding a flag
Flag: EXEMPT adding the flag
Change-Id: I3f1b1f958427a22bbbaab95da362397c5f79f1cd
2025-02-27 17:58:26 -08:00
Justin Yun 29b75b5249 Launcher3 is in system_ext container
As Launcher3 is installed in system_ext, com_android_launcher3_flags
is in the system_ext container. Aconfig flags must set the same
container with their declaration.

Bug: 385213580
Test: "adb shell aflags list" must not be changed.
Flag: EXEMPT refactor
Change-Id: I433756dda120de253909db663a6ecfd47d26c65d
2025-02-28 05:29:09 +09:00
Schneider Victor-Tulias ba7f9048be Add aconfig flag for gesture nav handling on connected displays.
Flag: EXEMPT adding the flag
Bug: 382130680
Bug: 398881237
Test: ran launcher
Change-Id: Ic39582bd2f20e7d2bbf15bd4c23ae11cf4d73182
2025-02-26 10:21:06 -08:00
Thu-Huong Vu 4aa26a3944 Add a growth broadcast receiver in taskbar.
The growth broadcast receiver will be used to receive broadcast from
Growth Framework and show a nudge on screen.

Refer to go/al-growth-framework-nudge

Test: Manual
Bug: b/396165728
Flag: com.android.launcher3.enable_growth_nudge
Change-Id: Iebf006c733f6f9d079a4c3b03d78fb7c9dd3e5e7
2025-02-25 00:29:42 +00: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
Ajinkya Chalke 2719edd9a3 [CD][Alt+Tab] Add aconfig flag for flattening KQS
- Next will update DesktopExperienceFlags to include this and Alt+Tab CD flag.

Bug: 382769617
Flag: EXEMPT adding flag
Test: EXEMPT adding flag
Change-Id: Id0958ce48b4b733da11ea089ce6f7045d9eaf061
2025-02-18 12:38:50 +00:00
Sunny Goyal 0e65813979 Adding feature flag extendible theme
Bug: 381897614
Flag: com.android.launcher3.extendible_theme_manager
Test: N/A
Change-Id: I20ed674482f7b1e6e64b2907944d3879e1a5c2c0
2025-02-10 12:03:36 -08:00
Charlie Anderson 4905defc6a Add flag for launcher iconography and font updates
Bug: 364950287
Flag: com.android.launcher3.enable_launcher_visual_refresh
Test: Presubmit
Change-Id: I8bb311cf282e1fa25c7517f405c9d637f0b9d99f
2025-02-07 20:30:43 -08:00
Treehugger Robot 2d906e472c Merge "launcher3: Gate strict mode enablement behind flag." into main 2025-02-07 12:32:39 -08:00
Justin Yun 8b6d59f97b aconfig must have the same container with the declaration
com_android_launcher3_flags is in the system_ext container. Flags in
this declaration must have the same system_ext container.

Bug: 385213580
Test: "adb shell aflags list" must not be changed.
Flag: EXEMPT refactor
Change-Id: I9a674fc91ab2114741480a118349102455aa6020
2025-02-06 20:23:49 -08:00
Adnan Begovic 2eb151771c launcher3: Gate strict mode enablement behind flag.
Bug: 394651876
Flag: com.android.launcher3.enable_strict_mode
Test: Manual
Change-Id: I973dacbfac1fbcd889c503623df948c8fde379dd
2025-02-05 15:32:40 -08:00
Saumya Prakash d50f5cb431 Add aconfig feature flag for expressive theme in Gesture nav and Taskbar
Test: Presubmit
Fix: 394613212
Flag: com.android.launcher3.expressive_theme_in_taskbar_and_navigation
Change-Id: I73ad79719d255953e75445209fa92c587356a47b
2025-02-05 11:29:27 -08:00