Commit Graph

2867 Commits

Author SHA1 Message Date
Sebastián Franco 38500c0576 Merge "Change name of getIconsPosition_afterIconRemoved_notContained to uninstallWorkspaceIcon" into udc-qpr-dev am: 359992b860 am: 0edef0f826
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24608413

Change-Id: Ieccabb3d8825a5d0b193f718d5a0c2c8703ea8e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-31 20:23:04 +00:00
Schneider Victor-tulias 8ab21da9e1 Merge "Revert remaining debug logs added for b/260260325" into udc-qpr-dev am: 1827f369da am: f58a9f0f5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24622396

Change-Id: I5188fb4a9ea9d20b3ce3ec8d6f4c8419d2b7d52f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-31 20:20:40 +00:00
Anushree Ganjam 20bbe42cad Merge "Remove the test aconfig lib." into main 2023-08-31 19:24:23 +00:00
Sebastián Franco 0edef0f826 Merge "Change name of getIconsPosition_afterIconRemoved_notContained to uninstallWorkspaceIcon" into udc-qpr-dev am: 359992b860
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24608413

Change-Id: I6477a99878a91a6fc948eadfc9afbc951e146a77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-31 18:58:19 +00:00
Schneider Victor-tulias f58a9f0f5c Merge "Revert remaining debug logs added for b/260260325" into udc-qpr-dev am: 1827f369da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24622396

Change-Id: I3aaefc14c09e1d9e7f457417dbeb77ef53f864d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-31 18:58:05 +00:00
Sebastián Franco 359992b860 Merge "Change name of getIconsPosition_afterIconRemoved_notContained to uninstallWorkspaceIcon" into udc-qpr-dev 2023-08-31 18:08:55 +00:00
Schneider Victor-tulias 1827f369da Merge "Revert remaining debug logs added for b/260260325" into udc-qpr-dev 2023-08-31 17:59:27 +00:00
Treehugger Robot 3e96c9c572 Merge "Remove unused @ScreenRecord" into main 2023-08-31 17:53:42 +00:00
Schneider Victor-tulias e115af71f8 Revert remaining debug logs added for b/260260325
Flags: not needed
Fixes: 260260325
Test: Tapl tests
Change-Id: Ie339e2ce3bd301c1c352a2f82d1a370c1f4970c1
2023-08-31 11:44:24 -04:00
Charlie Anderson d48f89be9d Merge "Remove ENABLE_MATERIAL_U_POPUP flag and cleanup dead code" into main 2023-08-31 15:09:25 +00:00
Alex Chau d4f49a7927 Remove unused @ScreenRecord
Fix: 202433017
Fix: 202985412
Test: presubmit
Change-Id: I6ad6cbac0a2f509fb6191a3341a13b678d407168
2023-08-31 11:27:56 +01:00
Vadim Tryshev 2ba6ef0cb0 Merge "Removing verifying touch events in TAPL" into udc-qpr-dev am: b75add7a5f am: 9734478ec8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24588973

Change-Id: I60a751986bf753588b4415e5a1429cf88027fc69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-30 23:25:08 +00:00
Sebastian Franco 940d43b6e9 Change name of getIconsPosition_afterIconRemoved_notContained to uninstallWorkspaceIcon
The name doesn't make clear what the test is doing and
it doesn't follow our naming conventions. Also, adding
comment to explain what the test is doing.

Bug: 298234173
Test: atest UninstallWorkspaceIcon
Change-Id: Icdc42e891a94d159fc07e69931ea8444d882ad56
2023-08-30 16:11:33 -07:00
Vadim Tryshev 9734478ec8 Merge "Removing verifying touch events in TAPL" into udc-qpr-dev am: b75add7a5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24588973

Change-Id: I6520567e1c73e41b3fc740c35d509202c904e5fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-30 22:31:05 +00:00
Anushree Ganjam 2a14b978c6 Remove the test aconfig lib.
zhidou@ from ACE team is working on AConfigFakelib which will be useful
to set fake flag values in both unit tests and UI automator tests.
Meanwhile, we will mock the flag values for unit tests and UI automator
tests will have all flags values defaulted to false.

testAConfigLib with "test:true" doesn't generate fake flags values and
forces us to set the flag values using "SetFlagsRule". "SetFlagsRule"
doesn't work with Out Of Proc tests and hence doesn't serve the purpose
for us. AConfigFakelib and FakeFlagTargetPreparer should use for Out Of
Proc tests.

testAConfigLib with "test:true" is suitable for java host tests where
there is no device involved. Launcher tests are instrumentation tests and tests run on actual
devices. So we can use the production version of the AConfig lib and device
config flag values will be fetched for UI Automator tests.

Also migrating "enable_twoline_allapps" to trunk stable. Unit tests is
using mockito to mock the flag value as false. The owner of
"enable_twoline_allapps" can mock the value to true in unit tests as
next step.

Bug: 294913042
Test: Local studio build and soong build
Flag: enable_twoline_allapps

