Tony Wickham
9b505e3148
Check for memory leaks after tests in FallbackRecentsTest
...
Test: e.g. goToOverviewFromApp()
Bug: 185806101
Change-Id: I6e618e850740afa69989f652321d4075d3cda13d
2021-05-03 16:46:16 -07:00
Winson Chung
8e64bba9cf
Add some logging for transposed mode in landscape
...
Bug: 185820525
Test: Presubmit
Change-Id: Id4cf605fd5c3277273025ac1a73f25add0608412
2021-04-20 20:38:04 +00:00
vadimt
12acb4559e
Partial cleanup after b/143488140
...
Apparently, failures in constructor don't have screenshots.
Test: presubmit
Bug: 177318681
Change-Id: I8d354658c01fd2f06fb559b0fe5506d0058688b4
2021-04-19 18:50:25 -07:00
TreeHugger Robot
7b054513b4
Merge "Revert "Fixing testOverview test"" into sc-dev
2021-04-09 19:37:48 +00:00
Vadim Tryshev
7f52f4090c
Revert "Fixing testOverview test"
...
This reverts commit 17ba630cd9
.
Reason for revert: For unknown reasons, the problem had fixed itself
Change-Id: Ifdf884a4ca0e3cd96d85da2725216fd34bfdcbe0
2021-04-07 21:07:56 +00:00
Tracy Zhou
9d706b1ada
Fix failed test in order to enable Live Tile (in the next change)
...
Live tile changes certain assumptions we have for tests, for example
- Launcher will not be in the resumed state after swiping up to Overview
Also, disable live tile for 3rd party launcher for now
Test: presubmit
Fixes: 169694902
Change-Id: Ifd466db0354f59290c4f66a0a2ad4c82f1169f29
2021-03-25 19:44:36 -07:00
vadimt
17ba630cd9
Fixing testOverview test
...
Apparently, we can't generally expect that flinging to and
fro will return Overview to the original task, especially
if the device performance is low.
Now starting the expected task explicitly.
Test: presubmit
Bug: 182794819
Change-Id: Ia2931f4f3005c46dd72990c247a90f9010b9b8d5
2021-03-17 14:41:04 -07:00
Winson Chung
0613af3587
Add some logging for failure to get recents
...
Bug: 177472267
Test: Presubmit
Change-Id: I64a01ef076a58bc3118840ff3171177f61edc3f5
2021-03-04 14:18:41 -08:00
Yogisha Dixit
741fae9ea2
Move widget files into widget folder + add tests.
...
I will use the newly created LauncherAppWidgetProviderInfoTest in a follow-up CL to add tests for the newly added widget sizing APIs.
Test: Automatic: Ran all robolectric tests in launcher3,
Manual: Added a widget, edited the widget, removed the widget
Bug: 179807199
Change-Id: I540b2dbe284c6eb5aa2466a1d13a9581ee59425b
2021-03-01 13:59:52 +00:00
Vadim Tryshev
e1ea6cf754
Merge "Waiting for the state of views to settle after orientation change" into sc-dev
2021-02-26 19:37:06 +00:00
vadimt
5f21f104f0
Waiting for the state of views to settle after orientation change
...
Presumably, we currently have flakes when immediately
after orientation change, we check for the presence of certain
views, and they are still not present.
Test: presubmit
Bug: 181057446
Change-Id: I6dbcb757a47c19728d4096283da6710f6dd5aa02
2021-02-25 18:50:49 -08:00
vadimt
a9740ecc8f
Switching overlays more correctly
...
Test: presubmit
Bug: 180114721
Change-Id: I0d8d0c70ef34ec941e28704d06f9df5f17782155
2021-02-16 23:22:36 +00:00
TreeHugger Robot
f56efc0187
Merge "Adding debug tracing for Device.wait"
2021-01-20 18:58:21 +00:00
Vadim Tryshev
9e86e3b89d
Merge "Removing automatic failure investigator"
2021-01-20 18:46:42 +00:00
vadimt
952471f675
Removing automatic failure investigator
...
It wasn't updated for a while,
creates a false impression that the failure
is already tracked, and hopefully soon
will be replaced by new clustering.
Test: presubmit
Bug: 161478674
Change-Id: Icc3716c1f534867d5e4b21d18c9cede273da8704
2021-01-19 15:14:03 -08:00
vadimt
ed86cb19bc
Adding debug tracing for Device.wait
...
I suspect it may wait for a period of time less than
the specified one, causing flakes.
Test: presubmit
Bug: 177318681
Change-Id: I0be8790c6ee9a5831767fe83c36054ed5a84f8d7
2021-01-15 13:58:03 -08:00
Sunny Goyal
d7f7f52dda
Waiting until the launcher change is propagater before test
...
Bug: 143488140
Test: Presubmit
Change-Id: Ie3f35a1e58b784d078a305814bd682beaae1f4cb
2021-01-13 13:56:56 -08:00
Sunny Goyal
9b1e77377b
Removing shelf from 2-button gesture mode
...
Test: Manual
Bug: 175137718
Change-Id: Ifb64b4dcac53252aefa8ee0bd6434f90f1d868b7
2021-01-05 19:07:21 +00:00
icechang
212cff1dec
Add swipes left method in Background.java
...
Bug: 153276032
Test: TF_GLOBAL_CONFIG=/google/src/cloud/<ldap>/<workspace>/google3/wireless/android/test_tools/forrest/configs/local-host-config.xml \
pts-tradefed run commandAndExit cuj/<testname> \
--primary-abi-only \
--log-level verbose --log-level-display verbose \
--wifi-network GoogleGuest
Test:
Change-Id: Ib1cbc609f47a547f173e8170f00af9e8bdfa77bb
2020-12-01 21:34:26 +08:00
Winson Chung
f99351888c
Revert "Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ...""
...
This reverts commit 087a9e39b6
.
Change-Id: I05b17a6e4aaaef6de3c2fa26aad45a39eb2833f9
2020-10-23 09:27:48 -07:00
Alistair Delva
087a9e39b6
Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ..."
...
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert submission 12738409-merge_ub-launcher3-master_6877130
Reason for revert: Introduced crashes to global presubmit
Reverted Changes:
I624658ce6:Merge commit '8d14dbe041199d611839140f1c9285fd4174...
Iccd2f1e3a:Merging from ub-launcher3-master @ build 6877130
I791d64951:Merging from ub-launcher3-master @ build 6877130
Icdd32ab01:Merging from ub-launcher3-master @ build 6877130
Bug: 169963211
Change-Id: I77a4ae59e823147beae8dd7cb9b54ccdace2c7f4
2020-10-05 14:46:26 +00:00
Matt Casey
49a94be109
Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' into merge_ub-launcher3-master_6877130
...
Change-Id: I624658ce682b55042a12faacd4cf0cfd5d3a9a56
2020-10-01 18:55:38 +00:00
Winson Chung
30cd4dca5f
Remove test restrictions
...
Bug: 150303529
Change-Id: I1cfbd2bfb26fc47ee0bfb54dd174cd59ae0bfc5e
2020-09-23 15:33:32 -07:00
Winson Chung
9d15815f84
Merge "Revert "Disabling testToast on virtual devices"" into ub-launcher3-master
2020-09-23 18:15:44 +00:00
Winson Chung
649122edc0
Revert "Disabling testToast on virtual devices"
...
This reverts commit f6385576d5
.
Reason for revert: Test
Change-Id: I9caec3b2d64995b31f3dbbf5cb2865f4e5941afe
2020-09-22 23:43:51 +00:00
Jon Miranda
9737454d9c
Merging from ub-launcher3-master @ build 6852432
...
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6852432.html
Change-Id: I91066d6c55e88355a10a61281ad0d9b38b43f166
2020-09-21 20:51:59 +00:00
vadimt
dd0b469a76
Experiment with closing all apps before overview actions test
...
Bug: 165029151
Change-Id: I1090b963ac1a12c96968014c69b8b26e1768be85
2020-09-18 14:31:25 -07:00
Mehdi Alizadeh
4595166bf5
Merging from ub-launcher3-master @ build 6767682
...
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6767682.html
Change-Id: I5e9c73a7ac3033fe82006c4bd72824f56b8988f8
2020-08-16 12:31:21 -07:00
Hyunyoung Song
bb71582658
Merge remote-tracking branch 'goog/ub-launcher3-master' into temp
...
Test: make builds
Change-Id: I4e845aa51c9247328159e5aa0d95d425bffa435c
2020-08-06 11:04:41 -07:00
Raman Tenneti
ab98166c36
AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance.
...
See https://source.android.com/setup/contribute/respectful-code for reference
BUG=161896447
Test: make and Presubmit verify.
Change-Id: I44e903046dd4cd9c7c07872fc56a8d552eb09522
2020-08-04 00:35:03 +00:00
TreeHugger Robot
707727b6ae
Merge "Creating UI tests for overview action buttons." into ub-launcher3-rvc-qpr-dev am: bf84725855
am: 8c10f6801f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12242419
Change-Id: I3cd8c26f5e774c5d54683c21006060d2d19fdf19
2020-07-31 21:54:17 +00:00
Sreyas
bf103f16b1
Creating UI tests for overview action buttons.
...
Change-Id: Ie6298064a068dc978ca33fb64e1856c3ba2a8cb1
2020-07-31 13:20:08 -07:00
Sunny Goyal
8b74cc761b
Moving all-apps predictions to Launcher model
...
Predictions are loaded and managed by Launcher model and follow
the model lifecycle. They are then bound to the callback which
handles the UI
Bug: 160748731
Change-Id: I4a3ea0698d80fafe94afb4ce66ffa7f4a6a91c68
2020-07-29 13:07:52 -07:00
vadimt
4bc691b988
Removing workarounds for a fixed bug
...
Bug: 148422894
Change-Id: Ic6faa173ac5f28c8656daf68ac8304563264afdd
2020-07-13 20:02:13 -07:00
Hyunyoung Song
0b51b916b0
Merging from ub-launcher3-rvc-dev @ build 6617269
...
Bug: 150504032
Test: manual, presubmit on the source branch
https: //android-launcher.teams.x20web.corp.google.com/merge/ub-launcher3-rvc-dev_master_6617269.html
Change-Id: I2a168bfa8e3979ade26ab1d3cddbbae84cf79590
2020-06-22 18:53:39 -07:00
vadimt
8914c51660
Workaround for activity manager crashing when trying to start an app
...
It flakes when one of the tests starts calculator while there zero
activities in the system.
Bug: 143488140
Change-Id: Id9d350f0de8a83eb50e35e9efa4226b8d45ca641
2020-06-20 01:12:50 +00:00
vadimt
d8e5660b13
Fixing broken tests on 2 and 3 button devices.
...
Bug: 143488140
Change-Id: I30886da129825b800984baa08742ac4dfcf4a599
2020-06-17 10:19:51 -07:00
TreeHugger Robot
9354de6c91
Merge "Attempt to workaround a leak on Taimen" into ub-launcher3-rvc-dev
2020-06-16 20:58:39 +00:00
Miranda Kephart
efdc4e2318
Merging from ub-launcher3-rvc-dev @ build 6595814
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6595814.html
Change-Id: I4be85d0e52cc3cb8801012a7313a269851680c8b
2020-06-16 20:52:28 +00:00
vadimt
6a3de331af
Attempt to workaround a leak on Taimen
...
It's a flake.
It was likely caused by enabling fallback tests, and we don't know
what's leaked and why.
Bug: 143488140
Change-Id: I0d0c88ac9b0de316861f16ba023a596c1f39cde4
2020-06-16 20:21:49 +00:00
vadimt
f6a179d3ae
Remove a comment that a line of code is a workaround
...
Bug: 157099707
Change-Id: I417df10735438caf6fd7fd5833817b5c43a1e856
2020-06-15 10:19:15 -07:00
vadimt
01bb8125b0
Enable FallbackRecentsTest
...
With some temporary workarounds.
Bug: 143488140
Change-Id: Id1ed2d06fd3265a6aa7f98d2900733f580359944
2020-06-12 15:12:37 -07:00
Pinyao Ting
8020bf2f4b
Merging from ub-launcher3-rvc-dev @ build 6577335
...
Bug: 150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_6577335.html
Change-Id: Ie1f44dd646088759fef66251fe9e5f584b804d73
2020-06-10 21:54:11 +00:00
vadimt
454de304d0
Workaround for an activity leak
...
We were told that showing NexusLauncherActivity should suppress the
leak.
Bug: 157099707
Change-Id: I9988ac4a20609e5b25ddc4a90bedf891d45e69da
2020-06-08 15:16:15 -07:00
Adam Cohen
e557bac0a1
Merging from ub-launcher3-rvc-dev @ build 6552182
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6552182.html
Change-Id: I795aafd151c6ce53077e1aebb97567eedd84f274
Merged-In: I795aafd151c6ce53077e1aebb97567eedd84f274
2020-06-03 20:28:44 +00:00
Sunny Goyal
b396864072
Fixing loadTasksInBackground called twice on swipe up
...
Bug: 157644889
Change-Id: Ia4413ea878f8ba731fbb7a8f61b7c0c0050f3811
2020-06-01 15:12:32 -07:00
Winson Chung
6e0d05fc41
Merging from ub-launcher3-rvc-dev @ build 6492476
...
Bug: 150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6492476.html
Change-Id: I96b36965f7b471eb77aa78a8b923ed9298e8a02f
2020-05-13 23:22:18 +00:00
Vinit Nayak
b9522d334a
Infer launcher rotation when initializing RecentsOrientedState
...
fixes: 154776599
Change-Id: I9b95f7f96836a974be0fd1236547efb4b405fda5
2020-05-11 11:23:49 -07:00
Vinit Nayak
77762fdf4f
Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev
2020-05-08 20:41:16 +00:00
Vinit Nayak
1be8a17986
Revert "Disabling flaky test until fix is found"
...
This reverts commit fdaa12d028
.
Reason for revert: Should be fixed with ag/11252279
Bug: 150958400
Change-Id: Ia61462239ad5d8aba502bc8513d685046c1a1361
2020-05-08 20:41:01 +00:00