Commit Graph

19580 Commits

Author SHA1 Message Date
Ana Salazar Maldonado 71d485d264 Merge "Add Widget Resize Frame actions" into main 2025-03-11 15:01:43 -07:00
Sebastián Franco 9e77e5de46 Merge "Adding access to All Apps in the long press menu in Launcher" into main 2025-03-11 15:00:47 -07:00
Treehugger Robot ace69f7644 Merge "Making various model objects injectable" into main 2025-03-11 14:48:30 -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
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
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
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
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
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
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
Charlie Anderson 24645d732c Merge "Make sure profile badging matches shape" into main 2025-03-10 12:54:31 -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
Ahmed Fakhry 6a19fc0765 Propagate desks changes
This CL propagates desk changes events to `RecentTasksList` and
`RecentsView`.

Bug: 395908683
Test: m
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Change-Id: I77457d5e2e66166dd8c7d6505317d9add5b886a2
2025-03-10 18:06:03 +00:00
Shamali Patwa af883adedc Merge changes from topic "flags-cleanup" into main
* changes:
  [Part 3] Clean up references for flags from past release.
  [Part 2] Clean up references for flags from past release.
  [Part 1] Clean up references to flags from past release.
2025-03-10 10:54:42 -07:00
Sunny Goyal 018356d3c3 Introducing a wrapper over binder to simplify lifecycle management for IPC
Fix: 400733213
Flag: NONE - release code
Test: manual
Change-Id: I5e143fce6a4cbc1dbb246bc6e0141ebbbc8bd274
2025-03-10 10:27:58 -07:00
Brian Isganitis 0dc5fac084 Merge "Animate changes in Taskbar recents indicators." into main 2025-03-07 14:47:08 -08:00
Charlie Anderson 567097eee8 Make sure profile badging matches shape
Bug: 398875512
Test: testing different shapes on work profile
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: I5cb9e629f711f2fc607ca646d82a8523c0b43d1b
2025-03-07 21:31:11 +00:00
Brian Isganitis 26f9468db1 Animate changes in Taskbar recents indicators.
Flag: com.android.window.flags.enable_taskbar_recents_layout_transition
Fix: 356394053
Test: go/testedequals
Change-Id: Ic018695254bbfea11469c3579e242089b00b90f5
2025-03-07 15:47:48 -05:00
Treehugger Robot b6001773da Merge "desktop-exploded-view: Launch desktop task view should reverse its exploded animation" into main 2025-03-07 11:45:18 -08:00
Treehugger Robot ae4a474e89 Merge "Modify logging to log the specifc grid size when taking a snapshot" into main 2025-03-07 11:29:18 -08:00
Xiaoqian Dai 3dfd8bb2b5 desktop-exploded-view: Launch desktop task view should reverse its
exploded animation

Following CLs will support launching individual task window in the
desktop task view.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 353948437
Change-Id: I5d084a7d8b231522bf5db1704cee1d6124affc22
2025-03-07 17:40:14 +00:00
Brandon Dayauon 16020c58a9 Merge changes from topics "moveContentPrivateSpace", "privateProfileMoveContent" into main
* changes:
  Move privateSpace app location to after the header
  Include multiuser flag to launcher3 dependency
2025-03-06 20:02:49 -08:00
Federico Baron 47b45c6d0d Modify logging to log the specifc grid size when taking a snapshot
We do a snapshot once a day, so this would get us an accurate number for
how many users have each grid type on any given day

Bug: 401051097
Test: EXEMPT logging
Flag: EXEMPT add logging
Change-Id: I74a14e6df51cb8c3872021520f527d6eca44cfe3
2025-03-06 13:56:10 -08:00
Brandon Dayauon 5a118cb57d Move privateSpace app location to after the header
Updated bubbleTextView that defaults creationFlag to 0 thus applying the
badge on the icon when there shouldn't be a badge. Tested this by
installing the privateSpace.apk and seeing that I've successfully
removed the original install icon.

bug: 360313403
Test: manually - https://hsv.googleplex.com/4736879982280704
Flag: android.multiuser.enable_moving_content_into_private_space
Change-Id: I50a277457c9c3f78214b53e4391535a2c45dca55
2025-03-06 19:20:11 +00:00
Sunny Goyal 84e0e6a188 Making ActivityContext extend SavedStateRegistryOwner
Bug: 390572144
Test: Presubmit
Flag: EXEMPT refactor

