Commit Graph

18972 Commits

Author SHA1 Message Date
Sebastián Franco 8bd76f5b06 Merge "Adding Launcher Mode settings to Launcher settings" into main 2024-11-08 08:55:34 +00:00
Sebastian Franco 9e4c99befd Adding Launcher Mode settings to Launcher settings
Bug: 364711735
Test: NA
Flag: com.android.launcher3.one_grid_specs
Change-Id: Iab688ebdb8449f9258b61f59a0afe97875f82a81
2024-11-07 21:17:10 -08:00
Kevin Lim 1e154280fd Merge "[AllAppsHeader] Add override system for implementer to add plugin rows to the header of all apps grid" into main 2024-11-07 18:33:48 +00:00
Shamali P 35a25984c3 Update the widget picker UI to show the "view all" button
Screenshot test in follow up to include the button.

Bug: 356127021
Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker
Test: Manual
Change-Id: Iac847361a0fa4a4b57d37e802ce6a7a5d8bb17d7
2024-11-07 14:01:39 +00:00
Shamali P 1c173e96be Define the list entry and view holder for the view all button
Child cl updates the adapter & picker to use this list entry type.

Bug: 356127021
Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker
Test: Manual
Change-Id: I69e82fb7df24270dac4cc0afd003e98247280552
2024-11-07 14:01:29 +00:00
Federico Baron 56307d2cf4 Fix failing robo test TaskbarStashControllerTest#testRecreateAsTransient_timeoutStarted
Flag: EXEMPT bugfix
Test: TaskbarStashControllerTest#testRecreateAsTransient_timeoutStarted
Bug: 377256218
Change-Id: If326525a6186eb8f3cfd3e22a979828ce37e87ba
2024-11-07 04:15:16 +00:00
Sunny Goyal 0d3bac3a11 Merge "Updating IconCacheUpdateHandlerTest also fixing cached shortcut info getting invalidated on every reboot" into main 2024-11-07 00:08:04 +00:00
Sunny Goyal 7ab3c7f744 Updating IconCacheUpdateHandlerTest
also fixing cached shortcut info getting invalidated on every reboot

Bug: 373085333
Test: atest IconCacheUpdateHandlerTest
Flag: EXEMPT bugfix
Change-Id: I8cdfe9e2d4a5b0b35ea71da4b3c18ebc9327016c
2024-11-07 00:07:54 +00:00
Kevin Lim 82222b61c2 [AllAppsHeader] Add override system for implementer to add plugin rows to the header of all apps grid
Bug: b/352346748
Flag: com.google.android.apps.nexuslauncher.zero_state_tile
Test: Manual: http://recall/clips/395e9e4f-c20b-4a2b-bff1-a1ca9d5487d4
Change-Id: I65e2e9c68f05a6a387c05d5402ae3f5b2e2fcdba
2024-11-06 23:26:01 +00:00
Andy Wickham adfd002972 Merge "Adds all_apps_sheet_for_handheld flag." into main 2024-11-06 20:25:23 +00:00
Brandon Dayauon 270e1c3dc4 Merge changes from topic "implementWorkSchedulerViewAndUpdateColorsOfFab" into main
* changes:
  Make sure work button is collapsed when keyboard is up upon going to app drawer
  Implement the work scheduler view and update colors of FAB
2024-11-06 19:57:26 +00:00
Sihua Ma 5241648873 Merge "Move icon factory to framework" into main 2024-11-06 18:56:14 +00:00
Brandon Dayauon 1fa2840e82 Make sure work button is collapsed when keyboard is up upon going to app drawer
Call shrink so that work button is collapsed when keyboard is up.

bug:361589193
Test - manual: video before:https://drive.google.com/file/d/1OChJkEJEWrsuUtEaac2jtc15uGkOeGAm/view?usp=sharing
after: https://drive.google.com/file/d/1DXGia25u4JzWRLTiwqlKQu8TYjyL9SEI/view?usp=sharing
Flag: com.android.launcher3.work_scheduler_in_work_profile

Change-Id: Ifafb76b61f0d2a5e9c6b60519adc300c911b20dc
2024-11-06 09:48:57 -08:00
Brandon Dayauon bfd02bb36a Implement the work scheduler view and update colors of FAB
Update colors of the FAB to spec: https://www.figma.com/design/uMzPkNMZpb7EyfHDo8usIa/V-%E2%80%A2-Toast-Butter?node-id=3784-112229&node-type=instance&m=dev
Exported the brief case icon from figma since it is not available on go/icons.
Color of the brief case icon is onPrimary.
Have place holder string in launcher but implement the actual string in NL.

