Commit Graph

1563 Commits

Author SHA1 Message Date
TreeHugger Robot
ea38519fa4 Merge "Fix bug with resize frame in Launcher3." into sc-v2-dev 2021-10-20 20:50:17 +00:00
Yogisha Dixit
7b1d25b251 Fix bug with resize frame in Launcher3.
Also updated the tests to check that the resize frame is shown.

Bug: 192655785
Test: AddWidgetTest, AddConfigWidgetTest, manual
Change-Id: Id348f39cec1bebc8ec9ea9f3068f4bda2159eac4
2021-10-20 19:03:14 +01:00
Pat Manning
3c647ff30a Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev 2021-10-20 15:20:26 +00:00
Pat Manning
ccec1de6ae Add new quickstep test for many tasks open at once.
This test is needed for testing overview-grid-related functionality.
- Opening non-focused tasks
- Dismissing a non-focused task from the grid
- Grid rows rebalancing after dismissal, which only happens when enough
apps are open to be off-screen.
- Grid tasks do not scroll after dismissal.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: Ic907db4643cdc2eb9e4610dab917347e234e470c
2021-10-20 14:40:32 +01:00
Alex Chau
9b3dd6c0b9 Revert "Clear only workspace shortcut / widget related tests"
This reverts commit 22be1a47f4.

Reason for revert: Breaks another test
Bug: 202546679

Change-Id: I796c508a6d7c00ec8c1d48e3517453f9eca0616c
2021-10-18 17:52:12 +00:00
Alex Chau
22be1a47f4 Clear only workspace shortcut / widget related tests
- This ensure hotseat to be populated with default items, so it won't result in an empty taskbar which get stashed in apps
- Workspace needs to be cleared because shortcut / widget dragging won't always work if there are items in workspace. It only happens in test due to the way we drag items.

Fix: 202546679
Test: NexusLauncherTests:com.android.launcher3.ui.widget.RequestPinItemTest
Change-Id: Ib3ded6a685eaa1b169b75fd179c9e29ca4be1e72
2021-10-15 16:01:44 +01:00
TreeHugger Robot
485f2a53b2 Merge "Avoid scrolling within edgeSensitivityWidth in overview tests" into sc-v2-dev 2021-10-14 18:18:20 +00:00
Samuel Fufa
8469dc98c6 Merge changes I097134c4,Icfe39c30 into sc-v2-dev
* changes:
  [Work profile][Test] Remove tracing logs for testWorkeduFlow
  [Work Profile] Enable work profile tests
2021-10-08 22:37:09 +00:00
Alex Chau
3220e9521f Avoid scrolling within edgeSensitivityWidth in overview tests
Fix: 202155383
Test: TaplTestsQuickstep.testOverviewActions with 1 task in overview
Change-Id: If137da179d93c9dcf413f431bf437083bfd0e737
2021-10-08 12:43:27 +01:00
sfufa@google.com
9f0981dc4f [Work profile][Test] Remove tracing logs for testWorkeduFlow
Bug: 159671700
Test: NA
Change-Id: I097134c45155f0e65ef4376fab803796f3fdb12a
2021-10-07 16:48:41 -07:00
sfufa@google.com
bd977f3598 [Work Profile] Enable work profile tests
Bug: 159671700
Test: presbumit
Change-Id: Icfe39c30d603a4ae4cac576bc44037f545437ced
2021-10-07 16:48:20 -07:00
TreeHugger Robot
1bf753f7a6 Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev 2021-10-06 00:14:46 +00:00
Pat Manning
a140a0b611 Add TAPL test that dismissing focused task causes next task to become
focused.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: I6f29dc6e3954f1b22ce8ffdf0a83db97202caefe
2021-10-05 18:00:11 +00:00
Thales Lima
78d00adcbe launcher: create more space options
The grid doesn't have a constant space between cells anymore, so we need
new attributes for the different spaces in different situations.

Bug: 191879424
Test: checking cell size and extra space in dumpsys
Change-Id: I4b6aae5b3fea281490c00cd13d0cd3a25372f21b
2021-10-05 12:26:05 +01:00
Steven Ng
9114f280a2 Merge "Group weather widgets under the widget category" into sc-v2-dev 2021-10-01 10:17:47 +00:00
Steven Ng
43859f10bc Group weather widgets under the widget category
Test: manual (see video in bug) and added PackageUserKeyTest
      Also tested pending conversation widget to ensure the right icon
      is shown.
