Commit Graph

4240 Commits

Author SHA1 Message Date
helencheuk a66a121bec Add test to long press icon on home screen
Fix: 292083404
Test: TaplTestsLauncher3#testLaunchHomeScreenMenuItem
Change-Id: I301ac719aeda744e8b8dca9a405208625eff89e7
2023-08-22 16:33:06 +00:00
Pat Manning c7087e8f9f Do not consume hover events not coming from cursor for a11y.
Fix: 283041221
Test: TaplTestsTransientTaskbar
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: I95e9ded6873173ea001c82d6319716a2d48b3bad
2023-08-22 09:17:04 +00:00
Treehugger Robot c5c3c2590b Merge "Prevent some leaks from leaking to the next test" into udc-qpr-dev am: 1e709c2a95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24487871

Change-Id: I4a227c9f2060835efb7aaaa1ff4ad96576345e2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 22:47:36 +00:00
Treehugger Robot 1e709c2a95 Merge "Prevent some leaks from leaking to the next test" into udc-qpr-dev 2023-08-21 22:23:21 +00:00
Stefan Andonian 28c69acdfe Merge "Move WallpaperColorHints RPC calls to a background thread." into udc-qpr-dev am: 0487d8ee9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24087102

Change-Id: I2e1652b293d3fb49017d2062e08c2d2352f339d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 22:14:05 +00:00
Kevin Lim a73c072f39 Merge "[Tiger] Add screen record to debug flaky test" into udc-qpr-dev am: c7aeced342
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24486156

Change-Id: I6ba70bbfa9c4f0b21f8d76ac33db54818ef5b0ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 22:13:18 +00:00
randypfohl ecffb20ba8 Adding some logging to track test failure in post submit
Test: not needed

Bug: 295069071

Change-Id: I3394267dbbd808544e2759737c7d139c5ba4121f
2023-08-21 14:49:25 -07:00
Stefan Andonian 0487d8ee9b Merge "Move WallpaperColorHints RPC calls to a background thread." into udc-qpr-dev 2023-08-21 21:47:58 +00:00
Kevin Lim c7aeced342 Merge "[Tiger] Add screen record to debug flaky test" into udc-qpr-dev 2023-08-21 21:27:20 +00:00
Stefan Andonian 24a963b268 Move WallpaperColorHints RPC calls to a background thread.
Bug: 251502424
Test: Theme behavior still works fine. Compilation worked well.
Change-Id: I18d0b2094f3ba841846ff98567acc7327a7bd220
2023-08-21 20:10:41 +00:00
Kevin Lim 9028f583a6 [Tiger] Add screen record to debug flaky test
Bug: b/293944634
Test: No test needed. Simply adding screen record for flakiness
debugging
Change-Id: If8ca3a7088778fd229d66697b9197969e3803486
2023-08-21 18:49:17 +00:00
Pat Manning 9180b92d8e Merge "Check taskbar stash state for hover only on hover events." into udc-qpr-dev am: bd4e77ccf7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24420598

Change-Id: I42f9e17bd7123e116457b5758372f67d5f852316
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 18:47:22 +00:00
randypfohl 7900abdab7 enable testWidgets for postsubmit for long term debugging
Test: no need here.

Bug: 295069071

Change-Id: Idf9ef20e15518802dbe89b49489149fe76d31b03
2023-08-21 11:42:49 -07:00
Pat Manning bd4e77ccf7 Merge "Check taskbar stash state for hover only on hover events." into udc-qpr-dev 2023-08-21 18:18:10 +00:00
Vadim Tryshev d17a270b31 Prevent some leaks from leaking to the next test
Now when exiting the test, we finish Launcher activity and force the leak check.
I've seen this helping one of the leaks to stay within the test that caused it instead of failing the next test.

Bug: 187761685
Flag: N/A
Test: presubmit, local
Change-Id: I7eac26f749433c37a6880a2f035ab1ba9c5fef6e
2023-08-18 18:55:11 -07:00
Sebastian Franco ddd0450f6b Remove odd screen ids when isTwoPanels is true
We where adding more CellLayouts but they where later
removed by removeExtraEmptyScreenDelayed but when rotated
the pagination animation is created before they are removed.

With this change the extra CellLayouts won't be added in the first
place.

Fix: 291822492
Test: RoerderWidgets
Test: FoldableItemsIntegrity
Change-Id: I561d2ce961a7ecc50f7a8c99c4acc44262b2e211
2023-08-18 12:51:00 -07:00
Pat Manning 3447016c66 Check taskbar stash state for hover only on hover events.
Fix: 293419351
Test: TaplTestsTransientTaskbar.
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: I86d166d71dc5d41a7c4e450584e8948db96bf199
2023-08-18 14:45:48 +00:00
Treehugger Robot ff20a30a4c Merge "Skips checking for overview actions when grid only overview flag is enabled." into udc-qpr-dev am: bc6e67da45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24433309