bug:361589193
Test - manual: video: https://drive.google.com/file/d/1CIs8qdtV1jUvbq57CcgAXDBPPHHX5CKJ/view?usp=sharing
Flag: com.android.launcher3.work_scheduler_in_work_profile

Change-Id: Ia98e9c4394f6ddfa7009653034929f9afbfeac8c
2024-11-06 09:48:26 -08:00
Treehugger Robot 230b2f50a7 Merge "Fix flag guarding for oneGridRotationHandling" into main 2024-11-06 17:04:05 +00:00
Treehugger Robot 368eed7ce6 Merge "Convert ItemInstallQueue to use Dagger" into main 2024-11-06 16:59:57 +00:00
Andy Wickham 1f6a7b46be Adds all_apps_sheet_for_handheld flag.
This flag causes All Apps to render on a background panel in
handheld mode similarly to how it does on tablets.

Demo: https://drive.google.com/file/d/11K8yueTb9Xr8oRJCM3TxcFH8V3rRFJrJ/view?usp=sharing&resourcekey=0-hMNEGzMQ5KC9D7may2Gb-g

Bug: 374186088
Bug: 372618421
Test: Manual
Flag: com.android.launcher3.all_apps_sheet_for_handheld
Change-Id: Ie0b1e784d4330fd71f7f36f39e5dd85e8ee14933
2024-11-06 16:05:25 +00:00
Treehugger Robot 6c84b46ef5 Merge "Make ContextualEduStatsManager injected by Dagger (13/n)" into main 2024-11-06 00:49:55 +00:00
Federico Baron cf929471a1 Merge "Remove flags that are no longer necessary" into main 2024-11-06 00:38:14 +00:00
fbaron 49f7df0444 Fix flag guarding for oneGridRotationHandling
Bug: 364711064
Flag: com.android.launcher3.one_grid_rotation_handling
Test: n/a
Change-Id: Ic0027bf82912bf56470a8abc29880599820b3352
2024-11-05 16:29:26 -08:00
Anushree Ganjam 2d55010135 Make ContextualEduStatsManager injected by Dagger (13/n)
Bug: 361850561
Test: Manual
Flag: EXEMPT Dagger Integration
Change-Id: I0150ad8edeac1746e27b7d919891d02e648413be
2024-11-05 14:53:01 -08:00
fbaron 8f26e042b2 Remove flags that are no longer necessary
Flag: EXEMPT code cleanup
Test: GridSizeMigrationTest
Bug: b/325286145, b/325285743
Change-Id: I056021c299b56a186b754b94b33509d0b01816e0
2024-11-05 14:22:37 -08:00
Sihua Ma fb51552ac7 Move icon factory to framework
Flag: EXEMPT library moving
Test: Manual
Change-Id: I2d8b657b4e9d6c6431f3976d66cabc515cb6bb1b
2024-11-05 22:22:31 +00:00
Sebastián Franco 0acfafa64a Merge "Add tablet 5x8 grids" into main 2024-11-05 21:53:05 +00:00
Treehugger Robot fdc5b21f53 Merge "Remove logs for resolved bug, and make some logs permanent" into main 2024-11-05 21:09:52 +00:00
fbaron 3d534b15bc Remove logs for resolved bug, and make some logs permanent
Bug: 360462379
Flag: EXEMPT code cleanup
Test: n/a
Change-Id: I99d4eb55b9241a472f38c90e36ad60f2f9f3d521
2024-11-05 11:13:15 -08:00
fbaron 04752a3e63 Add tablet 5x8 grids
Bug: 364711064
Flag: com.android.launcher3.one_grid_rotation_handling
Test: n/a
Change-Id: I509a52f76852a2034020efc818bf571f00dff90d
2024-11-05 10:55:52 -08:00
Shamali Patwa 20cde49b4c Merge "Add a resource override for providing default widgets filter." into main 2024-11-05 01:01:00 +00:00
Shamali P ea078cb647 Add a resource override for providing default widgets filter.
The implementation in this CL is no-op i.e. all widgets will be shown

Bug: 356127021
Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker
Test: Verified with other child cls
Change-Id: I0a6f8973dc8ec58fd87d29b3f291b5e290ea988d
2024-11-04 22:17:23 +00:00
Anushree Ganjam 2f73d60b30 Merge "Make VibratorWrapper injected by dagger (14/n)" into main 2024-11-04 21:36:19 +00:00
Anushree Ganjam 87ea411e97 Make VibratorWrapper injected by dagger (14/n)
Bug: 361850561
Test: Manual
Flag: NONE Dagger Integration
Change-Id: I57047122b35731d83674a5607e1ac980b86aebca
2024-11-04 11:33:34 -08:00
Treehugger Robot 4f793a31d8 Merge "Catch exception to prevent Launcher crash." into main 2024-11-04 19:10:14 +00:00
George Lin 2b6f265bf9 Shape screen communication with the Launcher's app (2/2)
This is a revertx2 of ag/29934361 with the fix of b/376371559

