TreeHugger Robot
859d0d87e2
Merge "Simplifying some test utility methods" into udc-qpr-dev
2023-06-05 23:10:06 +00:00
Sunny Goyal
6773667e34
Revert "Revert "Adding main thread binder tracing in development..."
...
Revert submission 23522417-revert-23482347-launcher-binder-tracing-RBUMTFPXQG
Reason for revert: Fixed broken build
Reverted changes: /q/submissionid:23522417-revert-23482347-launcher-binder-tracing-RBUMTFPXQG
Change-Id: I3e130a780b8641c4a17a5cdf799513f2ba08b16e
2023-06-02 18:14:35 -07:00
Sunny Goyal
ee9740462e
Simplifying some test utility methods
...
Bug: 283821111
Test: Presubmit
Flag: N/A
Change-Id: I7b9690bc0cc53d097d26cd4f0ab2dd36ba88e1cb
2023-06-02 13:30:55 +00:00
Santiago Aboy Solanes
0edac04688
Merge "Revert "Adding main thread binder tracing in development build."" into udc-qpr-dev
2023-06-02 09:06:26 +00:00
Santiago Aboy Solanes
ee846feb80
Revert "Adding main thread binder tracing in development build."
...
Revert submission 23482347-launcher-binder-tracing
Reason for revert: Broken Build 10242119 on git_master on errorprone b/285434612
Reverted changes: /q/submissionid:23482347-launcher-binder-tracing
Change-Id: Id9726474265e839a59d6eb34822e7a86d40f0fc9
2023-06-02 08:59:28 +00:00
Jagrut Desai
485cdbaf95
Merge "Fixing TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet()" into udc-dev am: bcf6111413 am: fdf7be39f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23495344
Change-Id: I1d4375f4cea1a481b83d5ced50207766f980278d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-01 18:57:13 +00:00
Sunny Goyal
3db98b1152
Adding main thread binder tracing in development build.
...
> Unifying multiple binder tracing implementations
> Removing wallpaper customization check as it has been rolled out
few years ago, this avoids additional RPC to check for wallpaper
> Removing RaceConditionReproducer as it is not used anywhere and
is not integrated with this tracing anymore
Bug: 273718665
Test: Presubmit
Flag: N/A
Change-Id: I801af5d039a9d38d5d39e803723ec6da50a9d59f
2023-06-01 09:39:50 -07:00
Jagrut Desai
ce8dd7884a
Fixing TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet()
...
Currently, test asssumes that we are in persistent taskbar mode and assumes that taskbar is visible after switching to non ime activity.
We need overall strategy to how we migrate currentl TaplTestQuickstep to test for transient taskbar mode also. But, this will fix the current flakiness.
Test: Pre-submit
Flag: not needed
Bug: 281772186
Change-Id: Ie7e3364febd38ce489c3d3c881b94b8b308d3cb5
2023-05-31 15:05:35 -07:00
Stefan Andonian
55d0d21040
Merge "Revert "Keep ViewCaptureRule logic self-contained."" into udc-dev am: 57eaf86f8d am: fc7e8fa4c2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23454664
Change-Id: I0da767add8247c3530af0a26e965d6830018ef75
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-30 19:02:56 +00:00
Stefan Andonian
57eaf86f8d
Merge "Revert "Keep ViewCaptureRule logic self-contained."" into udc-dev
2023-05-30 17:49:54 +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
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
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
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
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
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
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
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
Vadim Tryshev
25470d0ac1
Merge "Revert "Re-enabling a couple of tests"" into udc-dev am: 807d9c2c30 am: bcc5cb84a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23355108
Change-Id: I3edd90263ba1ac23c2c9477ce5bdc8b21c34fa7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-22 21:52:44 +00:00
Vadim Tryshev
807d9c2c30
Merge "Revert "Re-enabling a couple of tests"" into udc-dev
2023-05-22 20:28:07 +00:00
Vadim Tryshev
8d1de90744
Revert "Re-enabling a couple of tests"
...
This reverts commit 81b228a5fb .
Reason for revert: b/283523638
Change-Id: I2787b34e369ed2c879d80806bc30cab3dbb10c69
2023-05-19 21:17:55 +00:00
Vadim Tryshev
7ff1fa63bf
Merge "Re-enabling a couple of tests" into udc-dev am: bc4813afb2 am: 7823a3f13b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22463691
Change-Id: I2404d142d1cd85272fcea3e3d7e33e6db14ed19d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-19 18:43:31 +00:00
Vadim Tryshev
bc4813afb2
Merge "Re-enabling a couple of tests" into udc-dev
2023-05-19 17:37:16 +00:00
Jagrut Desai
2949f11b2f
Merge "Fix TaplTestsTaskbar" into udc-dev am: 20c26a4a6c am: 9d642cbaec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23288804
Change-Id: I37d870ee929244d9ae3680b7897a946eb5ac1052
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-18 21:14:31 +00:00
Jagrut Desai
20c26a4a6c
Merge "Fix TaplTestsTaskbar" into udc-dev
2023-05-18 20:11:59 +00:00
Treehugger Robot
60136287ec
Merge "Re-enable testOverviewForTablet for persistent taskbar." into udc-dev am: 4b941231ce am: d4df5d9f19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23267632
Change-Id: I4f715c5c8a54bd2c7eecf683400f77369d4423df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-18 00:08:28 +00:00
Treehugger Robot
4b941231ce
Merge "Re-enable testOverviewForTablet for persistent taskbar." into udc-dev
2023-05-17 23:33:59 +00:00
Jagrut Desai
23d752779b
Fix TaplTestsTaskbar
...
we were going to overview and clearing tasks before splitscren test are broken because of it.
Test: Presubmit
Bug: 281772186
Flag: not needed
Change-Id: I79addec3cfa0adf41581be72fed2ca3cd024a904
2023-05-17 11:51:41 -07: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
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
Jon Miranda
479b247372
Re-enable testOverviewForTablet for persistent taskbar.
...
Will enable for transient taskbar separately.
Bug: 281812199
Test: verified passes locally
Change-Id: I25ddc8bd80b8e06e983d0add0d1b354083d1870a
2023-05-16 16:13:09 -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
Jagrut Desai
c875f27912
Fixing TaplTests
...
Test: Pre-Submit
Fixes: 281772186
Flag: not needed
Change-Id: Ibe2987a69c9ca393ed267e755a3b99826164fee4
2023-05-10 10:47:45 -07:00
Jagrut Desai
53b4435b7e
Merge "Un-Split TaplTestsTaskbar" into udc-dev
2023-05-09 20:43:01 +00:00
Jagrut Desai
9569ce86a2
Un-Split TaplTestsTaskbar
...
Before we use TaskbarModeSwitch but had a drawback where we would not know which variant of taskbar the test failed for. So, we split the taskbar tests into transient and persistent for better error logs and debugging.
But, now we can use Parameterized Test Runner to achieve the same and do not have to duplicate test code for testing two different variants of Taskbar.
There can be instances where we only want to test certain taskbar variant only, we have separated files for that.
Test: Presubmit
Bug: 267648422
Flag: not needed
Change-Id: I4322498f13d257a5f1793b008f45b09ac9b9f3ff
2023-05-09 09:36:09 -07:00
Vinit Nayak
b33a2e0762
Enable flag ENABLE_SPLIT_LAUNCH_DATA_REFACTOR
...
Flag: ENABLE_SPLIT_LAUNCH_DATA_REFACTOR
Bug: 279494325
Change-Id: I9c58ba50f0269c69a12f548a1873c2d8251f6243
2023-05-08 17:27:03 -07:00
Mady Mellor
c37bf46381
Adds BubbleControllers to TaskbarControllers
...
* BubbleControllers is optionally available (gated behind a flag).
* The bubble bar controllers follow init & onDestroy after the taskbar
controllers.
* Adds the relevant views used by the bubble controllers to the
transient taskbar layout.
Bug: 253318833
Test: manual, with other CLs, see go/bubble-bar-tests
Flag: WM_BUBBLE_BAR
Change-Id: I685163cdcc912768b1a720952762f4cbc602b14b
2023-05-05 17:02:38 -07:00
Qiao Yang
1aee68df56
Merge "Revert "Revert "Listen for hover events over stashed taskbar.""" into udc-dev
2023-05-05 19:09:44 +00:00
Qiao Yang
2482c8dcd4
Revert "Revert "Listen for hover events over stashed taskbar.""
...
This reverts commit c27605099c .
Reason for revert: DroidMonitor-triggered revert due to breakage <https://android-build.googleplex.com/builds/quarterdeck?branch=git_udc-dev&target=cf_x86_64_phone-userdebug&lkgb=10076607&lkbb=10076982&fkbb=10076788 >, bug <281093059>
Change-Id: I71e7fd07232c27a004243df0ffb0457fe53fe13b
2023-05-05 19:07:17 +00:00
Qiao Yang
51669b612f
Merge "Revert "Listen for hover events over stashed taskbar."" into udc-dev
2023-05-05 18:05:16 +00:00
Pat Manning
c27605099c
Revert "Listen for hover events over stashed taskbar."
...
This reverts commit c5882bcdfc .
Reason for revert: b/281068877
Change-Id: I431678658fc464c995df0df5e3cac5491d91b052
2023-05-05 17:22:21 +00:00
Treehugger Robot
b6f64a4465
Merge "Listen for hover events over stashed taskbar." into udc-dev
2023-05-04 23:15:44 +00:00
Pat Manning
c5882bcdfc
Listen for hover events over stashed taskbar.
...
Bug: 243191650
Test: TaplTestsTaskbar
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: Ia189ac6a6097d073c40c69ead6ecaf398d22eba8
2023-05-04 20:35:44 +01:00
Schneider Victor-tulias
d1054fd86b
Merge "Revert "Fix broken TaplTestsTaskbar splitscreen test cases"" into udc-dev
2023-05-04 16:55:21 +00:00
Nick Chameyev
1aa2383d26
Merge "[Unfold animation] Start Launcher animation preemptively to synchronize the first frame" into udc-dev
2023-05-04 09:36:04 +00:00