Commit Graph

58436 Commits

Author SHA1 Message Date
Ats Jenk 84fb0cf390 Merge "Hide freeform button from app menu in recents" into tm-qpr-dev am: 5db5015fe2 am: a2c0473d94
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19681296

Change-Id: I9886b4c60c692bb8a9cd1030ebbc3a70317162d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-20 01:19:18 +00:00
Ats Jenk a2c0473d94 Merge "Hide freeform button from app menu in recents" into tm-qpr-dev am: 5db5015fe2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19681296

Change-Id: I0f2b88e81688fd47519a3bed9d78cf97cc01d827
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-20 00:59:28 +00:00
Ats Jenk 5db5015fe2 Merge "Hide freeform button from app menu in recents" into tm-qpr-dev 2022-08-20 00:37:56 +00:00
Sukesh Ram b6d673ad40 Merge "Enable Pinning Deep Shortcuts in Secondary Display" 2022-08-19 23:18:52 +00:00
Sukesh Ram 353b0a914f Enable Pinning Deep Shortcuts in Secondary Display
Currently, deep shortcuts can be pinned to the workspace grid (home screen) upon long click of the icon. However, a challenge in doing so has been persistence of these shortcuts because whenever a new secondary display activity gets started, these pinned shortcut icons vanish. To address this, we store pinned shortcut data in memory which is done here via SharedPreferences.

Retrieval of this data still needs to be done as outlined here: https://docs.google.com/document/d/1wLb2h8qCPGur-VsufCH4mLnnuLDLcmMq0FrCo7ichu8/edit#heading=h.44bkbp2hiok0.

Bug: 241843710
Test: Manual
Change-Id: I709f046fac79fdfd47c3c84054173992d81757ae
2022-08-19 16:18:04 -07:00
Ats Jenk 6b31ed99d9 Hide freeform button from app menu in recents
When desktop windowing prototype is enabled, we should only be able to
switch apps to freeform mode via the quick tile.
Disabling other routes to put individual apps to freeform.

Test: visually verified that freeform button is not visible when desktop
windowing prototype flag is enabled
Bug: 242906219

Change-Id: Ib1ce75969b67f30d82262927e2e4113fab2c4956
2022-08-19 12:35:26 -07:00
Luca Zuccarini 78c6e3f2a4 Set the default for keyboard sync to IS_STUDIO_BUILD.
As discussed offline, I will send out an announcement in the Sysui-studio and #sysui-debug Chat Spaces to solicit bug reports.

Bug: 234812580
Test: manual
Change-Id: Id693e8ebd990b804da247d4639a2dd2d6fbdd01f
2022-08-19 19:09:15 +00:00
Android Build Coastguard Worker b6788a676e Merge cherrypicks of [19432064, 19432065] into tm-release.
Change-Id: I8a9ecd80650fbc5de83b7d6d04e10ad729fd8f6c
2022-08-19 18:46:46 +00:00
Sunny Goyal b2b614e169 Removing tabWidth calculation and using DeviceProfile directly
This removes some dependency on FloatingHeaderView, making it
easier to replace

Bug: 234008165
Test: Verified that the UI does not change
Change-Id: I363c98c23f84fe570ea9cb1a40128359f5b67c9f
Merged-In: I363c98c23f84fe570ea9cb1a40128359f5b67c9f
(cherry picked from commit 42b640404a)
Merged-In: I363c98c23f84fe570ea9cb1a40128359f5b67c9f
2022-08-19 18:44:02 +00:00
Sunny Goyal 86a6cb0694 Fixing tab width and panner not aligned with the all-apps icons
Bug: 234008165
Test: Verified on device
Change-Id: Ibec3eed4aef730439d79b086d6ae23b63b66361e
Merged-in: Ibec3eed4aef730439d79b086d6ae23b63b66361e
(cherry picked from commit 524f4c4fba)
Merged-In: Ibec3eed4aef730439d79b086d6ae23b63b66361e
2022-08-19 18:43:59 +00:00
Grace Han c9225b74d4 Merge "Create Flag for Region Sampling in Smartspace" into tm-qpr-dev am: 4fb9dbb9f5 am: ae351cd134
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19397546

Change-Id: I203497b28f995f4660718c85ce1e132bcd982e86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 16:39:22 +00:00
Grace Han ae351cd134 Merge "Create Flag for Region Sampling in Smartspace" into tm-qpr-dev am: 4fb9dbb9f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19397546

