Stefan Andonian
7d51c4713c
Merge "Revert "Keep ViewCaptureRule logic self-contained."" into udc-dev am: 57eaf86f8d am: fc7e8fa4c2 am: 06db62c69e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23454664
Change-Id: Id50497a35b5c05a23abdf55f8f6d432d6d1b929b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-30 19:54:47 +00:00
Stefan Andonian
b4b0b96537
Merge "Use LockedUserState in TouchInteractionService." into udc-qpr-dev am: 4439bec7aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23450434
Change-Id: Iea7c15a5372a6403c5172b4b3f870d48c9157cc1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-30 19:53:53 +00:00
TreeHugger Robot
66ee26f684
Merge "Add logs to see if launcher model isn't loaded when work profile app is added" into udc-dev am: 78b6e76486 am: dcf359c459 am: 997014c235
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23455279
Change-Id: Ie3e6cab3f99ffde52736170a88124060084aba59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-30 19:52:24 +00:00
Stefan Andonian
4439bec7aa
Merge "Use LockedUserState in TouchInteractionService." into udc-qpr-dev
2023-05-30 18:55:02 +00:00
Stefan Andonian
57eaf86f8d
Merge "Revert "Keep ViewCaptureRule logic self-contained."" into udc-dev
2023-05-30 17:49:54 +00:00
TreeHugger Robot
78b6e76486
Merge "Add logs to see if launcher model isn't loaded when work profile app is added" into udc-dev
2023-05-30 17:26:53 +00:00
Alex Chau
6565b68168
Merge "Add Portrait/Landscape support for NexusLauncher screenshot tests" into udc-qpr-dev
2023-05-30 15:54:10 +00:00
Vinit Nayak
2c353f29a2
Add logs to see if launcher model isn't loaded when work profile app is added
...
* Add helper method to avoid checking sDebugTracing when
logging for tests
Bug: 243688989
Flag: None
Change-Id: Id6cc3b286171eb598e593c5a8aaea6f2466aad60
2023-05-26 15:45:42 -07:00
Stefan Andonian
0a8fab01da
Revert "Keep ViewCaptureRule logic self-contained."
...
This reverts commit eec7a9d90f .
Reason for revert: Failing tests.
Change-Id: Idf16453bbd7f0ace17d8e80d3303fae26b50333b
2023-05-26 21:11:41 +00:00
Stefan Andonian
cf36a3f3a8
Use LockedUserState in TouchInteractionService.
...
This change was previously attempted, but failed because of a tricky issue where the LockedUserState singleton object was getting permanently set to a mock context in LockedUserStateTest, and then was failing TaplTests because isUserUnlocked was always false.
This fixes that by avoiding using the singleton LockedUserState instance in the unit tests.
Bug: 251502424
Test: Compilation threw no errors and user unlock behavior worked
correctly. Post-submit was tested and this CL passed all previously
failing tests: https://android-build.googleplex.com/builds/abtd/run/L12900000960898179
Change-Id: I045c9f2558a6bdacb4bfa029fbf6a07c3c190fe7
2023-05-26 17:06:09 +00:00
Stefan Andonian
6d8f3bfd61
Merge "Keep ViewCaptureRule logic self-contained." into udc-dev am: 9678d9470c am: 12b89ef14f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23402041
Change-Id: If28ea0288770e9c4ea6e2b84c74a8adb5493e813
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-26 00:43:27 +00:00
Stefan Andonian
9678d9470c
Merge "Keep ViewCaptureRule logic self-contained." into udc-dev
2023-05-25 22:53:28 +00:00
Vadim Tryshev
ecbad7a0d9
Merge "Adding tracing for workspace loading that never finishes" into udc-dev am: 8cf338148b am: 304ecb6f24
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23414622
Change-Id: I0aedfb1de537ea8bf56ecc69a6920bf649b4b88d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-25 18:41:38 +00:00
Stefan Andonian
eec7a9d90f
Keep ViewCaptureRule logic self-contained.
...
This will make it easier for other apps / processes to integrate the
ViewCapture logic into their integrated testing frameworks.
Bug: 270158224
Test: Verified that a zip file was generated properly and was able to be
loaded into go/web-hv properly.
Change-Id: Ib3e4a0b60497937b750126590071884882b22917
2023-05-25 17:59:46 +00:00
Vadim Tryshev
8cf338148b
Merge "Adding tracing for workspace loading that never finishes" into udc-dev
2023-05-25 17:17:50 +00:00
Hui Kang
202fcdfeaf
Merge changes from topic "Annotate Platinum Test" into udc-dev am: 879d746de7 am: c8222a548e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23404501
Change-Id: I21c07dcef67d73c418229d175267998285293bc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-25 16:49:06 +00:00
Hui Kang
2e5da30386
[4/7]Add PlatinumTest annotation to tests am: 5bde3f8573 am: f4c8a29eac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23395253
Change-Id: I4ae5b30382e745ad6f491525819b3fae3f875c27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-25 16:49:02 +00:00
Hui Kang
f4c8a29eac
[4/7]Add PlatinumTest annotation to tests am: 5bde3f8573
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23395253
Change-Id: I7909d9b59e524904f6632fdab92012db3ea49541
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-25 16:33:30 +00:00
Hui Kang
879d746de7
Merge changes from topic "Annotate Platinum Test" into udc-dev
...
* changes:
[3/7]Add PlatinumTest annotation to tests
[4/7]Add PlatinumTest annotation to tests
2023-05-25 16:04:10 +00:00
Jordan Silva
aac286af4f
Add Portrait/Landscape support for NexusLauncher screenshot tests
...
Updating @PortraitLandscape annotation to be public to allow its usage by modules implementing Launcher3 and AbstractLauncherUiTest and interop with Kotlin.
Bug: 283751050
Flag: N/A
Test: atest HomeScreenEditStateImageTest
Change-Id: I84e1210c0476a3b3f9b40bbb6ee6b46a44b752ff
2023-05-25 02:25:19 +01:00
vadimt
80bb8a12da
Adding tracing for workspace loading that never finishes
...
Test: presubmit
Bug: 267200150
Flag: N/A
Change-Id: I6cfe6be101412e9d8d9498fc06c70d1d14561441
2023-05-24 10:25:15 -07:00
Hui Kang
0928ab0811
[3/7]Add PlatinumTest annotation to tests
...
These tests already have IwTest annotation. The IwTest tests will be merged with platinum tests using the PlatinumTest annotation. The IwTest annotation will be deprecated and removed.
Test: make
Bug: 283409062
Change-Id: Idee826a228070bdad26e9520c7b59c4df970f717
2023-05-24 01:21:46 +00:00
Hui Kang
5bde3f8573
[4/7]Add PlatinumTest annotation to tests
...
These tests are in the audited platinum suite (go/platinum-audit-flake)
Test: make
Bug: 283409062
Change-Id: Id438fde00b2a6e31694bef125d20637af514b9da
2023-05-24 01:17:18 +00:00
Winson Chung
fed4662478
Merge "Removing legacy launcher winscope tracing for tests" into udc-dev am: 883871e280 am: 395ed225a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23384355
Change-Id: I235ed03d74f0317a17249dfc19bbdf47fa580416
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-23 19:59:28 +00:00
Thales Lima
ec06cd1039
Merge "Create TAPL test for taskbar in overview" into udc-dev am: ac206e1daf am: dd2c541ffe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23155127
Change-Id: Id3659cc04359e2cdf0efca8ab2b5e7ae286696cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-23 19:58:12 +00:00
Winson Chung
883871e280
Merge "Removing legacy launcher winscope tracing for tests" into udc-dev
2023-05-23 18:47:40 +00:00
Thales Lima
ac206e1daf
Merge "Create TAPL test for taskbar in overview" into udc-dev
2023-05-23 18:32:34 +00:00
Thales Lima
1f10e53ba2
Create TAPL test for taskbar in overview
...
Fix: 269985301
Test: TaplTestsQuickstep
Flag: none
Change-Id: Iea0311bcba54882f7f2cf5d35cd98a538ae85855
2023-05-23 13:22:10 +00:00
Winson Chung
cc96740534
Removing legacy launcher winscope tracing for tests
...
Bug: 279924453
Test: Presubmit
Change-Id: I9ed7c3669dad5c20d0fa760b2fe2a50308f10be8
2023-05-23 06:14:54 +00:00
Treehugger Robot
3550f03c8d
Merge "Adding debug tracing for b/262282528" into udc-dev am: 25e94ccb1b am: 8f9cc84297
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23359117
Change-Id: I187c7b00e47d3a67f748e2d9c250e6ee77d44e53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-23 00:17:29 +00:00
Treehugger Robot
25e94ccb1b
Merge "Adding debug tracing for b/262282528" into udc-dev
2023-05-22 22:48:47 +00:00
Treehugger Robot
19d36fcbbc
Merge "Detach ViewCaptureRule onDrawListener on the main thread." into udc-dev am: 17164414ca am: 137bcd60e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23357371
Change-Id: Ifb127376bfdf871101c1eb52b322ff29d2bfb855
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-22 20:25:26 +00:00
Treehugger Robot
17164414ca
Merge "Detach ViewCaptureRule onDrawListener on the main thread." into udc-dev
2023-05-22 19:23:52 +00:00
Tracy Zhou
6a71c2a6f5
[Trackpad] Gesture navigation in 3-button mode
...
Back gesture will be in a separate change
Bug: 279948218
Test: https://recall.googleplex.com/projects/3388b17c-d22f-46f8-b140-a102690377b4/sessions/0b8e838a-89b0-4451-ad44-df2916db877d
Change-Id: I1f14ca873efa33684e36ac1f0f72d766815752ae
2023-05-21 22:45:37 -07:00
vadimt
144a9508be
Adding debug tracing for b/262282528
...
We see two long-clicks on the taskbar instead of expected one.
Bug: 262282528
Test: presubmit
Change-Id: I231d54ac08cf53ac7b0b6177da6b671314998021
2023-05-19 17:04:04 -07:00
Vinit Nayak
9592e18ce9
Merge "Install test app for work profile user" into udc-dev am: 47ab6f8ba2 am: 4d331b6fbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23331908
Change-Id: I47fbc7af66eb8c884b7ed614f771d366c42878e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-19 22:44:32 +00:00
Stefan Andonian
c7c507c362
Detach ViewCaptureRule onDrawListener on the main thread.
...
This should avoid an IllegalStateException in instrumented tests.
Bug: 283313972
Test: Post-submit test succeeded.
Change-Id: I5302cfc089d91b044baaac75b5d7c69e763a1847
2023-05-19 22:39:30 +00:00
Vinit Nayak
a3e139c68a
Install test app for work profile user
...
Bug: 243688989
Change-Id: I3ecd0c9eefdbd84d2b9da45680b9efb078c3fb67
2023-05-18 17:49:04 -07:00
TreeHugger Robot
e607fdb2a2
Merge "Removing support for lagacy shortcuts" into udc-qpr-dev
2023-05-17 19:25:45 +00:00
Sunny Goyal
e274d97fe5
Removing support for lagacy shortcuts
...
> Addition/removal of shortcus is already removed. This just
cleans up the unused code path
Bug: 275875209
Test: Updated tests
Flag: N/A
Change-Id: I8ab7f57b693f996920e50e8beecafcffab5167e9
2023-05-17 09:20:45 -07:00
Thales Lima
52fbedf2f1
Merge "Calculate sizes for responsive grid" into udc-dev am: d282d5956e am: dc7d900708
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22764617
Change-Id: I29151c20fb9a05163a0f17b0317bff1ebf14588e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-17 15:36:07 +00:00
Thales Lima
d282d5956e
Merge "Calculate sizes for responsive grid" into udc-dev
2023-05-17 14:12:50 +00:00
Thales Lima
c98b7815c6
Calculate sizes for responsive grid
...
This shouldn't change anything in the grids, only calculate the sizes of the grid.
Bug: 277064708
Test: CalculatedWorkspaceSpecTest
Test: WorkspaceSpecsTest
Flag: ENABLE_RESPONSIVE_WORKSPACE
Change-Id: Id1f90ef44f5b869113d063bad17589e7e88d1d20
2023-05-17 10:33:36 +00:00
Alex Chau
7af659da9e
DisplayController should deep compare mPerDisplayBounds
...
- In CHANGE_SUPPORTED_BOUNDS check, it uses Map.equals, but as the value is a primitive array WindowBounds[], equals check does not deep compare the arrays and may result in false negative
- One example is when fontScale changes, DisplayController re-create bounds from WindowManagerProxy, result in new WindowBounds[] created, and the shallow compare results in unexpected CHANGE_SUPPORTED_BOUNDS
Fix: 282736623
Test: DisplayControllerTest
Change-Id: I3897595c58559192b951ecfee7c9f62a07dafe1f
2023-05-17 09:40:46 +00:00
Charlie Anderson
afb447ee0d
Merge "Adding a new Edit Mode LauncherState" into udc-dev
2023-05-16 18:42:34 +00:00
Stefan Andonian
e3b06996c3
Merge "Added ViewCapture to all tests which implement AbstractLauncherUiTest." into udc-dev
2023-05-15 22:06:37 +00:00
Sebastián Franco
c6ebf62ae7
Merge "Stopp Cell height from changing when running ReorderUnitTest" into udc-dev
2023-05-15 19:57:27 +00:00
Andrew Cole
5929e8aec0
Merge "Updating isTextClippedVerticallyTest" into udc-dev
2023-05-15 15:03:29 +00:00
Sunny Goyal
7bc6cdee56
Revert "Revert "Revert "Revert "Revert "Revert "Changing GridMigrationTask to use ModelDbController directly""""""
...
This reverts commit 09905cfa90 .
Reason for revert: Fixed the crashing issue
Change-Id: Ibcfc28a89356d262e67e8842d6bae37e230a70f5
2023-05-13 01:59:19 -07:00
Stefan Andonian
fa8091661a
Added ViewCapture to all tests which implement AbstractLauncherUiTest.
...
This enables developers to watch failed tests in classes like
TaplTestsQuickstep in the go/web-hv tool.
Bug: 242867462
Test: Failed a test and verified that the TimeLapse bugreport entry
showed up properly in the go/web-hv tool.
Change-Id: Ic89af2a0e7102db52c52ddc668607a81c4809ed6
2023-05-12 21:15:14 +00:00