Commit Graph

185 Commits

Author SHA1 Message Date
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
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
Ajinkya Chalke 772b851fb6 Add Aconfig flag for Alt + Tab KQS view on CD
Change-Id: Icdeebf551828975630adce05bcb1ee3f5956bf98
Flag: EXEMPT adding flag
Test: EXEMPT adding flag
Bug: 394007677
2025-02-03 03:15:38 -08:00
Sukesh Ram 65042fde52 Move enable_taskbar_connected_displays to lse_desktop_experiences
Removing launcher flag for taskbar in secondary display and adding it to lse_desktop_experiences.

Test: m
Bug: 393398093
Bug: 383634014
Flag: com.android.window.flags.enable_taskbar_connected_displays
Change-Id: Ia73f31346eb1b3bd273ecb7801eb1264d92e6863
2025-01-31 00:11:02 +00:00
Matthew Mourgos e95c163799 Merge "Add flag for mouse interaction changes" into main 2025-01-28 11:03:25 -08:00
Matthew Mourgos a83f85cf43 Add flag for mouse interaction changes
Bug: 388897603
Flag: EXEMPT adding flag
Test: EXEMPT adding flag
Change-Id: I8cc3f7711fcd378a57314a8a8070374e550b1344
2025-01-24 16:23:34 -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
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
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
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
Roy Chou 19e5d0c593 chore(magnification): remove the PRIVATE_FLAG_EXCLUDE_FROM_SCREEN_MAGNIFICATION window flag usage in Launcher app
As the bug, in some case the launcher taskbar is visible but the taskbar
window is flagged with PRIVATE_FLAG_EXCLUDE_FROM_SCREEN_MAGNIFICATION, so
the magnification consumes the gesture events on the taskabr, then the
accessibility gesture shortcut cannot take effect.

The flag was introduced in Launcher to fix the fullscreen magnification border
cutting/overlapping with taskbar issue. Since we already migrate the
fullscreen border to sysui and make it always fit the screen, regardless
the magnification regions, so we can remove the flag usage in Launcher
to solve the bug and do not affect the fullscreen border layout correctness.

We'll use a bugfix feature flag to gradually rollout this change.

To test the fix, on LargeScreen devices, we can enable accessibility gesture
shortcut and disable the "keep on while switching apps" toggle in
Magnification Settings page, then in any app we use the 2 finger swipe gestures
to try activate/deactivate the magnification. When the flag is off, swipe
gesture can not successfully deactivate the magnification, while the
flah is on it work. (attached records in bug)

Bug: 369019568
Flag: com.android.launcher3.remove_exclude_from_screen_magnification_flag_usage
Test: manually (see message above)
Change-Id: I469189a2288d0ddbfb5a5d9e02a78366870ce5b1
2024-12-18 07:28:27 +00:00
Johannes Gallmann 8d5fd05718 Add blur effect to predictive back-to-home animation
Bug: 342178850
Flag: com.android.launcher3.predictive_back_to_home_blur
Test: Manual, i.e. testing predictive back-to-home animation on device
Change-Id: I6295353d910ad8597477b722de3a87f93ee0297c
2024-12-13 11:44:07 +00:00
Johannes Gallmann c8fd3f23fe Play workspace reveal animation for predictive back-to-home
Bug: 382453424
Test: Manual, i.e. tested back-to-home and back-to-allapps animation on phones, tablets and foldables, including interruptions.
Flag: com.android.launcher3.predictive_back_to_home_polish
Change-Id: I092a74ab2340828e18067ca15c7019c44d30f40b
2024-12-12 14:18:03 +00: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
Charlie Anderson 7e0cad5e10 add Launcher flag for launcher icon shapes
Bug: 348708061
Test: EXEMPT adding flag
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: I95d5ecd79261d2dad62386f08fa3c6da13054728
2024-11-27 14:59:19 +00:00
Shamali Patwa d2cc1f0577 Update the enforce_system_radius_for_app_widgets flag's type
Renamed to use_system_radius_for_app_widgets since metadata cannot be updated after submitting definition.

Bug: 373351337
Test: N/A flag metadata update
Change-Id: I25283b05341517f5984b0f2fc0d27efe8027a3de
Flag: com.android.launcher3.use_system_radius_for_app_widgets
2024-11-18 21:58:48 +00:00
Wen-Chien Wang 6863d6244b Add a flag for the context menu to pin/unpin apps on taskbar.
Bug: 375648361
Flag: EXEMPT adding flag
Test: EXEMPT adding flag
Change-Id: I3a63a89b8e19cffe666f93fa98638d3d59d1ef1b
2024-11-12 23:26:25 +00:00