Change-Id: I137e5137ab98fb1fc7f824ea1f5a25d18ee9a372
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 16:20:26 +00:00
Grace Han 4fb9dbb9f5 Merge "Create Flag for Region Sampling in Smartspace" into tm-qpr-dev 2022-08-19 15:59:35 +00:00
Jeremy Sim 235bd0c0d4 Merge "Revert "Update animations for TM-QPR: Overview > OverviewSplitSelect transition"" into tm-qpr-dev am: 5ea6cfdb7e am: 2351d8dee3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19669397

Change-Id: Ie12aac6a63ff32c8fd0a443554898ba77c65d471
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 14:21:11 +00:00
Jeremy Sim 2351d8dee3 Merge "Revert "Update animations for TM-QPR: Overview > OverviewSplitSelect transition"" into tm-qpr-dev am: 5ea6cfdb7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19669397

Change-Id: Ib4dcda7575f101913fcd713059865c4cbb981755
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 13:53:42 +00:00
Jeremy Sim 5ea6cfdb7e Merge "Revert "Update animations for TM-QPR: Overview > OverviewSplitSelect transition"" into tm-qpr-dev 2022-08-19 13:37:58 +00:00
Sam Dubey 664fde7744 Onboard tests in IW suite
Adding annotations to test methods confirmed to perform CUJ steps in the bugs attached.

Test: Forrest
Bug: 239384214
Fix: 241945343, b/241845943, b/241845754, b/241848386

Change-Id: Ifc21339f4acf558003cb1db8ebd5e05df5134a55
2022-08-19 09:34:28 +00:00
Android Build Coastguard Worker 5a3ee597f6 Snap for 8964501 from 13aa345755 to tm-qpr1-release
Change-Id: Ice1b71a10e60783aecba08968310390ad51ee651
2022-08-18 23:30:02 +00:00
Zim 68730a684a Disable Launcher AIDL_TAG tracing special case
Since we enable generate_traces by default for the system and
signature apps, we can remove this special case

Test: Manual
Bug: 161393989
Change-Id: Iff92c0a729a9b9b038fb6310c7509925c59547b6
2022-08-18 23:09:11 +01:00
Jeremy Sim 2fe7dd7306 Revert "Update animations for TM-QPR: Overview > OverviewSplitSelect transition"
This reverts commit a50bb39048.

Reason for revert: Causes a P1 bug (b/241165022).

Fixes: 241165022
Bug: 236760307
Change-Id: Icc080d9a37e26d70d0f4cf846a4fd39df3b71625
2022-08-18 21:28:54 +00:00
Thales Lima 953379f663 [automerger skipped] Show resize handle on cancel widget drop am: 51e1bc2212 am: 6c896e7430 -s ours am: 01f66db5a5 -s ours
am skip reason: Merged-In I427dfaadd219d33a5371c3ae92c4e2311d3d3c6a with SHA-1 51e1bc2212 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19642278

Change-Id: I0f9a32dc3e6c9cd5bbae160381b4df46d4f67bf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 20:05:34 +00:00
Thales Lima 3dab58dd85 [automerger skipped] Show resize handle on cancel widget drop am: 51e1bc2212 -s ours am: 13aa345755 -s ours am: e09681e07b -s ours
am skip reason: Merged-In I427dfaadd219d33a5371c3ae92c4e2311d3d3c6a with SHA-1 84fa75cc7d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19642278

Change-Id: Icf2c77df083505ae91c6392531051b7097532a1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 20:04:21 +00:00
Thales Lima 01f66db5a5 [automerger skipped] Show resize handle on cancel widget drop am: 51e1bc2212 am: 6c896e7430 -s ours
am skip reason: Merged-In I427dfaadd219d33a5371c3ae92c4e2311d3d3c6a with SHA-1 51e1bc2212 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19642278

Change-Id: I97a153348ec38df94e296385b2053da6218b12f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 19:18:03 +00:00
Thales Lima e09681e07b [automerger skipped] Show resize handle on cancel widget drop am: 51e1bc2212 -s ours am: 13aa345755 -s ours
am skip reason: Merged-In I427dfaadd219d33a5371c3ae92c4e2311d3d3c6a with SHA-1 84fa75cc7d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19642278

Change-Id: I70423d772f94982dbc745f7ce50f7f8abd0ada99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 19:17:51 +00:00
Thales Lima 6c896e7430 Show resize handle on cancel widget drop am: 51e1bc2212
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19642278

