Treehugger Robot
ce9ea2caef
Merge "Simplifying IconShape" into main
2025-01-09 18:14:30 -08:00
Sebastián Franco
a237a71a1c
Merge "Making sure we don't use Launcher when null" into main
2025-01-09 15:35:02 -08:00
Sunny Goyal
1138f5fe59
Simplifying IconShape
...
Removing various custom shapes and replacing it with a generic shape implementation. This works with any valid svg path.
Bug: 366237794
Flag: EXEMPT refactor
Test: atest IconShapeTest
Change-Id: I4665bc657b8bffc4d4efa30cebe00341b3140c55
2025-01-09 15:04:46 -08:00
Riddle Hsu
6eda95c70c
Merge "Wait for launcher state before proceeding next test step" into main
2025-01-09 13:54:54 -08:00
Treehugger Robot
49337285b7
Merge "Attempt to fix TaplUninstallRemoveTest.testUninstallFromAllApps" into main
2025-01-09 13:27:59 -08:00
Sebastian Franco
cc5911a57b
Making sure we don't use Launcher when null
...
Fix: 386230683
Test: all test that use @PortraitLandscape
Flag: TEST_ONLY
Change-Id: I40dfd0e8f42a68649e1cbb2f8e69ce617a415f68
2025-01-09 13:04:37 -08:00
Stefan Andonian
56f17cfddf
Attempt to fix TaplUninstallRemoveTest.testUninstallFromAllApps
...
Based on the video, it seems that existing app icons cause the long press menu
to be opened when the test bot is trying to scroll to open the AllApps page.
The fix is to clear the data so there are no icons that will interrupt said scrolling.
There might be 2 issues that are affecting this test based on my research. So if it still fails, that doesn't mean this change wasn't necessary. I think there might also be an issue with the test infrastructure.
Bug: 386231522
Test: Ran a go/abdt run to verify test isn't flaky. This does have 100% reproduction though.
Flag: EXEMPT test fix
Change-Id: Id2b1cf89eda39d1d921af0da544f92604c3f8591
2025-01-09 10:30:22 -08:00
Riddle Hsu
a584c24493
Wait for launcher state before proceeding next test step
...
Otherwise if scrollToAppIcon is called immediately, it could
interrupt the state that causes the test to be unable to drag
the icon into workspace.
Fix: 388510107
Flag: TEST_ONLY
Test: atest Launcher3Tests:ThemeIconsTest#testIconWithoutTheme
Change-Id: Ied77b3f8d2f19de18d054a80643f3d13c5641ac4
2025-01-09 12:58:39 +08:00
Sebastián Franco
4d0f53b478
Merge "Promote ReorderAlgorithmUnitTest since it's not failing anymore" into main
2025-01-08 19:35:42 -08:00
Treehugger Robot
dbbedf9e62
Merge "Add ScreenRecord to difficult to flaky test TaplDragTest.testDragToFolder" into main
2025-01-08 18:54:12 -08:00
Stefan Andonian
4a89d0ff9e
Merge "Add ScreenRecord annotation to flaky test RequestPinItem" into main
2025-01-08 14:49:03 -08:00
Stefan Andonian
2c2e24f38d
Add ScreenRecord to difficult to flaky test TaplDragTest.testDragToFolder
...
Bug: 383917141
Test: Passes Presubmit
Flag: EXEMPT flaky test investigation
Change-Id: Icf045821c42fdf9f8e60ae45d0d98ff2bc25e927
2025-01-08 14:17:02 -08:00
Stefan Andonian
8295c92e8e
Add ScreenRecord annotation to flaky test RequestPinItem
...
Bug: 386243192
Test: Test runs fine with annotation.
Flag: EXEMPT unit test bug investigation
Change-Id: I27f8dc0fb55521ed37b743a0149dbe2ac60ad7ff
2025-01-08 12:53:08 -08:00
Treehugger Robot
13cb405ff0
Merge "Remove no longer meaningful upstream: true flag." into main
2025-01-08 12:29:51 -08:00
Sebastian Franco
a8e1984852
Promote ReorderAlgorithmUnitTest since it's not failing anymore
...
Fix: 332527963
Flag: TEST_ONLY
Test: ReorderAlgorithmUnitTest
Change-Id: I69257ff8a267f6f2e94f8d0c3c5e0c662ec5efb9
2025-01-08 12:20:13 -08:00
Treehugger Robot
b3a6b8c33d
Merge "Fixing local atest runs of Launcher tests" into main
2025-01-08 10:44:53 -08:00
Rex Hoffman
2c1c08a1ac
Remove no longer meaningful upstream: true flag.
...
This used to direct robolectric tests to /external/robolectric rather than the older/unmaintained /external/robolectric-shadows, that has since been deleted.
Change-Id: If5065b2d25b5e5d8850f50dd4b25bd0ea7e3dd5c
Flag: TEST_ONLY
Test: CI
Bug: 386652866
2025-01-08 10:13:04 -08:00
Vadim Tryshev
ef95aa29fa
Fixing local atest runs of Launcher tests
...
When running tests locally on CF, installing test apk either fails or returns INSTALL_FAILED_VERIFICATION_FAILURE.
Somehow this doesn’t happen when running on ATP.
For local runs, fixing by disabling verification.
Bug: 378782502
Test: local atest; presubmit
Flag: NONE Test change
Change-Id: I31b6d14587dbfed129ae3ddeef5e86f3c60432e9
2025-01-07 19:07:01 -08:00
Schneider Victor-tulias
a4c8c7fafb
Merge changes Iceb7c9cf,I1e802e67 into main
...
* changes:
Fix NPE in LauncherSwipeHandlerV2Test.setup
Update recents states sent to tests by RecentsWindowManager
2025-01-07 07:46:03 -08:00
Schneider Victor-Tulias
878b2af8ea
Update recents states sent to tests by RecentsWindowManager
...
Flag: com.android.launcher3.enable_fallback_overview_in_window
Bug: 382527932
Test: Tapl tests
Change-Id: I1e802e6787570e781d59e61cf03ce62c8a1edb47
2025-01-07 10:41:17 -05:00
Sunny Goyal
c369d1e4af
Adding ThemeManager as a centralized place for controlling icon theming
...
Bug: 381897614
Flag: EXEMPT refactor
Test: atest ThemeManagerTest
Change-Id: Ib1dafdcc303f05f78cf586741c3d35243ab06e69
2025-01-06 21:53:22 -08:00
Treehugger Robot
bdcf3de348
Merge "Add screenrecord for TaplWorkspaceTest#testAddAndDeletePageAndFling" into main
2025-01-06 13:15:04 -08:00
fbaron
741321f44b
Add screenrecord for TaplWorkspaceTest#testAddAndDeletePageAndFling
...
Flag: TEST_ONLY
Test: TaplWorkspaceTest#testAddAndDeletePageAndFling
Bug: 381918059
Change-Id: I8b595f049c97c1d4edf0de91f39d46a4c8bdefa3
2025-01-06 11:20:41 -08:00
Sunny Goyal
6d6529cff9
Merge "Converting LauncherPrefs to dagger" into main
2025-01-03 14:18:19 -08:00
Sunny Goyal
e79d453bc8
Converting LauncherPrefs to dagger
...
Fixing ENABLE_TWOLINE_ALLAPPS_TOGGLE not properly tied to IDP:
http://recall/-/ep7WJ8pKwCEklUN5J1mAkM
Bug: 361850561
Flag: EXEMPT dagger-migration
Test: atest LauncherPrefsTest FakeLauncherPrefsTest
Change-Id: Iba63d060f4a8c2e31033fca2a4638c559c161338
2025-01-03 13:49:53 -08:00
Treehugger Robot
d4bfadf263
Merge "Fixing low res folder icon when preview changes" into main
2025-01-02 10:11:27 -08:00
Sunny Goyal
04b50a08f6
Fixing low res folder icon when preview changes
...
Also removing legacy for drawable sharing between folder-content and folder-icon, since preview now always creates new drawables
Flag: EXEMPT bugfix
Bug: 386842651
Test: atest PreviewItemManagerTest
Change-Id: Ib8e4b4d5be4fb0c9601b9d8e3cef8a29d6c77651
2024-12-30 15:47:17 -08:00
Charlie Anderson
0415a35168
Add new utility method for setting ImageTest workspace icon Component
...
Bug: 350758155
Test: ArchivedAppImageTest
Flag: TEST_ONLY
Change-Id: I3f88c64528abeab68d03ba81ebb8e34b5d0e5dad
2024-12-30 09:57:08 -08:00
Treehugger Robot
cdfec1a942
Merge "Replacing custom parcelables with platform types for test APIs" into main
2024-12-27 10:39:19 -08:00
Sunny Goyal
c2639e464f
Replacing some fixed lookup flags with specific constant flag
...
This would make it easier to customize flags used on desktop icons
Bug: 366237794
Flag: EXEMPT refactor
Test: atest CacheLookupFlagTest
Change-Id: I0f3f04ddbe73abea207a5b58a65714ff172b2726
2024-12-26 20:19:02 -08:00
Sunny Goyal
a39a09ba6a
Replacing custom parcelables with platform types for test APIs
...
Bug: 377772352
Flag: EXEMPT test only
Test: Presubmit
Change-Id: Ie464c67adf6502aee1fe65ef643e1a67260b820f
2024-12-26 17:19:15 -08:00
Sunny Goyal
d5ad770d2c
Converting BaseIconCache to kotlin
...
Bug: 366237794
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ia191ed468eda24f910bba87221cf1f1714408a55
2024-12-24 21:27:33 -08:00
Treehugger Robot
a7bb99683d
Merge "Some HSUM bug fixes" into main
2024-12-18 17:40:25 -08:00
Sebastián Franco
f07079d0ff
Merge "Revert^2 "Making sure that test go to FixedLandscape on landscape"" into main
2024-12-18 14:16:08 -08:00
Sunny Goyal
211f74608a
Some HSUM bug fixes
...
Bug: 383952735
Bug: 384136644
Test: Presubmit
Flag: EXEMPT bugfix
Change-Id: I705d79d008100edd3fcf6fcac4524c204fd4ea30
2024-12-18 11:16:26 -08:00
Sunny Goyal
60bad051c4
Fixing module inheritence when overriding Launcher component
...
Bug: 361850561
Flag: EXEMPT dagger migration
Test: Presubmit
Change-Id: I1f726e9895f6872d0294a11ab0c52c6c619c2a3f
2024-12-18 10:38:00 -08:00
Treehugger Robot
a429476ec6
Merge "If Pinned Shortcuts aren't available, then check for pinned shortcuts by id/package name" into main
2024-12-17 15:38:17 -08:00
Sebastián Franco
12c346fbab
Revert^2 "Making sure that test go to FixedLandscape on landscape"
...
This reverts commit d98bb0b979 .
Reason for revert: b/383917141
Change-Id: I503fd7136b927064a54e428e422335c06e221e2e
2024-12-17 11:19:29 -08:00
Stefan Andonian
fa1b2ba983
If Pinned Shortcuts aren't available, then check for pinned shortcuts by id/package name
...
Bug: 356096502
Test: Verified locally that if you hard-code the PINNED shortcut query to not return data, the backup query still allows the deep shortcuts to show up on the home screen.
Flag: EXEMPT bug fix
Change-Id: I7a9b2d2c3be2ecce38a5af71951f1a12bc1c20ee
2024-12-17 18:06:48 +00:00
Sihua Ma
e5a3789024
Attempt on deflaking FolderTest
...
Test: SysUI studio
Test: atest NexusLauncherRoboTests
Flag: EXEMPT test deflake
Bug: 382305734
Change-Id: I7f66b5b8973c97f6bc03a739044fb8c90886e41e
2024-12-17 06:32:53 +00:00
Charlie Anderson
9a2e3a715b
Merge "Add new failsafe to disable new archiving broadcast" into main
2024-12-13 07:33:49 -08:00
Charlie Anderson
e18eac02b9
Merge "Fix user for InstallSessionHelperTest HSUM failures" into main
2024-12-13 07:31:23 -08:00
Treehugger Robot
f340be6e4f
Merge "Replacing all int lookup flags and boolean overrides with an object to make it easier to extend options" into main
2024-12-13 06:20:44 -08:00
Sihua Ma
48db4ef770
Move model tests to multivalent
...
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: EXEMPT test only
Change-Id: I751c449561175d3c7c5a770b7b30bc4f24c1cd44
2024-12-13 05:51:51 +00:00
Sunny Goyal
18e480838a
Replacing all int lookup flags and boolean overrides with an object to make it easier to extend options
...
Bug: 381897614
Bug: 366237794
Flag: EXEMPT refactor
Test: atest CacheLookupFlagTest
Change-Id: Ic89d48dd1c5dc8b0a89b1898cd7b00d9c61d6513
2024-12-12 18:32:55 -08:00
Charlie Anderson
cdd763d466
Fix user for InstallSessionHelperTest HSUM failures
...
Bug: 383452367
Test: InstallSessionHelperTest
Flag: EXEMPT test fix
Change-Id: I942c6c78e5986a960859e5c6b1458a46ec6a2bd6
2024-12-11 19:12:43 -08:00
Charlie Anderson
2885a6639c
Add new failsafe to disable new archiving broadcast
...
Bug: 322314760
Test: presubmit and LoaderTaskTest
Flag: com.android.launcher3.enable_first_screen_broadcast_archiving_extras
Change-Id: I7c7b94a81dd717ed6f32de2ae986616b93dbbcc0
2024-12-11 18:59:05 -05:00
Sunny Goyal
41e8057bbf
Moving WMProxy to dagger
...
Bug: 361850561
Flag: EXEMPT dagger migration
Test: Presubmit
Change-Id: I9a8031037f2167658b7bc212b59c9b11abbf2f03
2024-12-11 13:24:26 -08:00
ELIYAZ MOMIN (xWF)
931a86396f
Merge "Revert "Making sure that test go to FixedLandscape on landscape"" into main
2024-12-11 04:05:30 -08:00
ELIYAZ MOMIN (xWF)
d98bb0b979
Revert "Making sure that test go to FixedLandscape on landscape"
...
This reverts commit 279b77a882 .
Reason for revert: <Potential culprit for b/383424365 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>
Change-Id: I4b1c81a8e458432c880ad68fa5bd0e2062f2680f
2024-12-11 02:38:04 -08:00