Change-Id: Ibea973ad6c90a7966df2b55ce30de3fdb221290d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17 23:41:28 +00:00
Treehugger Robot bc6e67da45 Merge "Skips checking for overview actions when grid only overview flag is enabled." into udc-qpr-dev 2023-08-17 23:12:08 +00:00
Pat Manning 99fbce8ec3 Merge "Add test to dismiss AllApps by swipe up to home gesture." into udc-qpr-dev am: bbf481b6b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24404201

Change-Id: I1396e7039a549efa1cc7dfc89865e24a849c8f23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17 21:22:45 +00:00
Pat Manning bbf481b6b9 Merge "Add test to dismiss AllApps by swipe up to home gesture." into udc-qpr-dev 2023-08-17 21:09:12 +00:00
Xin Li 41dd5f48d6 Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: Ia7c5c2101a30d0eaae0fc92801186e66baec449d
Change-Id: Ic9654f2c43bbfb878e3f46eb39698b570fb8dd44
2023-08-17 12:13:35 -07:00
Vadim Tryshev 9e1fbcbe52 Implementing detector of view position jumps
I.e. when a view's top, right, left or bottom jumps too far between frames.

Flag: N/A
Test: presubmit, local runs
Bug: 286251603
Change-Id: I8f75a5b9ebb213d56db9f9ba1cc31d398fe7e88f
2023-08-17 10:55:40 -07:00
Jordan Silva d92271849c Fix hotseat border space crash GSI
Fix the calculation of the space between the icons for hotseat when the number of spaces needed is 0 or less.

Fix: 285834082
Flag: N/A
Test: HotseatWidthCalculationTest
Change-Id: I73bc1950277c01ac0ae7202c1e08bf45266b59b8
2023-08-17 16:02:01 +01:00
Pat Manning 39521ce7a5 Add test to dismiss AllApps by swipe up to home gesture.
Fix: 292080259
Test: TaplTestsLauncher3
Change-Id: I6053078cbfaf37d26c11376aecd21ba4edcbba44
2023-08-17 12:25:41 +01:00
Vadim Tryshev d999b60bbe Suppressing more view capture anomalies am: b36143551c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24434269

Change-Id: I961d782ea81e99e01712831b7032383d2cc41021
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-15 20:37:53 +00:00
Vadim Tryshev b36143551c Suppressing more view capture anomalies
Test: presubmit
Flag: N/A
Bug: 295904861, 295910059, 294891222, 295909454
Change-Id: I6abc34844d0dbfa53d402d4983a71655b256e091
2023-08-15 11:19:46 -07:00
Pat Manning dc90a46e77 Skips checking for overview actions when grid only overview flag is enabled.
Fix: 296060682
Test: TaplTestsQuickstep
Flag: ENABLE_GRID_ONLY_OVERVIEW
Change-Id: If8ef23767350dbbcf80294abf6b93eebe57d3487
2023-08-15 16:55:23 +01:00
Treehugger Robot 67ddbc8e4e Merge "Improving diagnostics for tests ignored due to @Stability annotation Now they will be shown as ignored, not as passed." into udc-qpr-dev am: 184fa593ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24421530

Change-Id: If84d862d2344017a305ceff852074acce3f4c38a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-14 22:57:09 +00:00
Treehugger Robot 184fa593ed Merge "Improving diagnostics for tests ignored due to @Stability annotation Now they will be shown as ignored, not as passed." into udc-qpr-dev 2023-08-14 22:10:52 +00:00
Treehugger Robot 2db10452f4 Merge "Skipping view capture analyzer in presubmit" into udc-qpr-dev am: 57065929ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24421528

Change-Id: Ie1f942358de9dad066a9aa847cde2ce1f41e589f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-14 21:03:02 +00:00
Treehugger Robot 57065929ee Merge "Skipping view capture analyzer in presubmit" into udc-qpr-dev 2023-08-14 20:51:36 +00:00
Vadim Tryshev 74eddc5490 Improving diagnostics for tests ignored due to @Stability annotation
Now they will be shown as ignored, not as passed.