Change-Id: Iea42bf18197832a9ecbddc1c3aaa8c9e36169131
2023-08-30 15:20:51 -07:00
Vadim Tryshev b75add7a5f Merge "Removing verifying touch events in TAPL" into udc-qpr-dev 2023-08-30 21:40:11 +00:00
Kevin Lim a954a0d64d Merge "[Tiger] Remove @PlatinumTest for testUninstallFromWorkspace so that the flaky test runs and we can get a screen record." into udc-qpr-dev am: 8c2e5cbd58 am: f2892a08fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24559527

Change-Id: I8602d0523b147f064292dafc861b96a6ba45ab81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-30 21:05:32 +00:00
Vadim Tryshev 0e97dff0da Removing verifying touch events in TAPL
They are perceived to produce too much noise and maintenance.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I062eb5670a92a2ccc7039108829b09ca9d9127ae
2023-08-30 13:57:18 -07:00
Kevin Lim f2892a08fa Merge "[Tiger] Remove @PlatinumTest for testUninstallFromWorkspace so that the flaky test runs and we can get a screen record." into udc-qpr-dev am: 8c2e5cbd58
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24559527

Change-Id: I6820cf27640ac5e8db77566e03f59ab952a25108
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-30 20:56:32 +00:00
Charlie Anderson 69524513db Remove ENABLE_MATERIAL_U_POPUP flag and cleanup dead code
- removes a lot of dead code for the old popup design and especially around adding notifications to popups
- renames several resource files to remove the material_u specification, as it is now the only design

Test: manually run through launcher popups
Bug: 270395516
Flag: ENABLE_MATERIAL_U_POPUP
Change-Id: I462063482206578b4b896a6d405dc2383f2da510
2023-08-30 20:40:25 +00:00
Kevin Lim 8c2e5cbd58 Merge "[Tiger] Remove @PlatinumTest for testUninstallFromWorkspace so that the flaky test runs and we can get a screen record." into udc-qpr-dev 2023-08-30 19:38:50 +00:00
Brian Isganitis d36ea362c4 Merge "Add TAPL APIs for search web suggestions." into udc-qpr-dev am: 90e2a4d2d7 am: 80dace90ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24407376

Change-Id: I4e1b33f01ab7ca53a0f839d25ebd6ee9ab5d7e34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 23:14:54 +00:00
Sebastián Franco 5073751704 Merge "Adding wait to test if the flake is a race condition" into udc-qpr-dev am: b8ca7ae13c am: 98dfe6cf8b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24576276

Change-Id: Ib5499576c9c0eeda0a21365fede203c3dad83911
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 22:34:23 +00:00
Brian Isganitis 80dace90ab Merge "Add TAPL APIs for search web suggestions." into udc-qpr-dev am: 90e2a4d2d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24407376

Change-Id: I784eb66fd3b68db9e1baaaaabb2f112746bc6db5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 19:57:55 +00:00
Treehugger Robot 869ef4adea Merge "Cleanup logs for LAUNCH_SPLIT_PAIR" into main 2023-08-29 19:55:29 +00:00
Brian Isganitis 90e2a4d2d7 Merge "Add TAPL APIs for search web suggestions." into udc-qpr-dev 2023-08-29 19:16:49 +00:00
Charlie Anderson 3f8ce20b61 Merge "Move AppWidgetsRestoredReceiver methods to enable adding tests for restoring widget Ids" into main 2023-08-29 18:30:08 +00:00
Sebastián Franco 98dfe6cf8b Merge "Adding wait to test if the flake is a race condition" into udc-qpr-dev am: b8ca7ae13c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24576276

Change-Id: I23d35ce9667e4317df44daa9936d3594fce573a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 18:21:07 +00:00
Treehugger Robot 2d51e61794 Merge "Implementing detector of view position jumps" into udc-qpr-dev am: 1dcfdc3b3f am: 41fec65e21
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24452947

Change-Id: I7f8688b266165e70cda4af3f0697445038312560
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 17:47:49 +00:00
Pat Manning 42895a1e73 Merge "Scale Launcher folders on hover." into udc-qpr-dev am: 0ff8103c66 am: 9ab2e7613a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24295554

Change-Id: I97f33dcad68d13e63c198bf7e1a409be4bdf95af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 17:47:34 +00:00
Sebastián Franco b8ca7ae13c Merge "Adding wait to test if the flake is a race condition" into udc-qpr-dev 2023-08-29 17:46:40 +00:00
Anushree Ganjam 8a6b74e51b Move aconfig files to aconfig folder
- Set packageName as com.android.launcher3
- Follow folder structure as per go/sysui-aconfig-structure

Bug: 294913042

Test: adb shell device_config put launcher com.android.launcher3.enable_all_apps_rv_preinflation true

Flag: enable_all_apps_rv_preinflation

Change-Id: Ib45a24d9100b657e7776c6120bdf9625533e9ed7
2023-08-28 18:27:11 -07:00
Vinit Nayak 7a2cea6b8a Cleanup logs for LAUNCH_SPLIT_PAIR
Fixes: 288939273
Change-Id: I39624ce0ba9951bdea7691545268cdc369d1c606
2023-08-28 22:44:08 +00:00
Kevin Lim f55c911367 [Tiger] Remove @PlatinumTest for testUninstallFromWorkspace so that the
flaky test runs and we can get a screen record.

