Tony Wickham
d844fe758c
Remove ENABLE_OVERVIEW_ACTIONS flag, defaulting to true
...
We no longer support the "peeking" model where the shelf would
peek on motion pause from an app and overview would peek on motion
pause from home. Thus, removed/inlined the following:
- FlingAndHoldTouchController (merged into its sole subclass
NoButtonNavbarToOverviewTouchController)
- ShelfPeekAnim
- OverviewPeekState
Change-Id: I066a3ad2636fde4786089c922b896bf1e03361fd
2020-08-14 15:58:29 -07:00
Adam Bookatz
2104d72b28
LauncherInstrumentation enables even when non-system user
...
Attempting to run a tapl test while the device is in a secondary user
currently fails because the test app doesn't get enabled for
this secondary user. We fix that (at least one issue with it) in this cl.
Test: make PlatformScenarioTests; adb root && adb install -r -g ${ANDROID_PRODUCT_OUT}/testcases/PlatformScenarioTests/$(get_build_var TARGET_ARCH)/PlatformScenarioTests.apk
adb shell am instrument -w -r -e class android.platform.test.scenario.chrome.OpenApp android.platform.test.scenario/androidx.test.runner.AndroidJUnitRunner
(Do this while the current user is SYSTEM as well as Guest)
Bug: 162454040
Change-Id: If6d8e545b41eb20e3fed2935c39069ce97d8b6cd
2020-08-07 22:51:38 +00: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
vadimt
e873a171f7
Expecting TYPE_WINDOW_STATE_CHANGED in quick switch
...
Bug: 142654442
Change-Id: I48c8d929952872e444d1a3f7a40721d8edcd8942
2020-07-30 15:08:34 -07:00
TreeHugger Robot
87ec5d5555
Merge "Misc test improvements" into ub-launcher3-master
2020-07-28 15:32:51 +00:00
TreeHugger Robot
f737f00d89
Merge "Productizing useful diags" into ub-launcher3-master
2020-07-28 02:21:46 +00:00
vadimt
00ad8ee720
Introducing a new gesture scope
...
Gesture may occur outside of Launcher and not trigger system gesture recognition
by TIS.
Change-Id: Ibbb0180d6ef3856ab652164e6f3c1c86488a4caa
(cherry picked from commit a37ecee104 )
2020-07-27 20:56:12 +00:00
vadimt
f8ceabbcc1
Misc test improvements
...
Ignoring state events from NexusLauncher in Launcher3 tests.
Improving diags for failed app launch.
Change-Id: I3ffb49c598edef7b6698b48ba7b63e6163ef25b4
2020-07-24 17:59:50 -07:00
TreeHugger Robot
44b72984e6
Merge "Removing diags for a fixed flake" into ub-launcher3-master
2020-07-20 20:27:09 +00:00
TreeHugger Robot
0abeb31ca3
Merge "Introducing a new gesture scope" into ub-launcher3-master
2020-07-20 19:50:19 +00:00
vadimt
665232be61
Removing diags for a fixed flake
...
Bug: 160238801
Change-Id: Ia166eb1f154ddeeb70da5a141c9e985a265ba49a
2020-07-20 12:24:50 -07:00
TreeHugger Robot
d8181f4dd3
Merge "Removing workarounds for a fixed bug" into ub-launcher3-master
2020-07-18 19:38:56 +00:00
vadimt
a37ecee104
Introducing a new gesture scope
...
Gesture may occur outside of Launcher and not trigger system gesture recognition
by TIS.
Change-Id: Ibbb0180d6ef3856ab652164e6f3c1c86488a4caa
2020-07-17 18:30:16 -07:00
vadimt
ba161b7393
Increasing wait time for end-action events.
...
This is supposed to fix a flake in one of widgets tests.
The end-scroll event is posted by the system server to another thread
may arrive in ~13 sec.
The delay may have been caused by the previous test that just created
and deleted a user, so the system is busy with processing that.
Bug: 160238801
Change-Id: I43d0804252202ae04c731f35fb219c4be4bd4a76
2020-07-15 22:26:51 +00:00
vadimt
40c9cfa3c8
Productizing useful diags
...
The bug doesn't repro, but it makes sense to keep the diags
Bug: 156287114
Change-Id: I4a9f43e02eec1b1386067a90e4c17ad109adcfa5
2020-07-14 15:53:32 -07:00
vadimt
4bc691b988
Removing workarounds for a fixed bug
...
Bug: 148422894
Change-Id: Ic6faa173ac5f28c8656daf68ac8304563264afdd
2020-07-13 20:02:13 -07:00
vadimt
4945540579
Removing a method that simply returns false
...
Bug: 154157191
Change-Id: Idedf1ce0ba78e915460cf3ea22cf5e7c70a96e92
2020-07-10 19:19:08 -07:00
vadimt
ae76bebfed
More diags for non-receiving scroll end
...
Bug: 160238801
Change-Id: I2e19d16e49e84e93bdf135eb97d5f033475305e8
2020-07-08 10:09:46 -07:00
TreeHugger Robot
ac802c2bdc
Merge "Improving diagnostics when Launcher dies during a gesture" into ub-launcher3-master
2020-06-25 22:32:28 +00:00
vadimt
56fe9150fa
Improving diagnostics when Launcher dies during a gesture
...
Instead of crashing upon getting uninitialized event sequence, we show a
meaningful message.
Bug: 159921830
Change-Id: Ie42039b39a453c60bd5df3e54058d582137bba06
2020-06-25 13:32:20 -07:00
vadimt
fb099c7fe1
Improving diagnostics when can't find a widget
...
Instead of "exceeded number of attempts" now printing that can't scroll
to widget.
Change-Id: Ia6f582e038d68fc35f152d94e592f60ef0bc2cf4
2020-06-24 21:54:16 +00:00
vadimt
839fb7b3ae
Eliminating messages that launcher activity is frozen
...
They were ultimately caused by killing Launcher process from tests.
Now having a test info handler request to clear db.
Bug: 152629799
Change-Id: Ia81ddc3e338718c4cff08c7396b9fda1b7091024
2020-06-22 15:39:19 -07:00
vadimt
a17a10cddd
Changing event check implementation from logcat to TestProtocol
...
Bug: 153670015
Change-Id: Id9fc759bd5be68758ef9cf0abbba3cd6fa452796
2020-06-22 11:04:03 -07:00
vadimt
45564c831b
Removing debug requests from non-debug test info handlers
...
Bug: 152629799
Bug: 153670015
Change-Id: I02776be811d1d3325b35880d19d25a6638f904ef
2020-06-10 18:48:37 -07:00
TreeHugger Robot
fd522fe13e
Merge "Using unstable client for fetching test info for oop tests" into ub-launcher3-rvc-dev
2020-05-29 05:26:46 +00:00
Winson Chung
bc849d6159
Using unstable client for fetching test info for oop tests
...
Bug: 157661745
Change-Id: Ifbb211f9bbaa444df682145a0a9e82c5d0f24bdf
2020-05-28 20:14:54 -07:00
TreeHugger Robot
b0948db99d
Merge "Dumping TIS state on failures" into ub-launcher3-rvc-dev
2020-05-27 21:38:55 +00:00
vadimt
835e612aee
Dumping TIS state on failures
...
Bug: 156287114
Change-Id: Ib438aae3cc4682b1f1c958e59337c095480d910a
2020-05-27 13:48:58 -07:00
vadimt
3096b78914
Add navigation mode diags to the system anomaly detection
...
Bug: 156095088
Change-Id: I3504cc2187c4bcc6229ecbcb0da360e310eeaa9f
2020-05-27 11:20:22 -07:00
TreeHugger Robot
1152e4526d
Merge "Adding a method checking whether Overview has tasks" into ub-launcher3-rvc-dev
2020-05-21 20:47:31 +00:00
TreeHugger Robot
9eae863216
Merge "Insert delays in dumping input state" into ub-launcher3-rvc-dev
2020-05-21 20:39:29 +00:00
TreeHugger Robot
bfe7b44a91
Merge "Checking success of injectInputEvent" into ub-launcher3-rvc-dev
2020-05-21 20:29:34 +00:00
vadimt
e238271384
Adding a method checking whether Overview has tasks
...
Change-Id: I9817218990c470ad7f266e336d931e2cd313535e
2020-05-21 13:11:42 -07:00
vadimt
f5e98ead9d
Insert delays in dumping input state
...
Hpoing to avoid overwhelming logcat
Bug: 156287114
Change-Id: Ia0e95ade205a2c5cd6d7a27b59c9896fb78370af
2020-05-21 12:42:32 -07:00
vadimt
623670c2e3
Checking success of injectInputEvent
...
Bug: 156287114
Change-Id: Id000b39a187c909475dd6dd409d14430b3654517
2020-05-21 12:32:33 -07:00
Vadim Tryshev
2c75d08806
Merge "Failing with diags when UiObject2 container disappears" into ub-launcher3-rvc-dev
2020-05-21 17:53:03 +00:00
vadimt
8a8255916f
Failing with diags when UiObject2 container disappears
...
Change-Id: If6af49087a5afd6374776e55067b0502dabb7585
2020-05-20 15:05:49 -07:00
TreeHugger Robot
7cdb4cfecc
Merge "Rename closeEvents to reduce confusion" into ub-launcher3-rvc-dev
2020-05-18 21:21:14 +00:00
TreeHugger Robot
e5a83db490
Merge "Remove tracing for a fixed flake" into ub-launcher3-rvc-dev
2020-05-18 17:21:41 +00:00
vadimt
2bba25a08d
Remove tracing for a fixed flake
...
Bug: 155926212
Change-Id: Ia847d735d58154bc768b69d3ae3dc0af7fcdbf11
2020-05-18 16:34:57 +00:00
vadimt
bb6f5f5242
Add dumpsys input where it was missing
...
Bug: 156287114
Change-Id: Ie0a71e8dc261abfde4eec3ce882786d77a870c32
2020-05-15 13:12:37 -07:00
vadimt
7e4d19f842
Rename closeEvents to reduce confusion
...
Change-Id: I73f083c568846ec8f96b4b403afdaf10d75a106e
2020-05-14 19:52:01 -07:00
vadimt
5670d462de
Avoid truncation of input trace
...
Bug: 156287114
Change-Id: Iac0f93d4e8082907210bd6312d1c046ff1f49dba
2020-05-14 14:25:38 -07:00
TreeHugger Robot
1462617c97
Merge "Starting investigation for non-delivered TIS events" into ub-launcher3-rvc-dev
2020-05-13 20:40:47 +00:00
vadimt
87db7187c6
Starting investigation for non-delivered TIS events
...
Bug: 156287114
Change-Id: Icae88318a8e5a8f6b9931913b24ad3ece5475cc3
2020-05-13 13:08:39 -07:00
vadimt
0790cef41c
Dumping view hierarchy before swiping to Overview
...
Bug: 156044202
Change-Id: I21a11a7a55103cffbc05ddeeb93ecc4f6f4063e7
2020-05-12 18:25:32 -07:00
vadimt
5d59df4fd9
Don't check TIS events mismatch for successful gestures
...
Perhaps, due to a framework bug, events sometimes don't get delivered to
TIS; this doesn't seem to cause user-visible problems.
Later we'll need to investigate why this happens.
Bug: 154157191
Change-Id: I25f45ccab10f6c537c14610e40c2d02d2d3f28ad
2020-05-11 13:14:06 -07:00
TreeHugger Robot
4f51725717
Merge "Adding waiting for Launcher initialization" into ub-launcher3-rvc-dev
2020-05-08 21:26:30 +00:00