- Add some missing event checks
- Wait until the device has fully settled before unpressing the key code
Flag: not needed
Fixes: 303252187
Test: TaplTestsKeyboardQuickSwitch
Change-Id: Iecc27d6f603d76b5d7c906ec6f703df13c275073
This will help to detect leaks earlier, not when we have 3 activities in some cases, but when we have 2.
Adding a parameter that enables more strict detection, and using it in some places.
I'll try to convert as many places as possible to the more strict check after landing this CL.
Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Idd5a0386005e46dad8aab222bd77c0240f23f43a
The docs indicate that only the system should recycle events.
Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I76d0ed8ffce6de45f76c846df659c5a68abe3ed0
This requires two swipes - first to bring the navbar back followed by
standard goHome() interaction.
Currently only supported in gesture nav, as with immersive landscape in
3 button navigation the swipe gesture must happen on the left/right
edge of the screen.
Bug: 300969961
Test: n/a
Change-Id: I9d6d327998d474063727acc786fe297cc2df6b62
- A quickswitch will freeze the spatial order of the recents list
(to allow quickswitching back) for up to 5s, but this can affect
runs of other tests due to the list being in the wrong order
Bug: 298544839
Test: atest NexusLauncherTests:com.android.quickstep.TaplTestsQuickstep
Change-Id: I5d01991821c6b79ceac47fefffed60ef4a18b248
Used by flicker to disable and then reset this value when performing certain actions that require ExpectedRotationCheckEnabled to be false but then we want to restore to the initial value.
Bug: 300065764
Test: n/a
Change-Id: I650e15b206984b5fd7a2313fb63308e4c551c30a
We do this when starting apps from Launcher in other places.
Bug: 298114205
Test: presubmit
Flag: N/A
Change-Id: I1ff4466a2daa78b618cdc24910f90b8d4306d8b8
This is useful for tests where the keyboard is open, which can take up
about half the screen.
Test: Tapl
Fix: 299514609
Flag: No
Change-Id: I47e2fe7555140b4b54046d4d8ba6de1ebd38c6a4
This cl is 1/2 part change
We are currently getting StaleObjectException when running this test.
We want to implment a synchoronized event beetween test and launcher,
so we know that search result adapter is done updating and page will
get no more updates of search results.
Test: Presubmit
Bug: 232008758
Flag: not needed
Change-Id: I40cf9b83d231a2487220aabc8f8e8c3ca71f255c
When using apps that switch to car mode (e.g. Maps) while in 3 button
navigation mode, the default navbar is not visible and instead the
overlay from Assistant is being rendered that also has the Home button.
For tests that involve apps switching to car mode, when we want to go
home we want to be able to press that button.
Bug: 282758103
Test: n/a
Change-Id: I88c420f321dcfd39164e20e97d39f90bf1e5d8d8
* Previously we weren't waiting for any events check,
which was terminating the test too early before any
split cleanup was happening, causing errors in the
following test.
Test: atest NexusLauncherOutOfProcTests:com.android.quickstep.TaplTestsSplitscreen
Bug: 297135374
Change-Id: I635a1de1381932e6545fc0fc7bf7567c9f6ebe67
More consistent with other Taskbar and Home API naming conventions.
Test: Compiles
Bug: 295366997
Flag: No
Change-Id: I5de7297cc73522f557a6a916e2c645ffb0473f78
They are perceived to produce too much noise and maintenance.
Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I062eb5670a92a2ccc7039108829b09ca9d9127ae
Includes support for interacting with app search results for Taskbar All
Apps.
Design doc: go/toasty-taskbar-tapl
Test: Compiles
Bug: 295366997
Flag: not needed
Change-Id: I07cb8a96a0aba2668ffc647ca2a6b8c1137157ca