Change-Id: Ibd3e5e3e34b7ff4b6290fa343edbfac98b04d657
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 19:01:57 +00:00
Thales Lima 13aa345755 [automerger skipped] Show resize handle on cancel widget drop am: 51e1bc2212 -s ours
am skip reason: Merged-In I427dfaadd219d33a5371c3ae92c4e2311d3d3c6a with SHA-1 84fa75cc7d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19642278

Change-Id: Ib73e481efab7344bafef5c2fc0dc8d93d5e7efbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 19:01:41 +00:00
Sebastian Franco 8bd1283482 Add screen recording to debug test ReorderWidgets.java flakynes
Bug: 242323136
Test: atest ReorderWidgets
Change-Id: If87dc5b37029f75c4a480fbbb62e5eaca02cde4a
2022-08-17 16:52:33 -07:00
Sunny Goyal c9c81ef320 Compressing view capture data and changing the format to avoid
storing duplicate strings

Also starting the dump process early to avoid timeouts

Bug: 242868825
Test: Verified on web-hv UI tool
Change-Id: I9943e41426f820c9ab70d39b9f01896ed060cab4
2022-08-17 16:48:27 -07:00
Android Build Coastguard Worker 1b19ce0df8 Snap for 8961426 from 8da8198bbb to tm-qpr1-release
Change-Id: Ifb4e1b4310c5edd08ecbb1a8a6cbdf5bbd835876
2022-08-17 23:29:43 +00:00
Winson Chung b8a2a026a5 Defer adding surface changed callback until view root is valid
- It appears there are cases where the view root is not valid (in
  which case schedule() returns false and we don't wait to handle
  the callback) which causes an NPE, but in these cases we don't
  need to add the surface changed callback at all.

Bug: 202776119
Bug: 242347940
Bug: 242897135
Test: Launch an app with sharesheet, swipe up and verify that
      screenshot callbacks

