Commit Graph
87505 Commits
Author SHA1 Message Date
Treehugger Robot ace69f7644 Merge "Making various model objects injectable" into main 2025-03-11 14:48:30 -07:00
Sebastian Franco ad047c74b3 Add padding in Fixed Landscape on the side oposite of the camera hole
Fix: 380031237
Test: HomeScreenImageTest
Flag: com.android.launcher3.one_grid_specs
Change-Id: Ie7557767f629f0c7a5b7b62a3039c8a5c3cc7f43
2025-03-11 14:27:52 -07:00
Stefan Andonian aa29761825 Add Arrows to Folder PageIndicatorDots for Accessibility Purposes.
Bug: 383974843
Test: Verified via go/web-hv that the hitbox sizes were correct. Measured the width and height within the folder for 1 through 7 pages, and everything looked great.Change title worked, and pressing on arrows to change page worked great.
Flag: com.android.launcher3.enable_launcher_visual_refresh

Change-Id: Ic095b2abe330544882467fb4803724e8d50a1798
2025-03-11 14:27:35 -07:00
Jon Miranda ccbc78735f Merge "Check for isAttachedToWindow before dispatching touch event" into main 2025-03-11 13:38:38 -07:00
Treehugger Robot 89816b8e46 Merge "Track the empty desk correctly inside applyLoadPlan" into main 2025-03-11 12:49:52 -07:00
Ana Salazar Maldonado 71c38ab75c Add Widget Resize Frame actions
Demos:
http://screencast/cast/NTE1NDE3NzM0MzgxNTY4MHwxYzQ2MDVlOC1mOQ
http://screencast/cast/NTcwNTM3ODE5MTkwMDY3Mnw5MDBiNzAzMS03MA

Bug: 374248904
Test: manual - activate talkback, add new widget
Flag: EXEMPT bug fix
Change-Id: I80ab0da75ec054709a28f41d9ceabce9e94866d9
2025-03-11 12:39:12 -07:00
Treehugger Robot db6fa77ec3 Merge "Keep the desks order inside overview by its deskId" into main 2025-03-11 12:35:15 -07:00
Bill Yi c584f7ea4f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I91892097c694c9d8ca4b2ff993efe03558899278
2025-03-11 12:04:13 -07:00
Bill Yi 39d0ae7e31 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id76401b4b86340d8d0319163c18de3f5f10dd1f6
2025-03-11 12:03:22 -07:00
Sunny Goyal 029315d9f5 Making GridCustomizatonProxy extendible
Bug: 381897614
Flag: com.android.launcher3.extendible_theme_manager
Test: Manual
Change-Id: I9a29e371a4159ba436d4caaffce4bcdaa7fd16e2
2025-03-11 11:57:47 -07:00
Brandon Dayauon 91689e89e7 Merge "Update creationFlag state only on non PSApp" into main 2025-03-11 11:46:42 -07:00
Treehugger Robot 19cb25f98e Merge "Add TODO for PageIndicatorDots refactor." into main 2025-03-11 10:45:06 -07:00
Jagrut Desai d8ed1c6ee3 Don't recreate Desktop Mode Taskbar if already in Desktop Mode.
The problem: Due to complexitiy of recent animation, taskbar is currently getting recreated upon recent animation being canceled for Desktop Mode.
Upon canceling of recent animation showDesktopApps is called again, but user is already in desktop mode.

The solution: simply check if user is in desktop mode upon getting onEnterDesktopMode transition callback before recreating taskbar.

Test: Manual
Bug: 399857150
Flag: EXEMPT bugfix
Change-Id: I8f36a8c8c834bca7be1ce7164cd712a7578c1ab4
2025-03-11 10:41:25 -07:00
minch 3049247a2e Track the empty desk correctly inside applyLoadPlan
Track the DesktopTaskView through its `deskId` if it is the current
TaskView or the running TaskView. This is done to support emtpy
desk which has no tasks inside.

Bug: 400532675
Test: m
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Change-Id: Id1e7e7efc2a6ac3126d0320d85a3d327eec0f3c1
2025-03-11 17:41:25 +00:00
Brandon Dayauon 8940dd84f8 Apply shadow treatment on scheduler like the FAB
bug: 401624167
Test: manually -
before: https://drive.google.com/file/d/1wArpgXEk3yr6kBWs-ImFaTtWHnspvhIj/view?usp=sharing
after: https://drive.google.com/file/d/1E1Z-R2noq51qwrSSj-EDXK9PnSPI4ruQ/view?usp=sharing
Flag: EXEMPT bug fix
Change-Id: I5cf3b391e4afa4443a1b3716b140bb789bb3b321
2025-03-11 17:38:09 +00:00
Treehugger Robot 26371d03f7 Merge "Add flag sync_app_launch_with_taskbar_stash" into main 2025-03-11 10:33:30 -07:00
Jordan Silva afff31deb3 Merge "Add hover and pressed states for app chip and menu items" into main 2025-03-11 10:27:51 -07:00
minch c972e58da3 Keep the desks order inside overview by its deskId
Bug: 400723456
Test: m
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Change-Id: Ib86e1260620587293ababfaa94aacef5846a8479
2025-03-11 17:22:50 +00:00
samcackett d88fb62c4d Remove redundant FrameLayout from task_header_view.xml
Move feature flag logic to the state mapper

