Shamali Patwa
8e7613e4c7
Fix test failure in post submit
...
Bug: 343937933
Change-Id: Ie989e4ce4f098a225873d13de9c6913933e5628e
Test: Unit test fix
Flag: None test fix
2024-05-31 21:59:41 +00:00
Jagrut Desai
98eac2c1b2
Merge "Removing TWO_NEXUS_LAUNCHER_ACTIVITY_WHILE_UNLOCKING" into main
2024-05-31 20:40:54 +00:00
Jagrut Desai
1eb576905a
Removing TWO_NEXUS_LAUNCHER_ACTIVITY_WHILE_UNLOCKING
...
Test: Presubmit
Bug: 273347463
Flag: TEST_ONLY
Change-Id: Idcd49b857e6f6c2832211306c90a19c88fb2a224
2024-05-31 11:01:50 -07:00
Tracy Zhou
55308cadcf
Merge "Support trackpad tapl tests in 3-button mode" into main
2024-05-30 17:59:13 +00:00
Shamali Patwa
c4c554139f
Merge "Scale down the widget previews on similar scale as the spring load scale" into main
2024-05-30 14:58:41 +00:00
Uwais Ashraf
9d4f5d1cc9
Merge "Replace verifyZeroInteractions with verifyNoMoreInteractions" into main
2024-05-30 10:10:13 +00:00
Tracy Zhou
acb4a3d1e8
Support trackpad tapl tests in 3-button mode
...
Currently we have logic to only enable input monitor when a trackpad is connected. Tapl tests need to have infrastructure to override that logic
Bug: 335146977
Test: presubmit
Change-Id: Ib7f80c828760f8b5abd7ed2788b246e47fca6e34
2024-05-29 21:58:20 -07:00
Shamali P
3dabf391f2
Scale down the widget previews on similar scale as the spring load scale
...
Currently entire workspace scales down, but the original view sticks
to user's finger at same size as before. This makes the view look larger
obstructing the view of workspace behind it - specifically, when the
widgets are of larger size.
Additionally, with this scaling change, the preview images that aren't
of same aspect ratio don't break the transition to final widget as
before.
Bug: 338290585
Test: Unit test
Flag: None bugfix
Change-Id: I1d1818e60506898c7b28074f01cee91282032a94
2024-05-29 22:38:22 +00:00
Sihua Ma
9d093d5b57
Replace verifyZeroInteractions with verifyNoMoreInteractions
...
Also migrating LockedUserStateTest and AbstractFloatingViewHelperTest
to multivalent
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: TEST_ONLY
Bug: 297950111
Change-Id: Ic476de791109e7892c86bf5ae77727fc0506f0b9
2024-05-29 22:03:43 +00:00
Sihua Ma
350c29a5f6
Move SettingsActivityTest to multivalent
...
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: None Test migration
Bug: 297950111
Fix: 325089136
Change-Id: I85a2ed62453088941cb12fee9067acb076819dc5
2024-05-28 18:05:14 +00:00
Sihua Ma
1159c2546f
Reapply "Move widget picker tests to Robolectric"
...
This reverts commit 97ee134acc .
Reason for revert: Fixed an issue with UI_HELPER_EXECUTOR that caused the flakiness
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: None Test migration
Fix: 325088642
Fix: 325088805
Fix: 325089116
Fix: 325088960
Change-Id: I2f50c30d2c861e3bba8a8fa3ec547ca2ade6153a
2024-05-22 19:41:11 +00:00
Uwais Ashraf
fe2107c59d
Merge "Revert "Move widget picker tests to Robolectric"" into main
2024-05-21 23:05:12 +00:00
Uwais Ashraf
97ee134acc
Revert "Move widget picker tests to Robolectric"
...
This reverts commit efc24f9251 .
Reason for revert: Potential cause for flakiness https://android-build.corp.google.com/test_investigate/?invocationId=I07000010279081631&testResultId=TR32129311605132927
Change-Id: I4f0154bc101b6bc840c11ff0b6bf42f4ebc5ed03
2024-05-21 19:44:41 +00:00
Uwais Ashraf
784b4f28b0
Fix some compile errors occurring as a result of robo enablement
...
Fix: 297950111
Test: :NexusLauncher.Robo:testGoogleWithQuickstepDebugUnitTest
Test: atest NexusLauncherRoboTests
Flag: NA
Change-Id: Ic9b09fff630d274558d09b7031d12ec28f10fbc7
2024-05-21 18:56:52 +00:00
Sihua Ma
efc24f9251
Move widget picker tests to Robolectric
...
Test: atest Launcher3RoboTests
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: NONE test migration
Bug: 297950111
Change-Id: I9124d4f45feb0ded74ffe2e0aabffdf98459ff4f
2024-05-20 21:20:32 +00:00
Sunny Goyal
25f5e29418
Adding support for importing/exporting launcher layout
...
Bug: 338282246
Flag: None
Test: Manual, developer feature
atest AutoInstallsLayoutTest
Change-Id: I8a5674080f3c156d97bc6118c51532c2fe8177d5
2024-05-16 15:24:41 -07:00
Vadim Tryshev
575d15f231
Cleaning up TestProtocol
...
Bug: 262282528, 279059025, 322823209
Test: presubmit
Flag: N/A
Change-Id: I9af6e3f1fc49b2ebf0d99df8c4514de0bddee8f2
2024-05-10 11:03:24 -07:00
Sukesh Ram
60cab37a23
Remove Logs for TaplOverviewIconTest#testOverviewActionsMenu
...
Remove logging for TaplOverviewIconTest#testOverviewActionsMenu.
Flag: NONE
Test: Manually tested in pixel 7.
Bug: 326073471
Change-Id: Ie19cdb10234fd50fc64f259b5dafe9881162e23d
2024-05-08 22:29:48 +00:00
Sihua Ma
8128575f46
Merge "Move cell layout tests to deviceless tests" into main
2024-05-08 16:50:44 +00:00
Sihua Ma
1593bb4af2
Move cell layout tests to deviceless tests
...
Excluding Tapl tests
Also adding Launcher3 test assets to Launcher3TestResources
Bug: 297950111
Flag: None
Test: atest Launcher3RoboTests
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Change-Id: I101fc7229252016ec7e5015ed5f6a5b4dbba894d
2024-05-08 00:52:43 +00:00
Schneider Victor-tulias
c6c8a22daf
Merge "Add debug logs for b/319168409" into main
2024-05-07 13:56:56 +00:00
Sunny Goyal
0f4bc92653
Creating a custom runner for multivalent tests with Launcher specific features
...
Bug: 338128923
Test: Verified by modifying a test
Flag: None
Change-Id: I1f04e28847ff9c0f7af3c0d952038ad24d03c17e
2024-05-06 12:10:21 -07:00
Schneider Victor-tulias
8288819aa6
Add debug logs for b/319168409
...
Flag: N/A
Bug: 319168409
Test: TaplDragTest#testDragAppIcon
Change-Id: I96d26cc78af0a3f4145fc3486c4b6adfbd110c9e
2024-05-06 16:22:03 +00:00
Sunny Goyal
8dec848ad2
Merge "Adding a special runner to run simulate multiple devices when running robo tests" into main
2024-05-04 03:13:27 +00:00
Sunny Goyal
86145f49fb
Adding a special runner to run simulate multiple devices when running robo tests
...
Bug: 338128923
Test: Verrified by modifying a test
Flag: None
Change-Id: I133842d68e437b971da39e2081c8859515463cd3
2024-05-03 15:54:40 -07:00
Kevin Lim
c338db0a67
[Deviceless] Move BubbleTextViewTest to multivalentTests for deviceless
...
testing.
Bug: b/297950111
Flag: NA
Test: atest Launcher3RoboTests
Test: atest NexusLauncherRoboTests
Test: Passes in SysUI Studio
Change-Id: Ib94e704836e0e21b8f8f05d987bec3e8ba633afa
2024-05-02 22:53:41 +00:00
Treehugger Robot
0ff6c0a50d
Merge "Debug TaplAddConfigWidgetTest test" into main
2024-05-02 22:16:42 +00:00
Sukesh Ram
05d48b3986
Debug TaplAddConfigWidgetTest test
...
Flag: NONE
Bug: 324419890
Test: Check logs when flake is reproduced
Change-Id: I90b419aa300df53247fc07e00aabe575a33fb95f
2024-05-02 20:32:09 +00:00
Sunny Goyal
993893895c
Converting ModelTask to an interface instead of an abstract class
...
This allows extensibility and better use of lambdas
Bug: 338282246
Test: Presubmit
Flag: None
Change-Id: Ia41067f0068b3b631eeb4faf877dc77f8587e1f6
2024-05-01 15:43:26 -07:00
Sunny Goyal
fdae170684
Fixing robolectric tests not running on UI thread after changing looper mode
...
Bug: 297950111
Flag: None
Test: Presubmit
Change-Id: I9351474ba4d377e8e9539f9b3d22d5ba15ac6a44
2024-04-24 16:42:30 -07:00
Sunny Goyal
edbe8e5ffc
Merge "Fixing MainThreadInitializedObject" into main
2024-04-23 18:06:38 +00:00
Sunny Goyal
10fa016352
Fixing MainThreadInitializedObject
...
> Making SafeCloseable implementation mandatory, to prevent leaks during test and preview
> Removing getNoCreate method and defining executeIfCreated to avoid null pointer exceptions
> Fixing sandbox value leaking into main, by Checking sandbox against App context
> Converting sanbox to an interface instead a class
Bug: 335280439
Test: Presubmit
Flag: None
Change-Id: I951dcde871898e745ff6490a1c4f8fd1512888f5
2024-04-22 17:04:33 -07:00
Treehugger Robot
9960f43a5c
Merge "Adds new log constant to track overview select tooltip misalignment" into main
2024-04-22 20:24:28 +00:00
Jordan Silva
cbc8bf0443
Adds new log constant to track overview select tooltip misalignment
...
Bug: 332485341
Flag: N/A
Test: atest OverviewSelectTooltipImageTest
Change-Id: Ic1a9ad4e1e9e9b95774a4a1edac92ea79c75cec6
2024-04-22 17:39:31 +01:00
Schneider Victor-tulias
abf9f308a5
Remove debug tracing for b/332386996
...
Flag: N/A
Fixes: 332386996
Test: TaplTestsQuickstep
Change-Id: I0d0aa5d5654dbf391269333eb4808d36f5e645ed
2024-04-22 16:16:42 +00:00
Schneider Victor-tulias
3f8eea99e3
Remove debug tracing for b/321775748
...
Flag: N/A
Fixes: 321775748
Test: FallbackRecentsTest
Change-Id: I1f746bf43025e093e94e60f8a1561f4f6a0f9b22
2024-04-22 09:55:49 -04:00
Priyanka Advani
7d92102140
Merge "Revert^3 "Wait for LauncherModel loaded in waitForLauncherInitialized"" into main
2024-04-16 00:46:24 +00:00
Priyanka Advani
4e97c94559
Revert^3 "Wait for LauncherModel loaded in waitForLauncherInitialized"
...
This reverts commit 503ce966ef .
Reason for revert: Culprit for test breakages in b/334995023. Will be verifying through ABTD for confirmation and before submitting the revert.
Change-Id: Id8707cb2074b4f00ec332ebb14deb7d143ff1bbb
2024-04-15 22:18:31 +00:00
Schneider Victor-tulias
9d4fb2b5be
Merge "Revert^2 "Wait for LauncherModel loaded in waitForLauncherInitialized"" into main
2024-04-15 19:30:38 +00:00
Schneider Victor-tulias
503ce966ef
Revert^2 "Wait for LauncherModel loaded in waitForLauncherInitialized"
...
This reverts commit b80c6c347a .
Reason for revert: The original change was not the cause for the test failures
Change-Id: Icfe0da43a96f5471076554c4dd25eae649bee81e
2024-04-15 15:58:19 +00:00
Liana Kazanova
1c0b61377d
Merge "Revert "Wait for LauncherModel loaded in waitForLauncherInitialized"" into main
2024-04-12 22:29:53 +00:00
Liana Kazanova
b80c6c347a
Revert "Wait for LauncherModel loaded in waitForLauncherInitialized"
...
This reverts commit f8f00f4233 .
Reason for revert: DroidMonitor: Potential culprit for http://b/334162623 . 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: Id165df41a87af4757abd3266b8643949ce012a08
2024-04-12 21:30:50 +00:00
Sunny Goyal
4396a935c2
Merge "Using resource overrides for PluginManager instead of code-swap" into main
2024-04-12 20:29:36 +00:00
Sunny Goyal
4a22ed81ea
Using resource overrides for PluginManager instead of code-swap
...
Bug: 330920490
Test: Presubmit
Flag: None
Change-Id: Ib1cd50f95873928b9ce104e8e95d21f1dca9c6e3
2024-04-12 11:38:32 -07:00
Schneider Victor-tulias
f8f00f4233
Wait for LauncherModel loaded in waitForLauncherInitialized
...
Flag: N/A
Fixes: 326737440
Test: Launcher TAPL tests
Change-Id: I631b370198c393ad84419930c026b6a0ce63ec2b
2024-04-12 12:48:48 -04:00
Sunny Goyal
8049369af8
Freezing legacy feature flags
...
Legacy feature flags will be locked to their current values in code.
All new feature development should use aconfig flags
Bug: 332588958
Flag: None
Test: Presubmit
Change-Id: Ie72dd8276b7135620de279835d6721a34f82ede4
2024-04-09 15:26:07 -07:00
Sunny Goyal
8ecbaa422f
Merge "Moving various nav-bar configs out of feature flags" into main
2024-04-09 05:45:21 +00:00
Uwais Ashraf
fe1a9c36b7
Merge "Use script to auto-enable all tests that are currently working" into main
2024-04-09 00:01:05 +00:00
Sunny Goyal
89931316a2
Moving various nav-bar configs out of feature flags
...
Bug: 332588958
Test: Presubmit
Flag: None
Change-Id: Ia4dc5b69bcf4d461e3444b9e37bb7334bb74aae4
2024-04-08 16:54:04 -07:00
Vadim Tryshev
47f192f3be
Merge "Restoring the full set of combinations in testDragShortcutToMultipleWorkspaceCells in presubmit" into main
2024-04-08 23:02:42 +00:00