Fix: 201062480
Change-Id: If23c28bd93c54fb1747648309ab3c238a1810902
2021-09-30 14:22:21 +01:00
Zak Cohen
283ee7d74b Remove the Share button option from Overview.
It has never been enabled, and is not plan of record.

Bug: 201446691
Test: local and updated unit tests

Change-Id: I5ac6d40ba1dbcf28de4355cc51fff74cfb37ebc6
2021-09-29 14:43:27 -07:00
Alina Zaidi
a4c1d0cfa4 Merge "Do not reorder recommended widgets in widget picker." into sc-v2-dev 2021-09-29 21:23:23 +00:00
Alina Zaidi
fc6837bb65 Do not reorder recommended widgets in widget picker.
This is to show them in ranking order sent by aiai.

Bug: b/201079509
Test: Added unit test in WidgetsTableUtilTest

Change-Id: I366ecaee8bc157aca185f633462d95fbd1dd180b
2021-09-29 15:52:47 +01:00
Pat Manning
35231f3041 Add TAPL tests for hiding the actions view when scrolling away from
focused task in overview.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: Ie44a5bd99d7c9ffbc5405973c0ba1950cd90665c
2021-09-29 10:30:18 +00:00
Zak Cohen
c1359c448d Merge "Remove Content Push prototype." into sc-v2-dev 2021-09-28 20:16:23 +00:00
TreeHugger Robot
c77e3fde09 Merge "Moving activity tracker to Launcher process" into sc-v2-dev 2021-09-27 20:10:02 +00:00
Zak Cohen
b48b84634f Remove Content Push prototype.
Bug: 201314561
Test: Build and run
Change-Id: I64f5ab40b349d68a50b0f49361f019456667b933
2021-09-27 11:57:50 -07:00
vadimt
5ade8e890d Moving activity tracker to Launcher process
This will improve diagnostics for OOP tests,
like we now have a list of leaked activity classes.

Also some cleanups.

Bug: 187761685
Test: local runs
Change-Id: I8b5711ac727874fd826cfef9c742ea97048763e0
2021-09-27 17:36:14 +00:00
Vadim Tryshev
fcc51bd1fa Merge "Allowing having only SysUI views before pressHome()" into sc-v2-dev 2021-09-24 18:15:07 +00:00
vadimt
bf41844ad4 Allowing having only SysUI views before pressHome()
pressHome can be called just after another test that
can, for example, pull down the status bar to
occupy the whole screen.

Bug: 201005881
Test: presubmit
Change-Id: Ifc0ae4d66d573720f70aa4e734da03add3d86b57
2021-09-23 19:19:53 -07:00
Vadim Tryshev
f2c35587d6 Merge "Revert "Removing unused tracing"" into sc-v2-dev 2021-09-22 20:35:06 +00:00
Vadim Tryshev
827335f209 Revert "Removing unused tracing"
This reverts commit 1cb868e2f7.

Reason for revert: The problem still happens

Bug: 195319692
Test: presubmit
Change-Id: I468c84af743f04f440b719a561e4e5dd6adbf3b4
2021-09-22 02:58:16 +00:00
TreeHugger Robot
d8bbdce598 Merge "Removing unused tracing" into sc-v2-dev 2021-09-16 04:59:38 +00:00
TreeHugger Robot
e7e282b80b Merge "Adding Winscope Launcher trace artifact" into sc-v2-dev 2021-09-14 06:43:24 +00:00
TreeHugger Robot
fb4461e2e7 Merge "Add tmp buffer to rounded corners" into sc-v2-dev 2021-09-13 22:13:20 +00:00
Winson Chung
58030642b0 Add tmp buffer to rounded corners
- Testing if this actually moves the gesture out of the screen decor area

