Commit Graph

1870 Commits

Author SHA1 Message Date
TreeHugger Robot 31df4aca76 Merge "Testing to see if waiting for resume will fix flaky tests." into sc-v2-dev am: 1c79327f6e am: 55bef3bdd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16214207

Change-Id: I8caedae65eff243061015e8076bb581c3aea2986
2021-11-09 00:33:31 +00:00
TreeHugger Robot 55bef3bdd4 Merge "Testing to see if waiting for resume will fix flaky tests." into sc-v2-dev am: 1c79327f6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16214207

Change-Id: I62876c198b063445041fa67bb75b3a9b90056762
2021-11-09 00:12:23 +00:00
Brian Isganitis 149dbcb137 Allow overriding getOptionsPopup test method.
Test: TAPL
Bug: 205491724
Change-Id: Ib4adfa85df6aa9e52922f76479487c9459535fcd
2021-11-08 18:17:36 -05:00
Jon Miranda b9f5602d96 Testing to see if waiting for resume will fix flaky tests.
Similar to how AbstractLauncherUITest waits for resume after
switching state to Normal.

Bug: 202735477
Test: presubmit
Change-Id: I61834d32f8005491a4e14a354dc0097b05267f7b
2021-11-08 11:58:10 -08:00
TreeHugger Robot 5d6396066a Merge "Add to tapl quickswitch test for testing intermediate carousel." into sc-v2-dev am: 3555ef3b31 am: 6bef61cb68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118650

Change-Id: Icc6cd0182ad47616042eb68bf8550e302df20856
2021-11-08 17:28:29 +00:00
TreeHugger Robot 8ce34e46fb Merge "Add to tapl quickswitch test for testing intermediate carousel." into sc-v2-dev am: 3555ef3b31
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118650

Change-Id: I8f216d791f5b39552591f34db06966921db9b7e7
2021-11-08 13:30:34 +00:00
TreeHugger Robot 3555ef3b31 Merge "Add to tapl quickswitch test for testing intermediate carousel." into sc-v2-dev 2021-11-08 13:15:44 +00:00
Pat Manning 04486f19bb Add to tapl quickswitch test for testing intermediate carousel.
Test: TaplTestsQuickstep.java
Fix: 197630182
Change-Id: I5f325995e22b76eee710154ca54a050eaf70b150
2021-11-08 11:32:56 +00:00
Jonathan Miranda bccc19ba7e Merge "Testing to see if waiting for transition to end will fix flaky tests" into sc-v2-dev am: 58763e47d6 am: 45c6ef8f8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200260

Change-Id: I13394c31ab097f58818d5d902389feda1eec425c
2021-11-05 23:24:11 +00:00
Jonathan Miranda 45c6ef8f8d Merge "Testing to see if waiting for transition to end will fix flaky tests" into sc-v2-dev am: 58763e47d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200260

Change-Id: Ied2373aac635bd248aa77a45e7a99713f63e0d52
2021-11-05 23:07:23 +00:00
Jonathan Miranda 58763e47d6 Merge "Testing to see if waiting for transition to end will fix flaky tests" into sc-v2-dev 2021-11-05 22:53:17 +00:00
TreeHugger Robot a0d76174a7 Merge "Allowing OOP tests to enable home screen rotation." into sc-v2-dev am: d25e0fb3c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16198841

Change-Id: I490863b4254784b501edbe34e4933243b270bfad
2021-11-05 20:17:21 +00:00
Jon Miranda a234a8ea85 Testing to see if waiting for transition to end will fix flaky tests
Test: presubmit
Bug: 202735477
Change-Id: Icf62003b9f422cf0e327365260c36f6d57b71aef
2021-11-05 12:31:15 -07:00
vadimt 41f99abeb5 Allowing OOP tests to enable home screen rotation.
Bug: 202567877
Test: local runs
Change-Id: Ifb711a3071a26e2d8e690e0378b6e74146ac722c
(cherry picked from commit 462fe7c007)
2021-11-05 18:19:01 +00:00
TreeHugger Robot 1c1c6f8202 Merge "Allowing OOP tests to enable home screen rotation." 2021-11-05 14:45:47 +00:00
TreeHugger Robot a66c0bfcfa Merge "Make Launcher activity restart on density change" into sc-v2-dev am: e641701c9f am: 67cace3558
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16183372

Change-Id: I735d497989d27c0907bbc193ca4342cc11cb647d
2021-11-05 12:12:54 +00:00
TreeHugger Robot 67cace3558 Merge "Make Launcher activity restart on density change" into sc-v2-dev am: e641701c9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16183372