Fix: 401469907
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: TaskUiStateMapperTest & TaskContentViewScreenshotTest
Change-Id: Ic6ee5bef438ae2782816f526b003e1fb91992065
2025-03-11 16:49:52 +00:00
Sebastian Franco d8ec43b94e Adding access to All Apps in the long press menu in Launcher
Bug: 386737601
Test: TaplTestsLauncher3Test
Flag: EXEMPT BUGFIX
Change-Id: I1e49cf521c40e8217c1fdefa7ce8461da16429bd
2025-03-11 09:48:32 -07:00
Sukesh Ram feda773d48 Merge "[CD Taskbar] Make External Taskbar 3-Button & Persistent" into main 2025-03-11 09:32:47 -07:00
Treehugger Robot 2595899b6e Merge "Reset All Apps button alpha at the end of all set page -> home animation" into main 2025-03-11 09:12:54 -07:00
Brandon Dayauon ea388ef77b Update creationFlag state only on non PSApp
Essentially reverting original change with the current test passing now.

bug: 401529887
Test: atest BubbleTextView
Flag: EXEMPT bug fix
Change-Id: Id12672cbdf66960915c4dcf75329f0c5df21ce4c
2025-03-11 16:03:52 +00:00
Johannes Gallmann 986985f5c0 Merge "Fix back button touch region too small" into main 2025-03-11 08:45:34 -07:00
Schneider Victor-Tulias f7b75b2f8c Reset All Apps button alpha at the end of all set page -> home animation
Flag: EXEMPT bug fix
Fixes: 360338079
Test: swiped up from the all set page
Change-Id: Ide5eb3b8e81bfc67975932d0806e4ab17d60c078
2025-03-11 07:03:19 -07:00
Jordan Silva 38af4f71c7 Add hover and pressed states for app chip and menu items
Fix: 356830855
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewActionsMenuHoverImageTest
Change-Id: I3a244a4eea07192a622c57d28618dabbb107a088
2025-03-11 05:37:43 -07:00
Massimo Carli 284fdfb2e3 Merge "Consider userId in transparent policy heuristic" into main 2025-03-11 03:55:06 -07:00
Jordan Silva b6bae63a6e Merge "Fix TaskMenuView to calculate bottom menu's max height" into main 2025-03-11 03:45:25 -07:00
Johannes Gallmann b44c55a6a1 Fix back button touch region too small
The back button in 3-button-nav touch region was unintentionally
decreased with the predictive_back_three_button_nav flag. The reason is
that NearestTouchFrame did not consider the back button for its touch
forwarding logic, because the back button did not have isClickable set
to true. Manually setting the clickable attribute fixes that.

Bug: 393498908
Test: Manual, i.e. verified that touches close to back button are not routed to the home button
Flag: EXEMPT bugfix
Change-Id: I7ad1ee13f92aa947f1a86f8d65de79a9d9e13899
2025-03-11 08:11:05 +00:00
Wei Sheng Shih 7d05e50e88 Merge "Remove DepartingAnimationTarget from BackMotionEvent(2/2)" into main 2025-03-10 23:25:25 -07:00
Eric Lok dd3456bde0 Enable Perceptible tasks when in desktop mode.
Eligibilty of perceptible tasks is no longer configured per device. It
is now determined based off of system capabilities (supports PC mode or
freeform windows) - "desktop mode".

Bug: 397076790
Test: Manual
Flag: com.android.server.am.perceptible_tasks
Change-Id: I5932d6f82b40cbe7d78b3c485351b3729fcfeb27
2025-03-11 03:24:08 +00:00
Stefan Andonian b7df497d94 Add TODO for PageIndicatorDots refactor.
Bug: 402258632
Test: Verified complilation works fine.
Flag: EXEMPT bug fix
Change-Id: I6ffffc07e06438f5c09d7e28e85fd479166bcc89
2025-03-10 19:12:19 -07:00
Treehugger Robot 3868333a60 Merge "Fix layout transition crash for phone with QSB inline." into main 2025-03-10 17:04:12 -07:00
Shamali Patwa 7077e8d1c4 Merge "Fix flicker issue in widget picker with app activity in background" into main 2025-03-10 16:57:39 -07: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
Thu-Huong Vu 48dd9eee1c Register SimpleBroadcastReceiver permission.
Update SimpleBroadcastReceiver API to pass in broadcast permission and
register Growth Broadcast Receiver with permission to prevent other apps
from triggering Growth Nudge on their behalf.

