Commit Graph

2231 Commits

Author SHA1 Message Date
Sebastian Franco
e84cdcc468 Promote test testAddDeleteShortcutOnHotseat
Flag: TEST_ONLY
Test: testAddDeleteShortcutOnHotseat
Bug: 338869019
Change-Id: Ib3dd4fec0e8e6b4ac9e4233172197b557890ab15
2024-07-11 17:56:44 -07:00
Fengjiang Li
dd7471f3bf Merge "[Launcher Jank] Improve SimpleBroadcastReceiver.java" into main 2024-07-11 20:22:22 +00:00
Treehugger Robot
01b577432a Merge "Add screenrecord to testDragIconToPage2" into main 2024-07-11 19:27:59 +00:00
Fengjiang Li
b87ad6f945 [Launcher Jank] Improve SimpleBroadcastReceiver.java
Bug: 348649441
Flag: NONE - jank fix
Test: manual - presubmit
Change-Id: I17bd7e4d7f0640522476e94edae691f983835f62
2024-07-11 11:12:29 -07:00
fbaron
cf55a30dcf Add screenrecord to testDragIconToPage2
Flag: TEST_ONLY
Bug: 352130094
Test: TaplTwoPanelWorkspaceTest#testDragIconToPage2
Change-Id: I0358e4da22afc19a8d976d529c68f09529247ca7
2024-07-11 10:49:58 -07:00
Sebastián Franco
6e43c6aadf Merge "Moving ReorderWidgetsTest to an integration test instead of E2E" into main 2024-07-10 18:28:08 +00:00
Federico Baron
f30a5a3ca1 Merge "Revert "Add screenrecord/demote TwoPanelWokrspaceTest"" into main 2024-07-10 18:16:50 +00:00
Federico Baron
89414e403c Revert "Add screenrecord/demote TwoPanelWokrspaceTest"
This reverts commit 09ac97fa39.

Reason for revert: fixed issue

Change-Id: I269fbcedc161ff340eaa17d6a37c18cba7ce0848
2024-07-10 16:40:05 +00:00
Sebastian Franco
224f67a046 Moving ReorderWidgetsTest to an integration test instead of E2E
Flag: TEST_ONLY
Test: IntegrationReorderWidgetsTest
Bug: 324261526
Fix: 343761044

Change-Id: I9bfe8b587e1024260ddeeb48157c3d204f2d58f2
2024-07-10 04:20:41 +00:00
Treehugger Robot
c16efda876 Merge "Re-promote fixed test openPrivateSpaceSettings_triggersCorrectIntent to presubmit" into main 2024-07-09 21:53:16 +00:00
Federico Baron
44faf4cc9e Merge "Add screenrecord to TaplThemeIconsTest#testShortcutIconWithTheme" into main 2024-07-09 17:09:46 +00:00
Federico Baron
501e4ab75a Merge "Revert "Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible"" into main 2024-07-09 16:47:18 +00:00
fbaron
fd2fc06d69 Add screenrecord to TaplThemeIconsTest#testShortcutIconWithTheme
Flag: TEST_ONLY
Test: TaplThemeIconsTest#testShortcutIconWithTheme
Bug: 350557998
Change-Id: I38eb6558ece4cc23272a813d52ea677b8d9ad2cb
2024-07-08 15:41:06 -07:00
Federico Baron
20e7a59bff Revert "Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible"
This reverts commit 347b408f90.

Reason for revert: didn't resolve the issue