Change-Id: I8272e95a8d2da95b3c93ec616fdf877b89db5b26
2025-03-05 09:22:47 -08:00
Treehugger Robot 325545ac2f Merge "Allow recent task to have long-press menu" into main 2025-03-04 20:11:42 -08:00
Treehugger Robot 57cab7794a Merge "Simplifying some view iteration methods" into main 2025-03-04 18:42:06 -08:00
Wen-Chien Wang 5ada92b966 Allow recent task to have long-press menu
Bug: 375648361
Bug: 344657629
Test: Manual, Recording uploaded to buganizer
Flag: com.android.launcher3.enable_pinning_app_with_context_menu

Change-Id: If496c56a3fe47905a3e9947407f51077f180d5a2
2025-03-04 21:47:32 +00:00
Sunny Goyal 476d926972 Simplifying some view iteration methods
Bug: 393703968
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ieffa3a66fbf8595d542995c348df578a3aec9083
2025-03-04 10:39:55 -08:00
Charlie Anderson ded687da03 Merge "Make sure folder positioning is behind flag" into main 2025-03-04 10:39:26 -08:00
Treehugger Robot aeb890b43d Merge "Revert "Not refresh predicted app in right click"" into main 2025-03-04 09:29:57 -08:00
Sunny Goyal 372c483eda Merge "Moving widgetFilter to dagger" into main 2025-03-04 09:03:10 -08:00
Charlie Anderson 9b001f527e Make sure folder positioning is behind flag
Bug: 392610664
Flag: com.android.launcher3.enable_launcher_icon_shapes
Test: manually verify with flag on/off
Change-Id: I3564a0fee5bf0948994c056fd22f4e2c3c91f0ee
2025-03-04 11:15:29 -05:00
Daniel Chapin f65c5d1c02 Revert "Not refresh predicted app in right click"
This reverts commit b17cde5c3a.

Reason for revert: bug: b/400596380

Change-Id: I8f4d6755653d59ec6264bf93a2835c60122640be
2025-03-04 07:06:52 -08:00
Wen-chien Wang 8444f38c92 Merge "pin-shortcut: Tracks hotseat states and adds unpin option for taskbar" into main 2025-03-03 16:50:48 -08:00
Treehugger Robot 19e93afd91 Merge "Test all apps -> workspace drag for taskbar on home" into main 2025-03-03 11:59:21 -08:00
Ana Salazar Maldonado 0a128474db Merge "Fix tokens for App Contrast Pill" into main 2025-03-03 10:55:39 -08:00
Sunny Goyal 5025b9ab04 Moving widgetFilter to dagger
Moving widget filtering to UI layer as it changes with surface

Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I9d9377540ca36873659cea4ecc91fb162d82cd44
2025-03-03 10:27:14 -08:00
Helen Cheuk 7fd7325fb8 Merge "Not refresh predicted app in right click" into main 2025-03-03 08:44:59 -08:00
helencheuk b17cde5c3a 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 to avoid it from starting drag.

Bug: 343650193
Test: Manual, connect to touchpad and right click on widget and folderIcon
Flag: NONE, Bug fix
Change-Id: I650f34f02a920b61e3a1f1ada7d2da10e1625e47
2025-03-03 14:37:05 +00:00
Uwais Ashraf f58fbaae2d Merge "Revert "Fix OutlineProvider for PageIndicatorDots for new visual updates."" into main 2025-03-03 06:28:16 -08:00
Pechetty Sravani (xWF) 6208483668 Revert "Fix OutlineProvider for PageIndicatorDots for new visual updates."
This reverts commit c09f4d331a.

Reason for revert: <Droidmonitor created revert due to b/400302622.Will be verified through ABTD for standard investigation.>

Change-Id: Ie088a7ceebb79966c9951e13ed0059c8ea75ca6c
2025-03-03 00:43:57 -08:00
Treehugger Robot 7caa7cb9be Merge "Fix OutlineProvider for PageIndicatorDots for new visual updates." into main 2025-03-02 17:34:20 -08:00
Treehugger Robot b43cae24a4 Merge "Fix home screen page description when removing an existing page." into main 2025-02-28 21:26:35 -08:00
Mykola Podolian b0fe82378a Merge changes from topic "bubblebar_drop_target" into main
* changes:
  Removed fly-back animation after a taskbar item drop on the bubble bar
  Added BubbleBarLocation drop target.
2025-02-28 18:02:48 -08:00
Treehugger Robot 55dd78123c Merge "Taskbar on home should open all apps that support drag to workspace" into main 2025-02-28 17:04:20 -08:00
Treehugger Robot dad3394772 Merge "Fix LauncherPrefs crash by allowing sub-types of Set" into main 2025-02-28 16:49:02 -08:00