Bug: 197326121
Test: Pre/postsubmit
Change-Id: I3c46ed3860ba6ba1fb605242b4f7242aaabc5672
2021-09-13 20:01:56 +00:00
vadimt
1cb868e2f7 Removing unused tracing
Bug: 195319692
Test: presubmit
Change-Id: I035870abff8b0ee1f714bb56a5326e30c0f77fb0
2021-09-10 16:01:17 -07:00
Sunny Goyal
848e297ea5 Removing obsolete robo test setup
Test: Presubmit
Bug: 196825541
Change-Id: Ic6559917a6581f358d8af4d50c079fe947b64e4e
2021-09-09 09:30:47 -04:00
vadimt
352c0035cb Adding Winscope Launcher trace artifact
Bug: 197991109
Test: local runs
Change-Id: I8fe718570e1400e97ea107bc25e169f39257ff43
2021-09-07 15:26:52 -07:00
TreeHugger Robot
d213914214 Merge "Fixing leak in model tests" into sc-v2-dev 2021-09-07 21:31:34 +00:00
Sunny Goyal
b45aef3f1c Fixing leak in model tests
> InstallSessionTracker is not released immediately causing large memory objects
  being held by tests

Bug: 198719724
Test: Presubmit
Change-Id: I1d19a2a498a9f255077818dc7d78422367ec1749
2021-09-07 15:34:48 -04:00
Sunny Goyal
1aff018e17 Cleaning up fixed bug
Bug: 192010616
Test: Presubmit
Change-Id: I12d79726852a588cb0ee6b1aaf5ab8bccb9c3cfc
2021-09-07 12:04:44 -04:00
Winson Chung
b42265861b Use max of corners when deciding gestures and add logs for corners
Bug: 197326121
Test: Pre/postsubmit
Change-Id: I1c083dc9234354f66cf1537f0cfe8c21f1e1be3b
2021-09-04 02:23:53 +00:00
TreeHugger Robot
667bda8448 Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev 2021-08-31 10:52:02 +00:00
Sunny Goyal
777d49062f Revert "Revert "Migrating all model tests to Instrumentation tests""
This reverts commit 7a4a30d86d.

Test: Presubmit
Reason for revert: Fixing original bug

Bug: 196825541
Change-Id: Id4b1eb24a89564d264266d305aebea52917dfcd9
2021-08-31 10:51:52 +00:00
TreeHugger Robot
3c79aa579b Merge "Adding a test artifact for logcat with only interesting tags" into sc-v2-dev 2021-08-30 18:45:42 +00:00
vadimt
6c416c699d Adding a test artifact for logcat with only interesting tags
This is based on the brainstorm "diagnostic scripts running on ATP".

Please propose additional (to "TestRunner") tags.

Also adding class name to all artifact filenames
because sometimes different classes have failing tests
with the same name.

Bug: 197991109
Test: local runs
Change-Id: Ic2022ca526d833fe99450e90fcfd8fb7be1f79d5
2021-08-27 15:07:11 -07:00
Android Build Prod User
435e6a0443 Merge "Not using stale object to diagnose stale object" into sc-v2-dev 2021-08-27 02:48:56 +00:00
Android Build Prod User
50f928c388 Merge "Waiting for Launcher to settle after enabling test provider" into sc-v2-dev 2021-08-25 09:29:39 +00:00
vadimt
67a11ff6a5 Waiting for Launcher to settle after enabling test provider
I suspect that something happens in Launcher after enabling the provider
that causes "mismatched event sequence" errors.

This CL is to verify that.

Bug: 195031154
Test: presubmit
Change-Id: Ic22df5fa631b287b580f0aaf00c84cd408cb60b0
2021-08-25 01:30:45 +00:00
Android Build Prod User
497a6ad826 Merge "Improving diags for containers disappearing while getting children" into sc-v2-dev 2021-08-24 21:28:23 +00:00
TreeHugger Robot
907c22ca14 Merge "Not checking for some anomalies when switching nav modes" into sc-v2-dev 2021-08-24 19:49:41 +00:00
Alex Chau
204e749f06 Merge "Revert "Migrating all model tests to Instrumentation tests"" into sc-v2-dev 2021-08-24 17:29:06 +00:00
Alex Chau
7a4a30d86d Revert "Migrating all model tests to Instrumentation tests"
This reverts commit 455ba62b5d.

Reason for revert: Breaks tests on all targets

Bug: 196825541
Bug: 197570389
Change-Id: Ida6792a09c54dee46105b6b914a0dd1545bdf48d
2021-08-24 17:27:52 +00:00