Change-Id: I05563ffd3c83b4633007407953e2050ee2c87866
2024-07-08 22:32:48 +00:00
Federico Baron
651448cb98 Merge "Demote TaplThemeIconsTest#testShortcutIconWithTheme" into main 2024-07-03 22:43:39 +00:00
fbaron
7672f320e8 Demote TaplThemeIconsTest#testShortcutIconWithTheme
Bug: 350557998
Test: TaplThemeIconsTest#testShortcutIconWithTheme
Flag: TEST_ONLY
Change-Id: I236fdd0bab678a385553d40f8a0dabbe78f92b5b
2024-07-03 13:51:53 -07:00
Federico Baron
025c8a0cc0 Merge "Add test for Folder undoing behavior" into main 2024-07-02 23:57:21 +00:00
fbaron
df62b6ffd7 Add test for Folder undoing behavior
Fix: 341799410
Test: FolderTest#undoFolder
Flag: TEST_ONLY
Change-Id: I8bfb3fc9348290274b33f4b5b6531126c658037c
2024-07-02 15:02:09 -07:00
Federico Baron
f4aa900009 Merge "Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible" into main 2024-07-02 15:31:50 +00:00
fbaron
347b408f90 Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible
Bug: 344982276
Test: TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible
Flag: TEST_ONLY
Change-Id: I2f02b769aaae353d48501b8e3551a8d0939064c6
2024-07-01 10:25:27 -07:00
Kevin Lim
188202f927 [E2E] Re-enable stable widget tests.
Bug: b/310242894
Flag: EXEMPT E2E test re-enabling
Test: http://android-build/test_hub/search/?filter=lowFailureRate&invfilter=unhealthyInvocations&invfilter=staleInvocations&query=branch%3Agit_main+target%3A%28cf_x86_64_phone-trunk_food-userdebug%7Ccf_x86_64_phone-trunk_staging-userdebug%29+testsub%3A%28testPendingWidget_withConfigScreen%7CtestPendingWidget_notRestored_brokenInstall%29
Change-Id: I25c48e07d6cebcc3b5bb61f1583a3859c4c0eb80
2024-06-28 21:11:59 +00:00
Vadim Tryshev
09011fcd07 Re-promote fixed test openPrivateSpaceSettings_triggersCorrectIntent to presubmit
Bug: 339109319
Test: presubmit
Flag: TEST_ONLY
Change-Id: I4873ac3eb258dba30136534e3df6a1a378a3c29a
2024-06-27 15:30:06 -07:00
Federico Baron
33f2e36ee4 Merge "Promote test testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty" into main 2024-06-27 20:30:45 +00:00
fbaron
f408badf13 Promote test testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty
Flag: TEST_ONLY
Test: TaplTwoPanelWorkspaceTest#testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty
Bug: 329935119
Change-Id: I4fe2967924dd9ef083ed711802eadd277d1164e5
2024-06-27 09:09:06 -07:00
Fengjiang Li
94de34ce2f Merge "[Launcher Jank] Avoid SimpleBroadcastReceiver making binder calls on main thread" into main 2024-06-24 21:00:41 +00:00
Uwais Ashraf
c902df4e41 Enable currently functional multivalent tests
Flag: EXEMPT test-only
Bug: 325088619
Bug: 325088638
Bug: 325088328
Test: Presubmit
Test: Gradle robolectric run
Change-Id: I20e77a401ed98c97168bf9c752eacc93c3c545dd
2024-06-22 22:14:30 +00:00
Fengjiang Li
1f87d94e59 [Launcher Jank] Avoid SimpleBroadcastReceiver making binder calls on main thread
Fix: 348649441
Flag: NONE - jank fix
Test: manual - presubmit
Change-Id: Ie97713f3f0b1f117662d49c6d6a65651c593d424
2024-06-21 14:37:51 -07:00
Charlie Anderson
df204b585e Merge "Only send new first screen broadcast on first load after restore" into main 2024-06-19 00:10:49 +00:00
Charlie Anderson
30a3acc779 Only send new first screen broadcast on first load after restore
Flag: EXEMPT launcher_broadcast_installed_apps
Bug: 322314760
Test: manually tested

Change-Id: I28a3ee1fb2c5c382ea8789b6e966c80db1abf0e0
2024-06-18 18:19:46 -04:00
Jagrut Desai
66dfe90240 Fixing TaplUninstallRemoveTest#uninstallWorkspaceIcon
Test: Presubmit
Bug: 319501259
Flag: TEST_ONLY
Change-Id: I4a2af445fe51f4f3ffcc11748ff921baf6be9bd0
2024-06-18 09:19:22 -07:00
Sebastián Franco
7793a2aecc Merge "Revert "Make sure we keep the screen record even if the test succeeds"" into main 2024-06-13 21:46:44 +00:00
Andrew Cole
f77600260c Merge "Send additional Extras in first screen broadcasts, to help with app archiving." into main 2024-06-13 21:30:26 +00:00
Charlie Anderson
7cc4302f10 Send additional Extras in first screen broadcasts, to help with app archiving.
- refactor FirstScreenBroadcast.java into FirstScreenBroadcastHelper.kt
	- send Extras to include installed/archived items on first screen
	- send Extras to include installed/archived widgets on all screens.
	- truncate items to limit Broadcast size

Bug: 322314760
Test: unit testing and E2E test of B&R
Flag: launcher_broadcast_installed_apps

Change-Id: I214149ac0c63f177d3d1ca0b6d0cb11be37f4ae0
2024-06-13 21:29:50 +00:00
Sebastián Franco
f46de7e690 Revert "Make sure we keep the screen record even if the test succeeds"
This reverts commit ad15dd719e.

