Commit Graph

20057 Commits

Author SHA1 Message Date
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
Johannes Gallmann 600c1af779 Use FlingOnBackAnimationCallback for predictive back
Use FlingOnBackAnimationCallback to get automatically interpolated progress and out-of-the-box support for back gesture flings.

Bug: 362938401
Test: Manual, i.e. testing launcher predictive back cases (all apps, widget-picker)
Flag: com.android.window.flags.predictive_back_timestamp_api
Change-Id: I35806dbf005eb6fce97327d26c1e75bca60c2c77
2024-10-30 13:32: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
Brandon Dayauon 0b2acd6516 Merge changes from topic "AddWorkSchedulerInWorkProfileFlag" into main
* changes:
  Add work_scheduler_in_work_profile flag.
  Remove layoutTransitions for current FAB and use custom animation.
2024-10-29 20:17:02 +00:00
Brandon Dayauon a7123472ce Remove layoutTransitions for current FAB and use custom animation.
Have background contain left and right padding of 16dp.
That way upon collapse, its easier to animate so that every other view's space but the icon is removed.
Spec when expanded/collapsed: https://www.figma.com/design/uMzPkNMZpb7EyfHDo8usIa/V-%E2%80%A2-Toast-Butter?node-id=2839-365095&node-type=text&m=dev

bug: 361589193
Test: manually - video:https://drive.google.com/file/d/1K7HCpayZBa_oo9p3XV10QQX4miTy_d3q/view?usp=sharing
withRTL: https://drive.google.com/file/d/1NfUEyEvzjfQamujv4EqLNBqB47mPNG1Y/view?usp=sharing
Flag: NONE just changing expandedFAB to use custom animations from layoutTransition

Change-Id: I7948633850a1010175eb4f0248daff22cf2f2c87
2024-10-29 09:50:13 -07:00
Brandon Dayauon c34ba5ad01 Fix crash when pausing work profile.
The issue happens when bindFastScrollbar is called during switching to a paused work tab and since there are no
letters to display (no sections in work tab because workProfile is paused) createVerticalChain complains because it needs two views to be
present when there are none. So just early check if there are sections existing will fix this.

bug:373533884
Test manually video: https://drive.google.com/file/d/1K9zdZthHNj4Gbdn-m30KINm3VFfwFfiM/view?usp=sharing
Flag: com.android.launcher3.letter_fast_scroller

Change-Id: I7a8501fa5e7d048fe5a2fe4525f96cc9809cfbfd
2024-10-29 08:41:26 -07:00
Shamali Patwa a01ae91369 Merge changes from topic "sheader-a11y" into main
* changes:
  Fix issue that expanding only search result led to weird scroll
  Fix issue that items were invisible in 2-pane picker with talkback.
2024-10-29 12:45:38 +00:00
Federico Baron 43cc25b64b Merge "Fix grid migration tests with grid migration refactor flag on" into main 2024-10-29 07:01:16 +00:00
Sebastián Franco 8b871a329a Merge "Migrating LauncherDbUtils to kotlin" into main 2024-10-29 02:53:20 +00:00
Sebastian Franco b402c0f081 Migrating LauncherDbUtils to kotlin
Bug: 364711814
Flag: EXEMPT refactor
Test: DatabaseHelperTest
Change-Id: I140689fd16d3dbb373fd267448dce3fd4094e0ec
2024-10-28 16:25:30 -07:00
Treehugger Robot e6b473a284 Merge "Delete Unused Flag related to Altering how the workspace is loaded." into main 2024-10-28 21:42:56 +00:00
Sukesh Ram 4781b26bf4 Merge "Revert "Fix Taskbar Y-Translation with Visible Bottom Sheet"" into main 2024-10-28 21:42:54 +00:00
Treehugger Robot 84b2583695 Merge "Cleaning up unused flag." into main 2024-10-28 20:18:56 +00:00
George Lin 54c3ab841a Merge "Shape screen communication with the Launcher's app (2/2)" into main 2024-10-28 20:15:40 +00:00
Treehugger Robot 5e4d5704de Merge "Focus search container by default" into main 2024-10-28 17:55:59 +00:00
fbaron 22029f6517 Fix grid migration tests with grid migration refactor flag on
Bug: 358399271
Flag: com.android.launcher3.grid_migration_refactor
Test: GridSizeMigrationDBControllerTest, ValidGridMigrationUnitTest
Change-Id: I2dceb5f9756da7ee7e7ef2d5ec29b3550a51e965
2024-10-28 10:46:17 -07:00
Sukesh Ram 99c442b015 Revert "Fix Taskbar Y-Translation with Visible Bottom Sheet"
This reverts commit d82503fc42.

Reason for revert: Introduced crashes

Change-Id: I0956f746e25ccfe655169580fd802d33f99c0652
2024-10-28 17:26:47 +00:00
George Lin f052a2ccf7 Shape screen communication with the Launcher's app (2/2)
Support querying / preview / apply for the shapes from the Launcher's
app.

Test: Manually tested that it works
Bug: 348664593
Flag: com.android.systemui.shared.new_customization_picker_ui
Change-Id: I2b2fa570eb71c8975354f154640cc4891f16116b
2024-10-28 15:36:57 +00:00
Toshiki Kikuchi b00c260669 Handle display windowing mode change in onConfigChanged
This CL allows onConfigChanged to handle the changes of
showLockedTaskbarOnHome().
The return value of showLockedTaskbarOnHome() depends on the display
windowing mode. And onConfigChanged() is triggered when the display
windowing mode changes (e.g. by adb shell wm set-display-windowing
mode).

Bug: 375321881
Flag: com.android.window.flags.enter_desktop_by_default_on_freeform_displays
Test: DisplayControllerTest
Test: manual
Change-Id: I1932f460735b9517cc68170c01cd45ca9bacfeb0
2024-10-28 08:47:26 +09:00
Treehugger Robot f6c4a7acb1 Merge "[PostBoot] Fix bug where post boot shader has a flicker" into main 2024-10-26 07:17:58 +00:00
Treehugger Robot 7ba66be10c Merge "[PostBoot] Don't destroy loader because of config change, not just because of theme change" into main 2024-10-26 04:52:39 +00:00