Support querying / preview / apply for the shapes from the Launcher's
app.

Test: Manually tested that it works
Fixes: 376371559
Bug: 348664593
Flag: com.android.systemui.shared.new_customization_picker_ui
Change-Id: I232040f4c3661f149de4c88810e51f6dd8bac9c3
2024-11-01 18:07:05 +00:00
George Lin 50d2c82de6 Fix grid entry is missing
Test: Manually tested that the entry shows up again
Fixes: 376371559
Flag: EXEMPT bugfix
Change-Id: I8ecc842b948f0ed0676d3600d9538450012c7e80
2024-11-01 17:37:55 +00:00
Treehugger Robot 9486f5b455 Merge "OneGrid Grid Option Updates" into main 2024-10-30 22:06:11 +00:00
Holly Jiuyu Sun 5cf9dd0840 Merge "[clean-up] Clean up Quick Launch V2 and V1." into main 2024-10-30 22:05:41 +00:00
Charlie Anderson 6963d7c0e3 Merge "Add custom talkback action for unarchiving apps" into main 2024-10-30 20:50:04 +00:00
Treehugger Robot c798f7800a Merge "Convert GridSizeMigrationLogic and DbEntry to Kotlin" into main 2024-10-30 19:27:20 +00:00
Charlie Anderson eac269ac81 Add custom talkback action for unarchiving apps
Bug: 373746865
Test: manually with Talkback
Flag: EXEMPT bugfix
Change-Id: I8c9efc029c2172e0dacd644b34f4930f50a7f8aa
2024-10-30 14:44:08 -04:00
fbaron ebc10c9ecc OneGrid Grid Option Updates
Bug: 330900048
Flag: com.android.launcher3.one_grid_specs
Test: n/a
Change-Id: I919195dbc7ac78c3be42f0f9d7620193a24d7e99
2024-10-30 11:38:09 -07:00
Charlie Anderson 04cac2fc6a Merge "Convert IconShape to use Dagger" into main 2024-10-30 17:43:52 +00:00
Brandon Dayauon 5d927b25e8 Merge "Fix crash when pausing work profile." into main 2024-10-30 17:17:31 +00:00
Treehugger Robot 5c9a48d5ed Merge "Revert "Shape screen communication with the Launcher's app (2/2)"" into main 2024-10-30 17:10:58 +00:00
fbaron 65ee96c65d Convert GridSizeMigrationLogic and DbEntry to Kotlin
Bug: 358399271
Flag: com.android.launcher3.grid_migration_refactor
Test: GridSizeMigrationDBControllerTest, ValidGridMigrationUnitTest
Change-Id: I2f9373fbc52a3d1c29242f7cd5a4042af617f0af
2024-10-30 09:32:49 -07:00
Charlie Anderson 68f5a205f4 Convert ItemInstallQueue to use Dagger
Bug: b/372012340
Test: Presubmit
Flag: EXEMPT Dagger change
Change-Id: I28033f7f164d52cf6d69035b2b652fbf8eb2b393
2024-10-30 11:39:09 -04:00
Charlie Anderson c8e557a394 Convert IconShape to use Dagger
Bug: 372012340
Test: presubmit
Flag: EXEMPT dagger change
Change-Id: Ic4161fc0eac45cd71191f048472df01691018949
2024-10-30 11:34:15 -04:00
Daniel Chapin cd958b38ac Revert "Shape screen communication with the Launcher's app (2/2)"
Revert submission 29934361-launcher-communication

Reason for revert: b/376371559 

Reverted changes: /q/submissionid:29934361-launcher-communication

Change-Id: I26b2339fdb4da11312d4587ab31c23880ef0d746
2024-10-30 14:56:08 +00:00
Charlie Anderson 859bbaa718 Merge "Convert PackageManagerHelper to use Dagger" into main 2024-10-30 14:24:15 +00:00
Toshiki Kikuchi c6b29e374c Merge "Handle display windowing mode change in onConfigChanged" into main 2024-10-30 01:25:23 +00:00
Charlie Anderson 480b42f833 Convert PackageManagerHelper to use Dagger
Bug: 372012340
Test: presubmit
Flag: EXEMPT Dagger change
Change-Id: Ic0636fa086c9d846f7b38665a552fc4b2d12faa3
2024-10-29 16:42:19 -04:00