Change-Id: Icc3afc604bd925c5d49c693b7de51755f5a8bd42
2022-08-17 20:27:57 +00:00
Evan Rosky d0312b72f6 Merge "Notify recents controller when no-longer finishing-to-home" 2022-08-17 17:41:55 +00:00
Xin Li f919c71acd [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: b62600b8c3 -s ours am: 321867f810 -s ours am: 06786ebd81 -s ours am: c0c34377c1 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2186279

Change-Id: I4869008bf5a4d04cdb5a671678f1323087ab400e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 17:04:54 +00:00
Xin Li 574d06ac1c [automerger skipped] DO NOT MERGE - Merge Android 13 am: 79fabd3046 -s ours am: 8a3ad25ec7 -s ours am: a07f42166c -s ours am: 24fe7d1dac -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2186279

Change-Id: Ia35d04242b025645ddf567bc4636dd250cf7aab0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 17:04:53 +00:00
Thales Lima 14c79fb2d7 Merge "Make inlineQsb a grid-option attr" into tm-qpr-dev am: 8da8198bbb am: 5915f5e8d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19607213

Change-Id: I35fd23671b3bd0b55bc4eb250f97a50e2915daae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 17:04:38 +00:00
Stefan Andonian 5f4b0d2e1d Fix for bug where expensive launcher animations were being paused and never resumed. am: c784f76c0d am: a434cd433c am: 40a9c72fac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19607738

Change-Id: I2a3f70319cc636246a1d4838bd9aee5018c02ef1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 17:01:18 +00:00
Stefan Andonian 076c3edc86 Fix for bug where expensive launcher animations were being paused and never resumed. am: c784f76c0d am: 1b80eb3ae3 am: 85f6c907ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19607738

Change-Id: I77521d0c0c6d0932313b092a0fa1167bbeba7190
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 16:59:06 +00:00
Sunny Goyal 41b71f08ee Merge "Get elevation in time-lapse View Hierarchy capture." into tm-qpr-dev am: 1b3b71f2d7 am: a6f3a6d32e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19626512

Change-Id: I821f46e159651e633974a12a097090a3ca3f9747
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 16:55:56 +00:00
Evan Rosky 0fb2346e57 Merge "Notify recents controller when no-longer finishing-to-home" into tm-qpr-dev am: 4a8871ce4c am: cce589834c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19583219

Change-Id: Ie50e504f09172342f3ffcecf3ea92aaaad880da4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 16:48:02 +00:00
Thales Lima 7cb6a57fe5 Merge "Show resize handle on cancel widget drop" into tm-qpr-dev am: 3906192135 am: 1da0c0fa28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19500455

Change-Id: I19bea834a5b6040786247d999735bbaced409822
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 16:41:59 +00:00
Thales Lima 5c842cde1f Merge "Make folder sizes customizable" into tm-qpr-dev am: 7b10492e88 am: f97d64e152
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19559864

Change-Id: I35b9cc3af1bd282cb2fc2389c27e8f67fbf1cb37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 16:40:58 +00:00
Sihua Ma 3cedd3920d Merge "Resize preview for correct clipping" into tm-qpr-dev am: 2d675e8ab0 am: eeb46032ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19324973

Change-Id: I0dec5e33e09efca7afe60c7d7183025018712965
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 16:37:36 +00:00
Andras Kloczl c9037cd887 Add screen recording to flaky test
Test: n/a
Bug: 241587421
Change-Id: I767710e63713cd4636e595915108f495012f0a73
2022-08-17 11:58:08 -04:00
Sukesh Ram e02c21259a Merge "Added Tests for Secondary Display Launcher" 2022-08-17 06:46:19 +00:00
Evan Rosky 6e86a9d946 Notify recents controller when no-longer finishing-to-home
Bug: 241818882
Test: open app, swipe to recents, restore app
Change-Id: Ifb258319b7a54917f9f6ac08ccefeed5a47480e2
(cherry picked from commit 4b8f86ebcc)
2022-08-17 00:30:47 +00:00
Xin Li c0c34377c1 [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: b62600b8c3 -s ours am: 321867f810 -s ours am: 06786ebd81 -s ours
am skip reason: Merged-In I23b04f4b124a7342007f92f7c10b79b1c50a31a2 with SHA-1 dd1617cdeb is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2186279

Change-Id: I43ecfbbd65e2d698bd2bc58e1e150266b89823a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 23:39:53 +00:00
Xin Li 24fe7d1dac [automerger skipped] DO NOT MERGE - Merge Android 13 am: 79fabd3046 -s ours am: 8a3ad25ec7 -s ours am: a07f42166c -s ours
am skip reason: Merged-In I23b04f4b124a7342007f92f7c10b79b1c50a31a2 with SHA-1 dd1617cdeb is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2186279

Change-Id: I05485793c4843676d67d39007e2d390fd90ab1d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 23:39:51 +00:00
Android Build Coastguard Worker 32c5481992 Snap for 8953730 from 3906192135 to tm-qpr1-release
Change-Id: I063c04f5e1725c43ad828d9ba9744dc754cdcbfd
2022-08-16 23:30:19 +00:00
Sukesh Ram 73c27a1fa3 Added Tests for Secondary Display Launcher
These UIAutomator tests for secondary display launcher cover app drawer, drag-n-drop functionality, app predictions, pin/unpinning icons, and correct back press behavior.

We are deviating from  go/modify-tapl due to the time constraints of this project as outlined here (https://docs.google.com/document/d/1wLb2h8qCPGur-VsufCH4mLnnuLDLcmMq0FrCo7ichu8/edit#heading=h.brf6af3bno4g).

A preliminary design document has also been created to reference for future TAPL integration (https://docs.google.com/document/d/1H642SSu5DCM_zSXTsvTWumgm3OHIxsKEXvTlTeC4y54/edit?resourcekey=0-M9sTxdyQBi8bUy5cpjmJNA#heading=h.90f2s4sc5ic9).

Before TAPL integration, we need to follow up on test rewrite to eliminate antipatterns in the following bug: b/242776943.

Bug: 241166788
Test: Run Locally, on presubmit, and on a test on a cuttlefish emulator
Change-Id: I556a47b93a7ea3b2583dbc1efd2de7623d820e2a
2022-08-16 23:20:27 +00:00
Xin Li 06786ebd81 [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: b62600b8c3 -s ours am: 321867f810 -s ours
am skip reason: Merged-In I23b04f4b124a7342007f92f7c10b79b1c50a31a2 with SHA-1 dd1617cdeb is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2186279

Change-Id: I4c2ce8f145d59f6425f6a05373b42ef87df65add
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 23:09:26 +00:00
Xin Li a07f42166c [automerger skipped] DO NOT MERGE - Merge Android 13 am: 79fabd3046 -s ours am: 8a3ad25ec7 -s ours
am skip reason: Merged-In I23b04f4b124a7342007f92f7c10b79b1c50a31a2 with SHA-1 dd1617cdeb is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2186279

Change-Id: I5d5fddc40e920fb312f5d957d3df69e5d339ad2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 23:09:25 +00:00