Apologies. I didn't realize how @PlatinumTest runs. Apparently demotion
from platinum test list as of Aug 7th cl/554505521 makes them not run.

Bug: b/293944634
Flag: No flag needed. Test only change.
Test: No test needed. Purposefully turning on known flaky test for tracking.
Change-Id: I3aee2d135bcaf64c35c242b580a92ce538b95896
2023-08-28 22:03:00 +00:00
Sebastian Franco 563c4384bb Adding wait to test if the flake is a race condition
Test: atest getIconsPosition_afterIconRemoved_notContained
Test: postsubmit flake percentage
Bug: 288944469
Change-Id: I51253c066159fbc4d347bceff0f4017c03b01e74
2023-08-28 14:07:39 -07:00
Treehugger Robot 41fec65e21 Merge "Implementing detector of view position jumps" into udc-qpr-dev am: 1dcfdc3b3f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24452947

Change-Id: Ieb3a1f3ee38d795e705b4ee2fdfbc482f0b501e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-28 19:14:08 +00:00
Treehugger Robot 1dcfdc3b3f Merge "Implementing detector of view position jumps" into udc-qpr-dev 2023-08-28 18:51:42 +00:00
Anushree Ganjam eb60c698a0 Merge "Update test build rules to support mocking AConfig methods." into main 2023-08-28 17:08:45 +00:00
Charlie Anderson 5f263a7ae1 Move AppWidgetsRestoredReceiver methods to enable adding tests for restoring widget Ids
Bug: 294386159
Test: Ran unit tests locally
Change-Id: Ib9657e6a0faa876197e0106b8729dcc606562d09
2023-08-28 11:08:12 -04:00
Anushree Ganjam 94efd7a80c Update test build rules to support mocking AConfig methods.
- Add mockito-inline-extended to allow mocking static methods.
- Add StaticMockitoRule to help mock static methods.
This helps in unit tests with mocking the trunk stable flags.

Bug: 294913042
Test: NA
Flag: NA
Change-Id: If53ae1d1bc68a5c6b1824b6c7060cbc14e095b1b
2023-08-25 17:10:15 -07:00
Pat Manning 9ab2e7613a Merge "Scale Launcher folders on hover." into udc-qpr-dev am: 0ff8103c66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24295554

Change-Id: I5a4f67a1d76d330fa7d3c9fd30c5b57dcddfb0e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 23:14:15 +00:00
Pat Manning 0ff8103c66 Merge "Scale Launcher folders on hover." into udc-qpr-dev 2023-08-25 22:23:20 +00:00
Brian Isganitis d0b9c59839 Add TAPL APIs for search web suggestions.
Design doc: go/toasty-taskbar-tapl

Test: Compiles
Bug: 295366997
Flag: not needed
Change-Id: I4f11a9a0c99a736a499ab498b05b20996e1dc59b
2023-08-25 20:25:39 +00:00
Pat Manning cc0d8919ee Scale Launcher folders on hover.
Bug: 243191650
Test: PreviewBackgroundTest
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: I8035501203af5c2d97b62cc79e576303e57f8b99
2023-08-25 20:02:23 +01:00
Treehugger Robot a841a939ac Merge "Ignoring WidgetsListHeader in WidgetsTwoPaneSheet" into udc-qpr-dev am: ff23ce8265 am: db88f85801
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24540213

Change-Id: If2f05b7520fc23c9272702d2b58157d8d90b7f73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 00:47:42 +00:00
Treehugger Robot db88f85801 Merge "Ignoring WidgetsListHeader in WidgetsTwoPaneSheet" into udc-qpr-dev am: ff23ce8265
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24540213

Change-Id: I2be700fed6da55db41e6831e748f633dc5c22a52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 00:04:02 +00:00
Anushree Ganjam 29e1e61e07 Merge "Add Launcher aconfig." into main 2023-08-24 22:03:18 +00:00
Anushree Ganjam d1a28fe08d Add Launcher aconfig.
Use `enable_expanding_pause_work_button` as an example.

See go/trunk-stable-launcher for implementation details

Bug: 294913042

Test: adb shell device_config put launcher com.google.android.platform.launcher.aconfig.flags.enable_expanding_pause_work_button true

Flag: enable_expanding_pause_work_button
Change-Id: I732722c8b219c023adf5bf31f132ce9da72fc4d5
2023-08-24 11:11:02 -07:00
Vadim Tryshev e338f8a695 Ignoring WidgetsListHeader in WidgetsTwoPaneSheet
Bug: 297079300
Test: presubmit
Flag: N/A
Change-Id: I09172070a3f2274857458cd9504d4b425b1efef2
2023-08-24 11:04:26 -07:00
Brian Isganitis 9e66bd4227 Merge "Introduce TAPL APIs for Taskbar QSB and search results." into udc-qpr-dev am: fa905e433a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24405244

Change-Id: Ie7faa7c709bf99cffd8694d065b0bb8b126ab34b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 18:01:31 +00:00