Bug: 187761685
Flag: N/A
Test: presubmit
Change-Id: I0913577230441c6bd60165138455ea16a759b39b
2023-08-14 20:44:05 +00:00
Colin Cross efada45adf Merge "Fix kotlin nullable errors in Launcher3" into udc-qpr-dev-plus-aosp 2023-08-14 17:55:18 +00:00
Vadim Tryshev 9082ba31d7 Skipping view capture analyzer in presubmit
The checks are not sufficient stable yet to be presubmit blockers.

Bug: 286251603
Flag: N/A
Test: presubmit
Change-Id: I3f5466a51018ff4e8de8c00ef7e0ca3fc0ec5436
2023-08-14 10:20:35 -07:00
Vadim Tryshev d21fed8f62 Ignoring alpha jumps in ArrowTipView
Bug: 24331680
Flag: N/A
Test: presubmit
Change-Id: I0de76bc2fd8791e03e7722700c72567ef6b913b5
2023-08-11 19:07:00 -07:00
Colin Cross abf18e9c03 Fix kotlin nullable errors in Launcher3
Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.

This relands I26edfec35dca14abe90b08e3c74de0446eda95d2 with a fix in
SplitSelectDataHolder.kt to call createPackageContext when user is null
instead of asserting that it is not null.

Bug: 294110802
Test: builds
Test: WMShellFlickerServiceTests
Change-Id: I4525d0fa83a1db9cc5cff90f340fc3f863537c01
2023-08-11 11:28:54 -07:00
Treehugger Robot b043c7ced0 Merge "Disabling flash checks for the whole LauncherDragView" into udc-qpr-dev 2023-08-10 23:03:33 +00:00
Thales Lima 19c41f5932 Merge "Create specs for hotseat" into udc-qpr-dev 2023-08-10 20:08:38 +00:00
Colin Cross 7b5878e03e Fix kotlin nullable errors in Launcher3
Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.

Bug: 294110802
Test: builds
Change-Id: I26edfec35dca14abe90b08e3c74de0446eda95d2
Merged-In: I26edfec35dca14abe90b08e3c74de0446eda95d2
2023-08-10 11:16:55 -07:00
Jordan Silva 3646a1b7e1 Fix workspace and hotseat paddings for responsive grid in landscape
Add paddings for workspace and hotseat when vertical bar is enabled.

Fix: 294033018
Flag: ENABLE_RESPONSIVE_WORKSPACE
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeGridDumpTest
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Change-Id: I7358d2eb7b7c53b436756c21bd81d4746ea01801
2023-08-10 14:15:35 +00:00
Thales Lima f8bfb036ba Create specs for hotseat
Some attributes of hotseat change depending on the size of the device. In the future more attributes could be moved to the spec, e.g. hotseat icons.

Fix: 292204436
Test: CalculatedHotseatSpecTest
Test: HotseatSpecsTest
Test: SizeSpecTest
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Flag: ENABLE_RESPONSIVE_WORKSPACE
Change-Id: I6a4e05d75af819dbf1444a5ca45c2080f55dc203
2023-08-10 10:23:23 +00:00
Hyundo Moon fa3bd7dc8a Merge "Revert "Test: unfold_to_widgets"" into udc-qpr-dev 2023-08-10 07:19:38 +00:00
Surajit Chandra 06da59fcc2 Revert "Test: unfold_to_widgets"
Revert submission 24356173-unfold_to_widgets

Reason for revert: Test Revert b/295248721

Reverted changes: /q/submissionid:24356173-unfold_to_widgets

Change-Id: I7f138c31f306de03d9ec30dda600f7dfb18fcd26
2023-08-10 06:50:43 +00:00
Doğancan Emek 47caf4af5d Merge "Test: unfold_to_widgets" into udc-qpr-dev 2023-08-09 23:09:28 +00:00
Vadim Tryshev e11268a5b1 Disabling flash checks for the whole LauncherDragView
Flag: N/A
Bug: 295216628
Test: presubmit
Change-Id: Id58f8843d287b5e2e16c47787bd34d1b8a843ca4
2023-08-09 14:25:13 -07:00
Doğancan Emek 84226a662d Test: unfold_to_widgets
Bug: 278986839

Change-Id: I8c55a82683a02b4416aff1c152b7ea7f8131f34b
2023-08-09 20:41:22 +00:00
Vadim Tryshev 7ed637b050 Merge "Implementing detector of view flashes" into udc-qpr-dev 2023-08-09 17:57:15 +00:00
Randy Pfohl 6ff6c00b26 Merge "Adding minimal logs to investigate overview floating bug" into udc-qpr-dev 2023-08-08 22:11:19 +00:00
Andy Wickham c15fd5c248 Merge "Revert^3 "Change Overview Actions to round buttons."" into udc-qpr-dev 2023-08-08 20:58:04 +00:00