Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Cole
ae3039ea9f Removing post submit only rule
Now that FolderIconLoadTest is no longer flakey we can remove the post submit only test stability rule and allow the tests to be run in presubmit.

Flag: None
Bug: b/319923578
Test: FolderIconLoadTest.kt
Change-Id: I115193dfef855fedbc204d0cc9d3a908b56f8eec
2024-04-25 16:45:02 -07:00
Jeremy Sim
a596f589c4 Allow app pairs in folders
This CL substantially refactors folders to be able to take contents of type AppPairInfo. App pairs can now be moved in and out of folders, and launch from folders.

This CL contains only logic and model changes; animation and style changes (for dropping items into folders, color changes to app pair surfaces, etc.) will be in a following CL. Another CL (hopefully) will contain tests. I'm planning to submit them together, but this patch should also be able to stand alone with no issues (except janky transitions).

Bug: 315731527
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Test: Manual, more to follow in another CL.
Change-Id: I73732fcaefbdc61bf6e02a5be365962b8bbc3e41
2024-04-03 16:47:42 -07:00
Jeremy Sim
742630c2f8 Reparent folders and app pairs
Previously, app pairs and folders shared a common data model, FolderInfo. Now we need to separate them, so a new type, CollectionInfo, will serve as the parent of both types.

Bug: 315731527
Fixes: 326664798
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Test: Manual, unit tests to follow
Change-Id: Ia8c429cf6e6a376f2554ae1866549ef0bcab2a22
2024-03-29 15:39:28 -07:00
Vadim Tryshev
544f6e228c Add TestStabilityRule so that @Stability annotation works
Bug: 319923578
Test: presubmit
Flag: N/A
Change-Id: I5613a2ee658a458871ea89219764d13796d07b83
2024-02-28 18:27:39 +00:00
Vadim Tryshev
3d02d86872 Demote from presubmit a set of flaking tests
Bug: 319923578
Test: presubmit
Flag: N/A
Change-Id: Icd18cbe386b5cab9ac33b0b74ad0d2d8a40fa5c3
2024-02-26 10:18:54 -08:00
Thales Lima
1faa4edc42 Make numFolderRows/Columns accept more values
InvariantDeviceProfile hold values that are not related to current DP in use. Now other classes get the value correctly from DeviceProfile, and each posture can hold different values, making it akin to iconSize.

Fix: 309800141
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeDisplaysDumpTest
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Change-Id: I32295738585de67205dcd6c8942d08a3d07d169a
2023-12-08 22:00:48 +00:00
Sunny Goyal
522dfa139a Adding test for folder preview loading
Bug: 315352494
Test: atest FolderIconLoadTest
Flag: N/A
Change-Id: Idcef30427b8ea637eb98b1a7a0d2eda09abd0837
2023-12-07 12:11:38 -08:00