Change-Id: I8e26c801c530d4f2851fe7d41cc58ed83ff5d51b
2021-11-05 12:02:23 +00:00
TreeHugger Robot e641701c9f Merge "Make Launcher activity restart on density change" into sc-v2-dev 2021-11-05 11:48:20 +00:00
Alex Chau b0f5e857c7 Merge "Testing to see if using isInStableState is better condition vs getCurrentStableState" into sc-v2-dev am: a917d24d2b am: eeef3b637a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184044

Change-Id: Iaa5d012ab76021d25607d54444db8d41dc578f8a
2021-11-04 18:28:44 +00:00
Alex Chau eeef3b637a Merge "Testing to see if using isInStableState is better condition vs getCurrentStableState" into sc-v2-dev am: a917d24d2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184044

Change-Id: I03c254acdfc75a256365cc220c6f41189033db65
2021-11-04 18:10:58 +00:00
Alex Chau a917d24d2b Merge "Testing to see if using isInStableState is better condition vs getCurrentStableState" into sc-v2-dev 2021-11-04 17:43:35 +00:00
Alex Chau 5a99f47edf Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev am: a8c19019c6 am: 2b2e9e701a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182791

Change-Id: Ib2f17869f636c379d846bc41f05e5a50e8b78f41
2021-11-04 14:58:26 +00:00
Alex Chau 2b2e9e701a Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev am: a8c19019c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182791

Change-Id: I84fcfaa55e1ca492e241fe6519e6470e0e90ee2c
2021-11-04 14:39:47 +00:00
Alex Chau 84fe75d72e Make Launcher activity restart on density change
- Launcher used to restart when density changes before http://ag/14234761, which added smallestScreenSize and density in configChange
- http://ag/14234761 aims to avoid restart when switching display in split dispalys, for which only size changes, therefore density is unnecessary in configChange
- Keeping density in configChange make Launcher acitvity to stay after changing display size, making all buttons stays in old size in previous denstiy, which is a bug

Bug: 204157738
Test: manual
Change-Id: Ib85326078c67c35d90dc5e9ae5c20eeb5286a610
2021-11-04 11:33:16 +00:00
Benno Lin d80ed19ba6 Disable Tapl pressBack and dragToFolder Tests
The tests break on R3 and S5 devices.
Therefore the CL disable them temporarily until the issue being
resolved.

Bug: 205027405
Bug: 205014516
Test: disable tests that break ATP tests on R3 and S5.
Change-Id: Ib71c2f334d98445aeafa211d9bba2910d191b6fb
2021-11-04 02:46:48 +00:00
vadimt 462fe7c007 Allowing OOP tests to enable home screen rotation.
Bug: 202567877
Test: local runs
Change-Id: Ifb711a3071a26e2d8e690e0378b6e74146ac722c
2021-11-03 18:39:01 -07:00
Jon Miranda f3fbc935cd Testing to see if using isInStableState is better condition vs getCurrentStableState
Test: presubmit
Bug: 202735477
Change-Id: I06c964cc92b7731e73628210688817e2d9cf1bac
2021-11-03 11:42:01 -07:00
Benno Lin 1d9d303185 Merge "Implement pressing back button and swiping back" into sc-v2-dev am: 97d749833c am: 1cfa05ad08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16013509

Change-Id: I087ff9a5482c88f9034b1c51227d73c2412c89c7
2021-11-03 06:32:51 +00:00
Benno Lin 1cfa05ad08 Merge "Implement pressing back button and swiping back" into sc-v2-dev am: 97d749833c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16013509

Change-Id: I4b60b6e1fa2c7a14d837ef74cd2d3f4c0f6f9f25
2021-11-03 06:20:17 +00:00
Benno Lin 413a663096 Merge "Update TAPL to operate on folder icons." into sc-v2-dev am: 8f083ccce3 am: 062300e0eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15757342

Change-Id: Ia3d6ef0cb11913fe4f81933be5a34cea1746f06e
2021-11-03 02:51:41 +00:00
Benno Lin 062300e0eb Merge "Update TAPL to operate on folder icons." into sc-v2-dev am: 8f083ccce3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15757342

Change-Id: I3ab0a08a826188a794b5d76ecbb13b0e07b2c496
2021-11-03 02:35:54 +00:00
Benno Lin 6c00386c2b Implement pressing back button and swiping back
This CL implements a pressBack function to press back button or swiping
back in gesture navigation mode.

