Winson Chung
c062580b5a
Wait for the task to be in recents before validation
...
- There are two issues:
1) Currently the system does not add the task to the task list until
the activity starting the task has been resumed (to be fixed in a
follow up platform CL). When the three activities are started in
sequence, it's possible for one of the activities to not reach the
resumed state leading to an unexpected number of recent tasks the
next time it's fetched.
2) When swiping up, it may take time for getTasks to return and call
applyLoadPlan, so try and wait until the task views have had a
chance to be applied before continuing.
3) Use the launcher activity tracker instead of activity rule since it
will return the same activity even after the activity is destroyed
- Move the margin handling to the caller instead of the scroll method
Bug: 141580748
Change-Id: I2b7634f5ac6869ba4b369b3bd60e0f63747c0f0b
2019-10-11 17:10:38 -07:00
Winson Chung
c039634c25
Workaround for failing test & fix scrolling in tests
...
- Workaround issue where instrumentation will fail to finish an activity
causing the activity to linger longer than expected (leading to issues
with ordering of static resources like the app widget host registration)
- Fix calculation for scrolling the screen, the previous calculation
would result in the gesture starting at the left gesture margin due
to rounding which can trigger a back action instead of the desired
scroll
Bug: 142351228
Change-Id: I34bdb471030518d2b983cac2badd4d8b0e7d571b
2019-10-10 17:31:38 -07:00
vadimt
4b5c1ef71b
Adding support for intentionally leaking views.
...
Bug: 139137636
Change-Id: I923d1781daee9ae47eb306ee8fa3c44790c6993f
2019-10-08 17:04:26 +00:00
TreeHugger Robot
86017c9611
Merge "Removing access to LauncherModel.getCallbacks" into ub-launcher3-master
2019-10-08 16:26:12 +00:00
Vadim Tryshev
7949c5a7e4
Merge "Diagnosing anomalies prior to swiping up to Home" into ub-launcher3-qt-qpr1-dev am: c3a4819b8c
...
am: af754b9a9a
Change-Id: I9a65f1c85623f801adbd380c85a039b5c55526bf
2019-10-03 18:18:33 -07:00
Vadim Tryshev
af754b9a9a
Merge "Diagnosing anomalies prior to swiping up to Home" into ub-launcher3-qt-qpr1-dev
...
am: c3a4819b8c
Change-Id: Ifc6a781cea4dc38b58435314b8760e89b327446a
2019-10-03 18:11:32 -07:00
Vadim Tryshev
c3a4819b8c
Merge "Diagnosing anomalies prior to swiping up to Home" into ub-launcher3-qt-qpr1-dev
2019-10-04 00:48:34 +00:00
vadimt
f4255c6c1b
Dump view hierarchy before swiping to home am: 233afe98e9
...
am: 3878d3ef09
Change-Id: Ief39f3c713dd94b93b6dfa2f1e0732c810ba5d3a
2019-10-03 17:41:35 -07:00
vadimt
3878d3ef09
Dump view hierarchy before swiping to home
...
am: 233afe98e9
Change-Id: Ib67aa2247ae43f4e875deb07a9d8b53aa5e6f181
2019-10-03 17:35:28 -07:00
vadimt
43c3d2d40a
Diagnosing anomalies prior to swiping up to Home
...
Bug: 141864547
Change-Id: I5f3814c6a90df85136484813ca4ee684da101016
2019-10-03 17:09:16 -07:00
Vadim Tryshev
35d9ac924c
Merge "Logging the initial state for swiping up to home" into ub-launcher3-qt-qpr1-dev am: c49ec38140
...
am: f078975e9d
Change-Id: I7cff417f917643adb1835eb4b7ccad0e75cb22ce
2019-10-03 14:40:14 -07:00
Vadim Tryshev
aef50a5985
Merge "Waiting until context menu goes away after attempting to close it." into ub-launcher3-qt-qpr1-dev am: 7c09214298
...
am: 12de08a3b1
Change-Id: I34cf6e29d2ed39efabca6d43eaccf62763e67693
2019-10-03 14:39:58 -07:00
Vadim Tryshev
f078975e9d
Merge "Logging the initial state for swiping up to home" into ub-launcher3-qt-qpr1-dev
...
am: c49ec38140
Change-Id: If74c630902a212270bae1a58b2085d8a30d2343f
2019-10-03 14:33:31 -07:00
Vadim Tryshev
12de08a3b1
Merge "Waiting until context menu goes away after attempting to close it." into ub-launcher3-qt-qpr1-dev
...
am: 7c09214298
Change-Id: If209a43004a41ca682473232789810a4d1828521
2019-10-03 14:33:04 -07:00
vadimt
233afe98e9
Dump view hierarchy before swiping to home
...
Bug: 141864547
Change-Id: Ifd444c4516f7f27b0dc19c0faa1d4c8716d2254a
2019-10-02 17:10:02 -07:00
Sunny Goyal
b0adac23e0
Removing access to LauncherModel.getCallbacks
...
Bug: 137568159
Change-Id: Ic074dec6a8981a4b9aabf028cf3b878b532abb11
2019-10-02 14:27:40 -07:00
Vadim Tryshev
c49ec38140
Merge "Logging the initial state for swiping up to home" into ub-launcher3-qt-qpr1-dev
2019-10-02 17:43:00 +00:00
vadimt
7458d4aa4a
Logging the initial state for swiping up to home
...
Change-Id: Iff2003f7e6dfe4072613b775722166dc5fec9e02
2019-10-01 18:40:24 -07:00
vadimt
8ecf1b3dd3
Waiting until context menu goes away after attempting to close it.
...
Bug: 141770616
Change-Id: I528072e830627d825906ce7c1e3dbb914e2c814e
2019-10-01 18:28:46 -07:00
Pinyao Ting
d843673434
Merge "removed extra test protocol for unit test" into ub-launcher3-qt-future-dev
...
am: d8aef47393
Change-Id: I0d69c2ec0e3d693d4556314fd1b74dabd0a8cbd2
2019-09-30 13:54:36 -07:00
TreeHugger Robot
d8aef47393
Merge "removed extra test protocol for unit test" into ub-launcher3-qt-future-dev
2019-09-30 20:46:15 +00:00
vadimt
38763eca5d
fixingtypo am: 5d58d25ea3
...
am: 5500f3513e
Change-Id: Ie5e6f944167552c13de1320fdd161067b93a3e01
2019-09-30 13:26:32 -07:00
vadimt
5500f3513e
fixingtypo
...
am: 5d58d25ea3
Change-Id: I7785e6162a79743b2a8c3f6851ade7bea31c1058
2019-09-30 13:19:32 -07:00
vadimt
5d58d25ea3
fixingtypo
...
Change-Id: I0d9d9f3f712fc90e82e7660c14ea31779648614a
2019-09-30 12:22:01 -07:00
Pinyao Ting
ea38c25854
removed extra test protocol for unit test
...
Bug: 140406263
Test: run TaplTestsLauncher3
Change-Id: I73b3098bd3aa92fed41d22a94cb58fd07263d26a
2019-09-30 18:34:49 +00:00
Vadim Tryshev
cc4a9725a9
Merge "Removing a too noisy dropbox diag" into ub-launcher3-qt-qpr1-dev am: 7cb5b73dfb
...
am: 75b713c71e
Change-Id: Ibd07e3d018145a2717f6e29600b8edef32045368
2019-09-27 16:27:51 -07:00
Vadim Tryshev
75b713c71e
Merge "Removing a too noisy dropbox diag" into ub-launcher3-qt-qpr1-dev
...
am: 7cb5b73dfb
Change-Id: Iae6af5771238f8b6c13714e1e43b7a21ad38acee
2019-09-27 16:21:21 -07:00
Vadim Tryshev
7cb5b73dfb
Merge "Removing a too noisy dropbox diag" into ub-launcher3-qt-qpr1-dev
2019-09-27 23:11:36 +00:00
vadimt
41390b8eea
Removing a too noisy dropbox diag
...
Change-Id: Ia4dee0b3f20533754b24a91a4a8d2a837bb8e60f
2019-09-27 14:24:46 -07:00
Vadim Tryshev
6254e5e246
Merge "Deprecating LauncherInstrumentation constructor with parameter" into ub-launcher3-qt-qpr1-dev am: dd079691c1
...
am: 1430f132f3
Change-Id: If494e30957893c4e3414ebdbd274601d16a66a98
2019-09-27 13:28:18 -07:00
Vadim Tryshev
1430f132f3
Merge "Deprecating LauncherInstrumentation constructor with parameter" into ub-launcher3-qt-qpr1-dev
...
am: dd079691c1
Change-Id: I7419be6416f26274bf03abfd84eedef20fd6f084
2019-09-27 13:21:46 -07:00
Vadim Tryshev
dd079691c1
Merge "Deprecating LauncherInstrumentation constructor with parameter" into ub-launcher3-qt-qpr1-dev
2019-09-27 19:57:00 +00:00
vadimt
2611d79f69
Deprecating LauncherInstrumentation constructor with parameter
...
Change-Id: I779b4a8fde2db73cced8133f12d1356ad0b8729e
2019-09-27 12:00:09 -07:00
vadimt
8bb74d4214
Removing a 'percent' parameter for scroll am: 83b03b08de
...
am: 79e9d0adba
Change-Id: I0b882af2be3eb961684b90385c954922151d9a20
2019-09-26 18:47:07 -07:00
vadimt
79e9d0adba
Removing a 'percent' parameter for scroll
...
am: 83b03b08de
Change-Id: I7d082d145f211f984982d73fb3a81b8fde21fd19
2019-09-26 18:40:59 -07:00
vadimt
aaa5fcf4da
Removing magic constant 0.8f from AllApps
...
am: 7028b10c54
Change-Id: Ifb5c044f0297f2944efd348b6dff97e02ddbfb91
2019-09-26 17:57:31 -07:00
vadimt
83b03b08de
Removing a 'percent' parameter for scroll
...
It's an invitation to use magic constants.
Bug: 123904290
Change-Id: I485abbbb868c41949dddd6e2c4cf363cc44a5ccd
2019-09-26 17:52:32 -07:00
vadimt
7028b10c54
Removing magic constant 0.8f from AllApps
...
Bug: 123904290
Change-Id: I52aeb3c0452175ba37b2524d632e8069ba0911c9
Merged-in: I91ff4d4f962eefea787989362c32d987f546e84d
2019-09-26 23:54:30 +00:00
vadimt
22c4b3c91d
Removing magic constant 0.8f from AllApps
...
Bug: 123904290
Change-Id: I91ff4d4f962eefea787989362c32d987f546e84d
2019-09-26 16:35:24 -07:00
Vadim Tryshev
880d233bb4
Merge "Removing magic constants from TAPL/Widgets" into ub-launcher3-qt-qpr1-dev am: 77f045b607
...
am: 12db478e46
Change-Id: I1e4329b456819e02b072595a192e64b964ed1329
2019-09-26 14:47:11 -07:00
Vadim Tryshev
12db478e46
Merge "Removing magic constants from TAPL/Widgets" into ub-launcher3-qt-qpr1-dev
...
am: 77f045b607
Change-Id: I8ea519aca0ef3830f506c91c2086e1eb31b4b6f2
2019-09-26 14:40:40 -07:00
Vadim Tryshev
77f045b607
Merge "Removing magic constants from TAPL/Widgets" into ub-launcher3-qt-qpr1-dev
2019-09-26 21:15:00 +00:00
vadimt
aca7e6da5b
Removing magic constants from TAPL/Widgets
...
Bug: 123904290
Change-Id: I8abc6cde6be8a51b38782f5c94749fe0c33384c1
2019-09-26 13:45:42 -07:00
vadimt
fac899b489
Avoiding swiping down from the from the extended touchable region around the notch in Widgets am: 46f3999fb3
...
am: 7601d12a91
Change-Id: Iaef68417c256cef8a73e9b7ac47df78f17dec02a
2019-09-26 13:27:38 -07:00
vadimt
7601d12a91
Avoiding swiping down from the from the extended touchable region around the notch in Widgets
...
am: 46f3999fb3
Change-Id: I59ad5cd711326caa64deb819083a77174338ef71
2019-09-26 13:22:10 -07:00
vadimt
46f3999fb3
Avoiding swiping down from the from the extended touchable region around the notch in Widgets
...
Bug: 141697444
Change-Id: I8edd6a05e34c8a7e91dab1757938d40efffb766f
2019-09-26 19:43:05 +00:00
Vadim Tryshev
4357da3cf3
Merge "Reducing usage of magic constants in TAPL's widgets (fling back)" into ub-launcher3-qt-qpr1-dev am: 8a2cb67d07
...
am: 79a4c590c5
Change-Id: I5d37faa3ff2a19db924329c9eb09b4493897fbd8
2019-09-25 21:30:20 -07:00
Vadim Tryshev
c64c4d95c8
Merge "Reducing usage of magic constants in TAPL's widgets" into ub-launcher3-qt-qpr1-dev am: 92e3cec417
...
am: 137e3c28b0
Change-Id: I4a8e7b462704c906bbcc3a841821fee82e90fc90
2019-09-25 21:30:02 -07:00
Vadim Tryshev
79a4c590c5
Merge "Reducing usage of magic constants in TAPL's widgets (fling back)" into ub-launcher3-qt-qpr1-dev
...
am: 8a2cb67d07
Change-Id: Ib3a8cd665238acdc03f45be5326399a526d52e39
2019-09-25 21:19:15 -07:00
Vadim Tryshev
137e3c28b0
Merge "Reducing usage of magic constants in TAPL's widgets" into ub-launcher3-qt-qpr1-dev
...
am: 92e3cec417
Change-Id: Iac12e2303e000791687ae56187b9988e50796245
2019-09-25 21:18:58 -07:00