Reason for revert: removing debug 

Change-Id: Id76a5b9a2e138603e896cba2a0d9b96711610f9e
2024-06-13 18:43:21 +00:00
Sihua Ma
ea913b3dee Merge "Migrate responsive tests to multivalent" into main 2024-06-13 17:13:06 +00:00
Sihua Ma
73c766d75d Migrate responsive tests to multivalent
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: TEST_ONLY
Fix: 325088640
Change-Id: I32cce09ff7ef070b6c86b6440723006b5cb503cf
2024-06-13 09:48:09 +00:00
Uwais Ashraf
eecadb0432 Enable UtilitiesKtTest for multivalent. Remove test resource
Fix: 325088427
Test: UtilitiesKtTest in studio and presubmit
Flag: EXEMPT test-only
Change-Id: I71b77c4633b1075f643ed479f8224f9b80811f54
2024-06-11 22:38:34 +00:00
Jeremy Sim
dafbaa5f1b Merge "Fix flaky test" into main 2024-06-11 04:12:58 +00:00
Jeremy Sim
c1470021c8 Fix flaky test
Attempts to fix a flaky test by ensuring that recents is always cleared before creating a split pair (so the split pair under test is always the same).

Bug: 340935208
Test: testSaveAppPairMenuItemOrActionExistsOnSplitPair(), testSplitTaskTapBothIconMenus()
Flag: TEST_ONLY
Change-Id: Ibc81b90fac531f0e78e93a494ff59073ab5e52cf
2024-06-10 14:51:53 -07:00
Sihua Ma
c22a8e7495 Merge "Migrate GeneratedPreviewTest to multivalent" into main 2024-06-10 20:57:00 +00:00
Sihua Ma
de5ef62967 Migrate GeneratedPreviewTest to multivalent
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Fix: 325088369
Flag: TEST_ONLY
Change-Id: I2c88a357c8ac5fb0171a70e850be25e8fb11de33
2024-06-10 16:49:47 +00:00
Uwais Ashraf
8e537d1ee5 Merge "Move AppFilterTest to Deviceless" into main 2024-06-10 08:22:00 +00:00
Andrew Cole
8a4af691c8 Move AppFilterTest to Deviceless
Bug: 297950111
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: TEST_ONLY
Change-Id: I9e12a23966017aa2136f92e84eebb216ed8525cf
2024-06-07 15:38:17 -07:00
Treehugger Robot
e8638f4eb2 Merge "Run UiThreadTest in LauncherMultivalentJUnit" into main 2024-06-05 17:02:46 +00:00
Brandon Dayauon
2c40b8366d Consolidate the header views updating into a single method
Call this updateView() in reset to ensure states are correct before animating.

bug: 341053089
Test: manually - video: https://drive.google.com/file/d/18ZSAEplL1Lk5ij3IHlwtRh1GQ6GhrXX1/view?usp=sharing
Flag: Aconfig com.android.launcher3.enable_private_space Nextfood
Change-Id: I2c825a7fd7d9a5faad8fbbb70d0f40294f715a42
2024-06-04 10:09:40 -07:00
Uwais Ashraf
050ff39fe2 Revert flaky FolderNameProviderTest
Bug: 325088328
Test: Presubmit passes
Flag: EXEMPT test-only
Change-Id: I22c0bfdea32f552ffdb5dacc34038f7b1c668762
2024-06-03 15:35:13 +00:00
Brandon Dayauon
6b65956a5c Merge "Make PrivateSpaceSettingsButton instead of having just the imageView." into main 2024-06-03 15:02:59 +00:00
Brandon Dayauon
6f1ca642ee Merge "Rename add* to update* and call setQuietMode() itself" into main 2024-06-01 00:09:52 +00:00
Brandon Dayauon
736527a127 Make PrivateSpaceSettingsButton instead of having just the imageView.
This way we can keep the click listener in this PrivateSpaceSettingsButton.java class.
- Moved itemInfo creation to PrivateSpaceSettingsButton and created a test class

bug: 341053089
Test: manually - presubmit video: https://drive.google.com/file/d/1_TCGrILvwmMpxbgIcbOcpB2AxeBJbyNf/view?usp=sharing
Flag: Aconfig com.android.launcher3.enable_private_space Nextfood
Change-Id: I79cd319274f4445dd00bc257be81728360d09684
2024-05-31 17:05:13 -07:00
Federico Baron
4aa92bec7f Merge "Revert "Add screenrecord for testAllAppsFromHome()"" into main 2024-05-31 20:13:52 +00:00