Commit Graph

4763 Commits

Author SHA1 Message Date
Trevor Radcliffe 101bd13591 Merge "Migrate Aardwolf to Soong" am: c6cb960ecc am: 526386b255 am: cabdc1828f am: b79aecff1f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1855833

Change-Id: I3dfd8598a6bd2f70a8cd472d4a57d0864e27c452
2021-10-18 19:36:42 +00: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
TreeHugger Robot 7554bf378f Merge "Clear only workspace shortcut / widget related tests" into sc-v2-dev am: 6a4f5427ea am: 29ceb9d004
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16056308

Change-Id: I671b785eeb1a275fd32b757a9fa86825bd2828fd
2021-10-15 20:01:30 +00:00
TreeHugger Robot 29ceb9d004 Merge "Clear only workspace shortcut / widget related tests" into sc-v2-dev am: 6a4f5427ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16056308

Change-Id: I16b4ee6ef97d15f23a90402d878c636ada56f009
2021-10-15 19:45:42 +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 16b69de1cf Merge "Avoid scrolling within edgeSensitivityWidth in overview tests" into sc-v2-dev am: 485f2a53b2 am: 5f61b2dc27
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16014242

Change-Id: Ia9de754faac5ecc6bcd5a3de13d2dcf26a5a2a8f
2021-10-14 18:47:34 +00:00
TreeHugger Robot 5f61b2dc27 Merge "Avoid scrolling within edgeSensitivityWidth in overview tests" into sc-v2-dev am: 485f2a53b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16014242

Change-Id: Ifac1ac169e1e83f002b4c8270f5dd0b4f8d1ec2d
2021-10-14 18:31:49 +00:00
TreeHugger Robot 485f2a53b2 Merge "Avoid scrolling within edgeSensitivityWidth in overview tests" into sc-v2-dev 2021-10-14 18:18:20 +00:00
Trevor Radcliffe caecf6393b Migrate Aardwolf to Soong
Fixes: 202886196
Test: apkanalyzer--apks are identical
Test: Treehugger
Change-Id: Iff24028632c4b6929c408db2dbae9a3d98604810
2021-10-12 23:00:23 +00:00
Samuel Fufa c75cdd4d6c Merge changes I097134c4,Icfe39c30 into sc-v2-dev am: 8469dc98c6 am: 9029902721
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15998125

Change-Id: I5b3d7943f58aa4858cb592c9335e1ec54eab3691
2021-10-08 23:07:07 +00:00
Samuel Fufa 9029902721 Merge changes I097134c4,Icfe39c30 into sc-v2-dev am: 8469dc98c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15998125

Change-Id: I8aa87b6dda2b8ceafc6e5719e938640dd72432ea
2021-10-08 22:52:38 +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 565c5ed6e2 Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev am: 1bf753f7a6 am: e77cae7f0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15947750

Change-Id: I9c7cac5e73845ed4f08d2d518e661891188a0ce6
2021-10-06 00:45:44 +00:00
TreeHugger Robot e77cae7f0d Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev am: 1bf753f7a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15947750

Change-Id: Id67d2342b0715896faa6832e59116b6ea42fcf05
2021-10-06 00:26:54 +00: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 1de472e558 Merge "launcher: create more space options" into sc-v2-dev am: 9a6b20f0cb am: c760160125
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15953000

Change-Id: I6113b9a28f0d33cdff55f3db584e853ed7f7a603
2021-10-05 16:14:19 +00:00
Thales Lima c760160125 Merge "launcher: create more space options" into sc-v2-dev am: 9a6b20f0cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15953000

Change-Id: I2a56836991153beeb1a0abbb342d5e268255976b
2021-10-05 15:55:55 +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 f6dce85efb Merge "Group weather widgets under the widget category" into sc-v2-dev am: 9114f280a2 am: bec302ab6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897183

Change-Id: I982d42b726a75e58fb2f9c2a608e7bfb4bd6874a
2021-10-01 10:44:44 +00:00
Steven Ng bec302ab6c Merge "Group weather widgets under the widget category" into sc-v2-dev am: 9114f280a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897183