Flag: EXEMPT add separately
Test: Manual
Bug: 397739323
Change-Id: I3a9d5e131ced752af0a1b35d400eed6d170fc81e
2025-03-10 23:29:33 +00:00
Xin Li 111820cf5d [automerger skipped] Merge "Merge 25Q1 (ab/BP1A.250305.020) to AOSP main" into main am: 2663cf0a41 am: 95d656756a -s ours
am skip reason: Merged-In I4b758e6ce103c5201ef05ab824dd4e02f98c40b6 with SHA-1 a315410ea3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/31529512

Change-Id: I9f2de18005fafdcd42c40cf1b5f682b5ef270716
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-10 15:49:24 -07:00
Randy Pfohl 0678d08e87 Merge "Move flags to desktopmodeflag" into main 2025-03-10 14:50:38 -07:00
Sunny Goyal 42975c39db Making various model objects injectable
Bug: 361850561
Test: Updated tests
Flag: EXEMPT dagger
Change-Id: Ibb45b72c186e6aeeed7a37b0ae3f8083472019d7
2025-03-10 14:37:43 -07:00
Ahmed Fakhry 30d39caacb Merge "Propagate desks changes" into main 2025-03-10 14:06:52 -07:00
Sukesh Ram c166a373a9 [CD Taskbar] Make External Taskbar 3-Button & Persistent
The gesture handle still persists in conjunction with the three buttons. In addition to being forced into three button mode, the taskbar on external displays needs to never enter transient mode. More info and before/after images on bug.

Flag: com.android.window.flags.enable_taskbar_connected_displays
Bug: 399718805
Test: Manual
Change-Id: Iff5c297c8ac4823fa24e7a8e4becd0447224cac0
2025-03-10 13:58:21 -07:00
Mykola Podolian 595433f1eb Merge "Fixing NPE caused by postponed action relaying on controllers." into main 2025-03-10 13:38:08 -07:00
Treehugger Robot 313d7e1ce3 Merge "Revert "Add screenrecord for uninstallWorkspaceIcon"" into main 2025-03-10 13:36:11 -07:00
Jon Miranda d6b9eff743 Check for isAttachedToWindow before dispatching touch event
Otherwise we get an IllegalStateException

Fixes: 380318615
Test: repos in production
Flag: EXEMPT bugfix
Change-Id: Id72b76ab288f40ee50ba8485d4b0636c525e22e3
2025-03-10 13:10:53 -07:00
Charlie Anderson 24645d732c Merge "Make sure profile badging matches shape" into main 2025-03-10 12:54:31 -07:00
Treehugger Robot a6533ae04b Merge "Improve KQS accessibility" into main 2025-03-10 12:49:00 -07:00
Treehugger Robot a4fc3ad45d Merge "Introducing a wrapper over binder to simplify lifecycle management for IPC" into main 2025-03-10 12:46:34 -07:00
Shamali Patwa 1027bb0419 Fix flicker issue in widget picker with app activity in background
When apps are being installed in background, the widgets maybe rebound;
similarly, when app activity e.g. messaging happens, sometimes
recommendations are regenerated and bound again.

For the widget section that is expanded, when recycling the displayed
table, we reuse the rows that didn't change.

For recommendations, we already make sure we don't change them when
unless mRecommendedWidgetsMap is reset - so this change just ensures to
additionally re-render only when conditions such as available space or
uiMode are changed.

Bug: 393080128
Fix: 393080128
Flag: EXEMPT BUGFIX
Test: Manual - reproduced the scenario mentioned above.
Change-Id: I46a564c3f7b75145dd168f7fb0b59c130540df78
2025-03-10 12:40:10 -07:00
Brian Isganitis dfdab91337 Fix layout transition crash for phone with QSB inline.
Phone can now have QSB inline when in landscape. Need to adjust layout
transition initialization to reflect that.

Flag: com.android.window.flags.enable_taskbar_recents_layout_transition
Bug: 343521765
Test: go/testedequals
Change-Id: I9f0b61108170188da1a37b99c9e1411da6b71946
2025-03-10 15:21:13 -04:00
Randy Pfohl d94ca57547 Move flags to desktopmodeflag
Flag: com.android.launcher3.enable_fallback_overview_in_window
Flag: com.android.launcher3.enable_launcher_overview_in_window
Flag: com.android.launcher3.enable_state_manager_proto_log
Flag: com.android.launcher3.enable_recents_window_proto_log

Test: built and ran locally with flags on and off

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

Change-Id: I1bd2822d20f677445610b912dd82ff160bff4143
2025-03-10 19:08:55 +00:00