vadimt
aad54ab686
Using grantRuntimePermission()
...
"pm grant" is considered obsolete
Bug: 145686584
Change-Id: Ieeec76b2fdb666f89957a0a3039956bd69e9f315
2020-01-08 12:01:34 -08:00
TreeHugger Robot and Android (Google) Code Review
3748443bfc
Merge "Delete code that became dead after moving tests to robolectric" into ub-launcher3-master
2020-01-08 19:27:53 +00:00
TreeHugger Robot and Android (Google) Code Review
2e0b8e39c7
Merge "Revert "include integration test for open settings menu from workspace"" into ub-launcher3-master
2020-01-08 18:46:01 +00:00
TreeHugger Robot and Android (Google) Code Review
d6eed66f86
Merge "Not crash when UI objects disappear during visible objects verification" into ub-launcher3-master
2020-01-08 15:27:02 +00:00
vadimt
b856e48594
Not crash when UI objects disappear during visible objects verification
...
Bug: 146785144
Change-Id: I5ccac4871c683413c27753774adc432e5e654e27
2020-01-07 17:45:32 -08:00
Pinyao Ting
cd1cc0efc1
Revert "include integration test for open settings menu from workspace"
...
This reverts commit e94baee999 .
Reason for revert: Test failing
Change-Id: Icb5d27488618a9b70b83d7ab582082c396578700
2020-01-08 01:15:29 +00:00
vadimt
b5087c45aa
Delete code that became dead after moving tests to robolectric
...
Change-Id: I454ba9d4c8d04aae192523322a2ee8c505da5ed5
2020-01-07 12:23:57 -08:00
vadimt
2c4e3187e7
TAPL: Tracing only changed part of the context for diags
...
Printing the whole context stack has proven to be harder to decipher.
Change-Id: Ic11981884491fc96b939f4736ec974a1640c0304
2020-01-07 11:16:54 -08:00
TreeHugger Robot and Android (Google) Code Review
108cc51e03
Merge "include integration test for open settings menu from workspace" into ub-launcher3-master
2020-01-06 23:22:45 +00:00
Sunny Goyal and Android (Google) Code Review
0fd48b51ba
Merge "Updating Robolectric tests" into ub-launcher3-master
2020-01-06 20:12:16 +00:00
TreeHugger Robot and Android (Google) Code Review
59104388eb
Merge "Temporary workaround for long failure messages when running from AS" into ub-launcher3-master
2020-01-06 20:10:40 +00:00
Sunny Goyal
9ae9b60043
Updating Robolectric tests
...
> Adding multi-thread support
> Simulating actual loader loading flow
> Moving some android tests to robolectic
Change-Id: Ie17a448f20e8a4b1f18ecc33d22054bbf9e18729
2020-01-06 11:05:42 -08:00
Dan Willemsen and Hyunyoung Song
26b0938f09
Fix Launcher3Tests SDK version
...
In a879f9c481 , the ub-launcher-aosp-tapl
was switched from current to system_current. Since Launcher3Tests links
against this library, we require it to use the system stubs as well.
But I broke the check in the build system while doing some cleanup, so
we never noticed. I'm fixing the check in:
https://android-review.googlesource.com/c/platform/build/+/1156840
Bug: 143748700
Test: treehugger
Change-Id: Ifcf47b19f7ed8f907e437325b4fd6a599fcca4cf
(cherry picked from commit 981ec8b789 )
2019-12-26 22:18:32 +00:00
Tracy Zhou and Android (Google) Code Review
a0c76ea65e
Merge "Merging from ub-launcher3-master @ build 6094789"
2019-12-26 21:36:57 +00:00
TreeHugger Robot and Android (Google) Code Review
910b378d81
Merge "Fix Launcher3Tests SDK version"
2019-12-26 21:18:35 +00:00
Tracy Zhou
b8e78bf4e6
Merging from ub-launcher3-master @ build 6094789
...
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6094789.html
Change-Id: Iebd789eadfae2930807cc28373c2e1765f70e481
2019-12-23 12:24:35 -08:00
vadimt
a8523300da
Temporary workaround for long failure messages when running from AS
...
AS installs tests in such a way that they don't get necessary
permissions; the result is a long message starting with "Failed to get
system health diags" when a test fails.
While I'm looking for a good solution, removing this annoyance.
Change-Id: I9e439c3aefb9dd365c841c98d530b9346d7ccd10
2019-12-20 19:15:20 -08:00
Pinyao Ting
e94baee999
include integration test for open settings menu from workspace
...
Bug: 146432215
Change-Id: I2d42984dd77506385230744361ae74944cc9b3bd
2019-12-20 15:37:36 -08:00
vadimt
97d7b9024d
Fixing typo
...
Change-Id: Ifba10c3d804f6c009b9ce40732c08ea17ee7b559
2019-12-17 14:58:10 -08:00
TreeHugger Robot and Android (Google) Code Review
45657afdde
Merge "Adding diagnostics for failing click-to-home" into ub-launcher3-master
2019-12-16 22:49:21 +00:00
TreeHugger Robot and Android (Google) Code Review
c9a907bec1
Merge "Removing temporary workarounds to make tests pass on Cuttlefish" into ub-launcher3-master
2019-12-16 22:37:09 +00:00
TreeHugger Robot and Android (Google) Code Review
0f58b63445
Merge "Diagnosing visible windows' packages for Background mode" into ub-launcher3-master
2019-12-16 22:36:48 +00:00
TreeHugger Robot and Android (Google) Code Review
7d8901689c
Merge "Improving navigation mode switch rule and around" into ub-launcher3-master
2019-12-16 22:36:42 +00:00
vadimt
44e697b0a3
Adding diagnostics for failing click-to-home
...
Bug: 133010698
Change-Id: Id887543f65812bb5607043a1cfcb2e95cf97ccb5
2019-12-16 13:38:27 -08:00
Winson Chung
54334661e4
Merging from ub-launcher3-master @ build 6075050
...
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6075050.html
Change-Id: Iefe48be1562428d98ebf08c5f68a01856dbefad2
2019-12-15 21:57:02 -08:00
Vadim Tryshev and Android (Google) Code Review
f4b5bcac43
Merge "Starting swipe-to-all-apps outside of areas triggering long-press" into ub-launcher3-master
2019-12-13 18:50:22 +00:00
vadimt
08eca2fa2e
Removing temporary workarounds to make tests pass on Cuttlefish
...
Bug: 136278866
Change-Id: Ie537a578bb871921c0cbea1f197261e703de98f5
2019-12-12 18:15:48 -08:00
vadimt
03cd58e575
Diagnosing visible windows' packages for Background mode
...
Change-Id: I3caeef4cd890500585f033024b1b6c3521b9e39d
2019-12-12 18:07:42 -08:00
vadimt
a45ee97074
Recycling accessibility event as the docs require
...
Change-Id: I94a2ea7ab93690d0216110b5f77f0116177788a7
2019-12-12 17:43:38 -08:00
vadimt
f0c80528ab
Starting swipe-to-all-apps outside of areas triggering long-press
...
I suspect that some tests using TAPL run under pressure (mem or CPU,
created either intentionally or as a result of a leak somewhere)
where test process may generate a pause between DOWN and MOVE events
enough to be recognized as a long tap, which opens a context menu
instead of swiping.
While the clean solution is b/140252325, this is a workaround.
Bug: 144853809
Change-Id: I135eaee608270b7e60bb072cb360632763cbe5c5
2019-12-12 16:27:25 -08:00
vadimt
2eb48498b4
Improving navigation mode switch rule and around
...
Logging assertion failures.
Modifying waits for condition to avoid timing out the whole test if the
iteration takes too long in favor of failing with an actionable diag.
Bug: 145985438
Change-Id: Ie32d93e1548ce6ec64c38449eb1be1287ff9cf56
2019-12-12 15:10:52 -08:00
vadimt
526c630500
Simplify diagnosing of the context menu being present when not expected
...
Change-Id: I3550a724665f908ef70570e2e151c53fc7fa1844
2019-12-11 18:09:39 -08:00
TreeHugger Robot and Android (Google) Code Review
98833d525c
Merge "Updating some non-final static objects" into ub-launcher3-master
2019-12-11 22:07:53 +00:00
TreeHugger Robot and Android (Google) Code Review
7d2f42d97a
Merge "Moving logging Launcher and platform versions before matching" into ub-launcher3-master
2019-12-11 21:30:35 +00:00
Sunny Goyal
73b5a27b14
Updating some non-final static objects
...
Updating various static objects to use a standard pattern so that
it is easier to track and cleanup those objects
Bug: 141376165
Change-Id: Ia539cbfa338d544dddad771c5027b6748762768b
2019-12-11 13:22:58 -08:00
TreeHugger Robot and Android (Google) Code Review
4f37a5e268
Merge "Removing static instances of UserManagerCompat and AppWidgetManager" into ub-launcher3-master
2019-12-11 18:41:04 +00:00
Sunny Goyal
337c81f664
Removing static instances of UserManagerCompat and AppWidgetManager
...
> Changing the lifecycle to follow other static objects in Launcher
> Removing compat interface and inlining everything to helpers
Bug: 141376165
Change-Id: I82bd5db1969101de9a7eac77f32728d70195bb35
2019-12-11 10:03:19 -08:00
vadimt
61e285245e
Moving logging Launcher and platform versions before matching
...
I suspect that sometimes APIs return versions that are different from
ones in the bugreport. We want to see them before possible non-match
failures.
Bug: 145935261
Change-Id: Ia1a9208de111368245eac9147ae4a189db823105
2019-12-09 18:15:33 -08:00
vadimt
bdaa179b92
Consistently checking state change messages
...
Checking for events whenever Launcher sends them.
Checking for correct events (final events, not for events from
intermediate state changes).
This should simplify diagnosing of bugs involving TAPL.
This is also supposed to fix Fallback overview tests.
Bug: 143488140
Change-Id: If053ed808ec71bf2b652ab680be5bdfe9ff8cbb9
2019-12-09 12:33:39 -08:00
Sunny Goyal
4b5b0eb60d
Moving some tests to robolectric
...
> Adding support for simulating model load
Bug: 130562632
Change-Id: I1de8c0abe2e74d4e7e47e18914316c339920609a
2019-12-09 11:17:12 -08:00
Tony Wickham
8a50a6d858
Send home intent after reaching 3P launcher on swipe up
...
Also keep the 3P launcher's alpha at 0 during the gesture, and
don't send the home intent if user touches during the transition.
Bug: 139682945
Change-Id: Ie758f0b337bb173b34f5585ec1915b7ea1145094
2019-12-05 14:40:13 -08:00
Hyunyoung Song
e2fe62eea8
Merging from ub-launcher3-master @ build 6048063
...
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6048063.html
Change-Id: Ieee38cc301364f96cf252b2387142b0aa1b75317
2019-12-04 00:42:32 -08:00
TreeHugger Robot and Android (Google) Code Review
0868d999f1
Merge "Improving error messages when swiping up to home" into ub-launcher3-master
2019-11-22 18:40:56 +00:00
vadimt
7d6e7add97
Improving error messages when swiping up to home
...
Change-Id: I7c230d657eacb7a386a906e1f5470a15e1fe5868
2019-11-21 19:12:19 -08:00
TreeHugger Robot and Android (Google) Code Review
9ccea3961c
Merge "Accelerating dragging to workspace by using pause at the end of the gesture" into ub-launcher3-master
2019-11-21 22:30:04 +00:00
thiruram
5e1ecf6d73
Adds proto-lite libraries to Launcher3 make files.
...
Change-Id: Icb2f8fcdb4d5344de835f4702fc01ec80d4a3b84
2019-11-20 21:49:44 +00:00
Hyunyoung Song
73b84ce47f
Merging from ub-launcher3-master @ build 6018909
...
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6018909.html
Change-Id: I8a1e20d0b175f03a1a05c81749f07ab5314e872a
2019-11-19 17:12:13 -08:00
vadimt
83b7a6d8bf
Accelerating dragging to workspace by using pause at the end of the
...
gesture
Change-Id: Ib14b9519e23aa34156dab9eff75cd2609ad57e14
2019-11-19 15:00:29 -08:00
TreeHugger Robot and Android (Google) Code Review
10bf76941f
Merge "Making the default launcher rule outer for the Portrait-Landscape one" into ub-launcher3-master
2019-11-19 22:51:54 +00:00
vadimt
4d627f09c0
Staring swipe-to-all-apps gesture from above bottom gesture area
...
Bug: 139682945
Change-Id: I2fe8929c1dea8448c23394afd6f9d711b73f2562
2019-11-19 21:48:55 +00:00