Change-Id: I8b251fb6d4631d7f0f33a60e3a90e80a42ca908b
2021-10-01 10:28:10 +00: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
TreeHugger Robot 2e4a003f71 Merge "Remove the Share button option from Overview." into sc-v2-dev am: 70cc9ffe7c am: 8775a79741
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15935390

Change-Id: I27bfb9c63fb618abb0faaa116e44b9e95aa84b45
2021-09-30 04:38:22 +00:00
TreeHugger Robot 8775a79741 Merge "Remove the Share button option from Overview." into sc-v2-dev am: 70cc9ffe7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15935390

Change-Id: I34365ae2b2f97536e1bc992ec583b11ce00bdc75
2021-09-30 04:23:41 +00:00
Alina Zaidi 1932f63691 Merge "Do not reorder recommended widgets in widget picker." into sc-v2-dev am: a4c1d0cfa4 am: 61d6aea926
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15921288

Change-Id: Ic7ffb40f4d15a5c421505abcb8c373afb6604477
2021-09-29 21:48:05 +00: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 61d6aea926 Merge "Do not reorder recommended widgets in widget picker." into sc-v2-dev am: a4c1d0cfa4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15921288

Change-Id: I991f263529eee35fcc866b4ed8e0cf983ee35c5d
2021-09-29 21:36:23 +00:00
Pat Manning 05c2873979 Merge "Add TAPL tests for hiding the actions view when scrolling away from focused task in overview." into sc-v2-dev am: 429b8df180 am: 148b8bd2eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15804385

Change-Id: I25bb02bde3dc3eeceb6a22d220a64da53b91ac96
2021-09-29 21:30:58 +00: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
Pat Manning 148b8bd2eb Merge "Add TAPL tests for hiding the actions view when scrolling away from focused task in overview." into sc-v2-dev am: 429b8df180
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15804385

Change-Id: I7f5979e5d94ff8d3cc280af4cd694425e28f838c
2021-09-29 21:20:48 +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 7cb98961ce Merge "Remove Content Push prototype." into sc-v2-dev am: c1359c448d am: a163c68ee2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15922695

Change-Id: I30a08ef27bee0d2252ceaaac5acbf6f10879ad13
2021-09-28 20:44:52 +00:00
Zak Cohen a163c68ee2 Merge "Remove Content Push prototype." into sc-v2-dev am: c1359c448d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15922695

Change-Id: Iabf35f2eff5e2741851699e0a325f8c722cec2f7
2021-09-28 20:32:11 +00:00
Zak Cohen c1359c448d Merge "Remove Content Push prototype." into sc-v2-dev 2021-09-28 20:16:23 +00:00
TreeHugger Robot 0abaf45250 Merge "Moving activity tracker to Launcher process" into sc-v2-dev am: c77e3fde09 am: 93318f746f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15912383

Change-Id: I1cb8c49ab25dde0deb6417cac5ab582b9ba0d354
2021-09-27 20:47:26 +00:00
TreeHugger Robot 93318f746f Merge "Moving activity tracker to Launcher process" into sc-v2-dev am: c77e3fde09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15912383

Change-Id: I410e69625206328aa72765cea55d05c990d998ae
2021-09-27 20:32:37 +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 62077ca9ca Merge "Allowing having only SysUI views before pressHome()" into sc-v2-dev am: fcc51bd1fa am: 250509522e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15902027

Change-Id: Id325878f808ae900782a9e022e413190c76c4951
2021-09-24 18:43:50 +00:00
Vadim Tryshev 250509522e Merge "Allowing having only SysUI views before pressHome()" into sc-v2-dev am: fcc51bd1fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15902027

Change-Id: I904f418dd824c3cdf16a1f4616a5625c14f82ee0
2021-09-24 18:29:36 +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
Miranda Kephart 2aa6ab95bf Merge "Standardize screenshot naming scheme" 2021-09-24 17:16:51 +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
Miranda Kephart 11dce78022 Standardize screenshot naming scheme
Remove "global_" prefix across the screenshot code. Previously
names were mixed between "screenshot_" and "global_screenshot_"
which made finding files/elements confusing.

Bug: 191661294
Fix: 191661294
Test: manual -- no logic change, just renaming
Change-Id: I3ffbf1f84420105c711094e84a513e7189a12336
2021-09-23 16:15:47 -04:00