Bug: 199120092
Test: atest -c Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testPressBack &&
    atest -c NexusLauncherTests:com.android.quickstep.TaplTestsQuickstep#testPressBack
Change-Id: I001cea17d09ae1ab7952d04ee394a2afa5bf1e67
2021-11-03 02:28:37 +00:00
Benno Lin 8f083ccce3 Merge "Update TAPL to operate on folder icons." into sc-v2-dev 2021-11-03 02:14:46 +00:00
Alex Chau ce5b0619a8 Merge "Adding screen record for a flake" into sc-v2-dev am: a8a51394f5 am: af89da83cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16167587

Change-Id: Ic7d181de4774e4cc9a9f70d95dd5eb8da9ffdf8e
2021-11-02 12:10:47 +00:00
Alex Chau af89da83cc Merge "Adding screen record for a flake" into sc-v2-dev am: a8a51394f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16167587

Change-Id: I89bf395a82611b19861c75cc80b13f3992aa233d
2021-11-02 11:49:57 +00:00
Jon Miranda da02250c29 Adding screen record for a flake
Test: presubmit
Bug: 202735477
Change-Id: I4e1d2bc3650e2f52767f57e9b00c9c2bf7974489
2021-11-01 14:25:35 -07:00
Hyunyoung Song a545ac4eca Merge "[Test] Introduce tracing to identify why pm create-user is failing" into sc-v2-dev am: f45ec6dc1d am: f3f49be082
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120082

Change-Id: I03acf0c3cfbc3801da83740b34178acbfbeb7d4b
2021-10-31 22:27:34 +00:00
Hyunyoung Song f3f49be082 Merge "[Test] Introduce tracing to identify why pm create-user is failing" into sc-v2-dev am: f45ec6dc1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120082

Change-Id: I368d9963c9bcd734b5fadc59f429cebe68ba8507
2021-10-31 22:16:00 +00:00
Hyunyoung Song f45ec6dc1d Merge "[Test] Introduce tracing to identify why pm create-user is failing" into sc-v2-dev 2021-10-31 21:59:09 +00:00
Alex Chau ec75b26c9d Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev am: 14c8f45b5e am: 552368ee5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118656

Change-Id: I737ee25cd9bbd56534af3ca4aee07b6662e7e5b4
2021-10-28 10:56:46 +00:00
Alex Chau 552368ee5f Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev am: 14c8f45b5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118656

Change-Id: I25f201e6fe4dd8dee8b66d0cca1b2f5c36622885
2021-10-28 10:45:08 +00:00
Alex Chau 14c8f45b5e Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev 2021-10-28 10:27:30 +00:00
Vadim Tryshev 12609edb72 Revert "Temporarily disable Launcher3 tests affected by fling changes"
This reverts commit bc4dc49c6c.

Reason for revert: RecyclerView bug is fixed

Change-Id: Ia2a677f3a3987751349bad951ff136b2d55f439f
Test: presubmit
Bug: 197802324
(cherry picked from commit 8b4a6ee65b)
2021-10-26 17:47:05 +00:00
Pat Manning 1b5975c205 Fix scroll task off screen to support different screen dimensions.
This will fix the breaks on cuttlefish as seen in b/203781041.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: I3b582a9df1790543c4e1521b45494fb462bb5c1c
2021-10-26 18:08:45 +01:00
sfufa@google.com 467d95cef3 [Test] Introduce tracing to identify why pm create-user is failing
Bug: 203817455
Test: presubmit
Change-Id: Iccfa152bea7a914292d566d6dd3e58eb73c38aa4
2021-10-25 18:56:49 -07:00
Benno Lin 5261776d3a Update TAPL to operate on folder icons.
The change updates features listed as follow:

1. Create a new class for folder icon.
2. Implement function to drag a icon to the other.
   (create a folder)
3. Find folders in a workspace.

Bug: 199120092
Test: Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testDragToFolder
Change-Id: I3044025f8297f6e442446d70238f4b56f38a798a
2021-10-25 11:08:44 +00:00
TreeHugger Robot 53d0921acf Merge "Fix bug with resize frame in Launcher3." into sc-v2-dev am: ea38519fa4 am: 6bfd14613b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16057107

Change-Id: I1c600ea73a6e37bb79794650efa003874703e757
2021-10-20 21:20:24 +00:00
TreeHugger Robot 6bfd14613b Merge "Fix bug with resize frame in Launcher3." into sc-v2-dev am: ea38519fa4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16057107

Change-Id: I2d289e8e726ed5f224071dfc43da0bbf13ec47bf
2021-10-20 21:05:04 +00:00
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