Commit Graph

60459 Commits

Author SHA1 Message Date
Winson Chung c96af9413f Merge "Update constants used for resolving shell services" 2022-10-06 19:32:48 +00:00
Xin Li 6c5e11c3d5 Merge tm-qpr-dev-plus-aosp-without-vendor@9129937
Bug: 248070379
Merged-In: Ie774ec691c1005f3eb37600db6b25da57b9a88ea
Change-Id: Id57c486fb89ab69de40131b51c5fa1eaf47f06de
2022-10-06 12:22:12 -07:00
Holly Sun 2b17c4b9d0 Quick launch v2.
Set auto-append text in selected text mode. Clicking enter key launches the app. Delete the selected text to remove auto-append text and highlight. Clicking enter key sends raw query to search.

Test: manual
Bug: 210661150
Change-Id: Iee8e716b81a2dde64e60462fd33d4a6eb4abcf01
2022-10-06 10:38:26 -07:00
Pat Manning 24b9554086 Add logging to help debug flake when swiping home to overview.
Bug: 238461210
Bug: 246283207
Test: TaplTestsQuickstep#testSwitchToOverview
Change-Id: I8ee9af4f4a331c43761ba3738e12acb376ababc2
(cherry picked from commit 1edba8b0a6)
Merged-In: I8ee9af4f4a331c43761ba3738e12acb376ababc2
2022-10-06 15:37:47 +00:00
Luca Zuccarini bda972b2c9 [Toast] Switch to using device config to control keyboard sync.
Bug: 234812580
Test: followed the existing pattern and tested by manually setting and
unsetting the flag through command line - `adb shell device_config put
launcher enable_web_suggest_on_default_browser <true|false>`

Change-Id: Idd479e93b628b78fdf55d826c56f69c5cfdaf46e
2022-10-06 10:26:42 +00:00
Rajat Jain f6cb65f63a Low contrast for Personal and Work Tab in launcher
There is low contrast between font and background of
Personal and Work Tab in Launcher which makes it
difficult to read text

Bug: 235573969
Test: manual test
Change-Id: Idfbb7a27cc48de145cf2962facad06bf34ac35f8
2022-10-06 05:48:42 +00:00
Xin Li 781359bdf2 [automerger skipped] Merge "Merge TP1A.221005.003" am: 418e3d42da am: eae7bbb358 -s ours am: d4d4490772 -s ours
am skip reason: Merged-In I363c98c23f84fe570ea9cb1a40128359f5b67c9f with SHA-1 42b640404a is already in history

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

Change-Id: Ia9d1f35d0ddb25efed2fe7a7c0c79260ec775125
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06 00:53:37 +00:00
Xin Li d4d4490772 [automerger skipped] Merge "Merge TP1A.221005.003" am: 418e3d42da am: eae7bbb358 -s ours
am skip reason: Merged-In I363c98c23f84fe570ea9cb1a40128359f5b67c9f with SHA-1 42b640404a is already in history

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

Change-Id: Id6f63d5ccc097d98a364566df6a385d14003ca43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06 00:32:44 +00:00
Saumya Prakash 61c590cc7c Merge "Updated overview exit animation for 3 button navigation" into tm-qpr-dev am: 9860628fcc am: cd24541c61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20065286

Change-Id: I5416593565ffe7ecd4ed8c409c9f179561949cd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 23:31:47 +00:00
Android Build Coastguard Worker cf8447603c Snap for 9143244 from d5bccf19c4 to tm-qpr2-release
Change-Id: Ia58031b71eba1551ed969b7bb2158980a322c963
2022-10-05 23:30:41 +00:00
Xin Li eae7bbb358 Merge "Merge TP1A.221005.003" am: 418e3d42da
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2240804

Change-Id: Ib082f9f5d7c1e39b90ef5702017ed41e790547af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 22:39:30 +00:00
Saumya Prakash cd24541c61 Merge "Updated overview exit animation for 3 button navigation" into tm-qpr-dev am: 9860628fcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20065286

Change-Id: If574131911778513de4c436d017aa9990398f2ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 22:28:44 +00:00
Xin Li 418e3d42da Merge "Merge TP1A.221005.003" 2022-10-05 22:20:14 +00:00
Saumya Prakash 9860628fcc Merge "Updated overview exit animation for 3 button navigation" into tm-qpr-dev 2022-10-05 22:02:09 +00:00
Federico Baron dafd14d9dc Add flags for new home gardening mode
We're going to follow this new design for the home screen edit mode (home gardening): https://docs.google.com/presentation/d/1FOmmCdmGmSMR77_901IOMbvbPVxPmjaAdxZjy-D9tw0/edit#slide=id.g11f697f283a_0_0. This new design will be guarded by this flag.

Bug: 251259222
Test: manual
Change-Id: I36d0d1dddb463154140802b945dd092b072d6eaf
2022-10-05 14:51:37 -07:00
Alex Chau fbd25e9de2 Merge "Set controllersInitialized to false when destroying taskbar controllers" into tm-qpr-dev am: d5bccf19c4 am: 040f9023f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20112637

Change-Id: I25d6ab59401228d5bb660f611953b9f83e369ccb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 21:20:27 +00:00
Alex Chau 040f9023f3 Merge "Set controllersInitialized to false when destroying taskbar controllers" into tm-qpr-dev am: d5bccf19c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20112637

Change-Id: Id8d068137811f36a3151fc2b8a631f4f8510c698
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 20:51:36 +00:00
Sihua Ma 3559740ea0 Change padding of widget recommendation table for correct size
Previously, the margin of the recommendation table was changed to fix the bug b/209579563 , but this leaves a bug where the left/right sides of the recommendation table would be too close to the screen border. This CL should leave enough space for both sides and reveal the scroll bar again, while keeping the talkback focused on the title first once it enters the widget picker.

Test: Manual
Bug: 206481237
Change-Id: I808c279c3264a51b21a0bb7af8ca455d284e36ff
2022-10-05 13:50:14 -07:00
Alex Chau d5bccf19c4 Merge "Set controllersInitialized to false when destroying taskbar controllers" into tm-qpr-dev 2022-10-05 20:24:04 +00:00
Nick Chameyev 09241680a7 Merge "Extract PreviewPositionHelper to shared library" into tm-qpr-dev am: 3e7c611358 am: 40497595fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20034765

Change-Id: Iae3e4e2373ef9918f541bfade1654808fa2a1864
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 17:21:11 +00:00
Winson Chung 24dd34f1c0 Update constants used for resolving shell services
Bug: 238217847
Test: atest WMShellUnitTests
Change-Id: I0bf0d258fb9c6c9e7d6ce2a17bd120fe7a45ad9f
2022-10-05 16:32:05 +00:00
Federico Baron 471e2178f8 Fix page indicator dots height in workspace
In workspace, the page indicator dots end up in the bottom because we were missing a setInsets method (WorkspacePageInidcator.java uses this method to set the page indicator to the right height).

Bug: 249773534
Test: manual
Change-Id: I03636e28244f329b249453a6d22eb0ec7d85c45f
2022-10-05 09:31:55 -07:00
Federico Baron 7539d7649c Change delightful pagination flag and use it for workspace
Before the flag name would only fit 'delightful pagination' for folders, but now we're adding that feature to workspace also, hence the flag rename.
The flag is now also used in launcher to show the new XML file that uses PageIndicatorDots rather than WorkspacePageIndicator

Bug: 249773534
Test: manual
Change-Id: I6cf6d52e76ad1ec60ecb54c5cca204e9ac35cc39
2022-10-05 09:31:43 -07:00
Alex Chau 72c08d9255 Set controllersInitialized to false when destroying taskbar controllers
Bug: 250912179
Test: presubmit
Change-Id: I16532e99b8f74542def4283b6cc753673eb5ee2d
2022-10-05 15:46:31 +01:00
Nick Chameyev 40497595fe Merge "Extract PreviewPositionHelper to shared library" into tm-qpr-dev am: 3e7c611358
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20034765

Change-Id: Iadd1c8c50783459352c8543f723b9b1c509eabb4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 13:18:03 +00:00
Nick Chameyev 3e7c611358 Merge "Extract PreviewPositionHelper to shared library" into tm-qpr-dev 2022-10-05 12:52:02 +00:00
Johannes Gallmann 995934e51b Merge "Disable split button instead of hiding it" into tm-qpr-dev am: 72f5b73f5d am: ad6d2fca0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19967444

Change-Id: I1d01b7286016a8ba3781ce61ae72bde868f45bd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 11:27:05 +00:00
Johannes Gallmann ad6d2fca0a Merge "Disable split button instead of hiding it" into tm-qpr-dev am: 72f5b73f5d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19967444

Change-Id: Idb43c472ee37dc9356ac0c0bb50ac71ba08f3e24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 10:56:54 +00:00
Johannes Gallmann 72f5b73f5d Merge "Disable split button instead of hiding it" into tm-qpr-dev 2022-10-05 10:29:55 +00:00
Thales Lima 6e5a371712 Merge "Change taskbar edu size to wrap around icons" into tm-qpr-dev am: 9c32f4c7d8 am: a3989e5ab8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20010056

Change-Id: I6c8b07d7102b8260aa56b36e3fcc4e1e6c8bdf3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 10:15:07 +00:00
Alex Chau 8a1237bf0d Merge "Taskbar in overview" into tm-qpr-dev am: 5e47e78a17 am: 6db97df61b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19866366

Change-Id: I1ef4ad30d59bf9422eead0bbc768bf9727a1d667
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 10:13:28 +00:00
Thales Lima a3989e5ab8 Merge "Change taskbar edu size to wrap around icons" into tm-qpr-dev am: 9c32f4c7d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20010056

Change-Id: I4370ab13a97d5a0382587d7f1f4e429f8f779d7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 09:41:33 +00:00
Alex Chau 6db97df61b Merge "Taskbar in overview" into tm-qpr-dev am: 5e47e78a17
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19866366

Change-Id: I4be28fef85efc59f4f2cd3f183f29b684d5be649
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 09:41:08 +00:00
Thales Lima 9c32f4c7d8 Merge "Change taskbar edu size to wrap around icons" into tm-qpr-dev 2022-10-05 09:39:46 +00:00
Nick Chameyev cbfb35edc7 Extract PreviewPositionHelper to shared library
Moves Launcher's PreviewPositionHelper to shared
library between SystemUI and Launcher to reuse
it in the future in the partial screensharing
recents selector.

There should be no functional changes in the
code itself.

Bug: 240924926
Test: presubmit
Change-Id: Ib38b6f9db91e63a2598bf81229e3cd3e1a49ca60
2022-10-05 10:23:54 +01:00
Alex Chau 5e47e78a17 Merge "Taskbar in overview" into tm-qpr-dev 2022-10-05 08:58:31 +00:00
Andy Wickham 0d3c3d8fc5 Differentiate between app row and shortcut icons.
This is a simplified version of ag/20118087. It fixes the bug
with rows of shortcuts being in the search results (e.g. Gmail
and WhatsApp conversations), but it will not handle cases where
there are multiple rows of app icons. Currently I do not know of
any cases where that would happen.

Test: Manual with and without inject_web_top (which moves app row)
for WhatsApp and Gmail with AiAi fishfood.
Bug: 239927522

Change-Id: Ie9c62c0ee81086801942328c8770f37d5bf622c3
2022-10-05 00:57:09 -07:00
Ming-Shin Lu cb4f9b8dc5 Merge "TAPL: add setIgnoreTaskbarVisibility in LauncherInstrumentation" into tm-qpr-dev am: 8ff85dc733 am: 6013ab3776
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20064292

Change-Id: I6aaeb6efe4af83a5c8621cceb3154be4d53be58c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 07:47:04 +00:00
Ming-Shin Lu 6013ab3776 Merge "TAPL: add setIgnoreTaskbarVisibility in LauncherInstrumentation" into tm-qpr-dev am: 8ff85dc733
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20064292

Change-Id: I76470c6f6dd2a45ee80682d564b83fd3c24d9069
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 07:14:31 +00:00
Jerry Chang 3d39bfcda7 Support starts a pair of intent/shortcut and task to split
Add startIntentAndTask and startShortcutAndTask APIs to support starts a
pair of intent/shortcut and task to split with shell-transition.

Fix: 250875492
Test: atest WMShellFlickerTests
Test: manual check start tasks or start intent/shortcut with task flow
      with shell-transition enabled
Change-Id: Ibce60f3a10e2bbc99ef17185f45680dc23ef5f48
2022-10-05 06:44:25 +00:00
Ming-Shin Lu 8ff85dc733 Merge "TAPL: add setIgnoreTaskbarVisibility in LauncherInstrumentation" into tm-qpr-dev 2022-10-05 06:43:42 +00:00
Ming-Shin Lu 4d4f62ac77 TAPL: add setIgnoreTaskbarVisibility in LauncherInstrumentation
As now FlickerTests is leveraging TAPL to interact devices CUJs,
we realized in LauncherInstrumentation will verify task bar visibility
automatically to expect it always visible when quick-switch, which is
not always reliable since the task bar may be hidden by manual or
when the activity requests to show IME.

Add setIgnoreTaskbarVisibility in LauncherInstrumentation for the caller
to ignore taskbar visibility if the test does not need to verify it.

Bug: 228012334
Bug: 240306344
Test: atest FlickerTests:SwitchImeWindowsFromGestureNavTest
      in tablet device
Test: atest NexusLauncherOutOfProcTests:com.android.quickstep.\
       TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet

Change-Id: Id0a35561523d733b8434acb702ec7dcaa466a1c2
2022-10-05 11:37:37 +08:00
Jerry Chang e3f95693ef Remove stage concept from split screen APIs
Since split screen has transferred from stage-based model to app-pair
model. Update to remove the stage concept from split screen APIs, so the
caller won't need to deal with stage concept.

Bug: 250875492
Test: atest WMShellFlickerTests
Test: manual check start tasks or start intent/shortcut with task flow
Change-Id: I36bfb54f3f690cfafd18ba31ab23f5745ead6d97
2022-10-05 03:27:02 +00:00
Android Build Coastguard Worker 2a6466976a Snap for 9137459 from 6a84ebc7ab to tm-qpr2-release
Change-Id: I26f76d5288970828711c73672ce7b2a39faa2bc2
2022-10-04 23:26:12 +00:00
Michael Groover 5e0eecc064 Add unaudited exported flag to exposed runtime receivers
Android T allows apps to declare a runtime receiver as not exported
by invoking registerReceiver with a new RECEIVER_NOT_EXPORTED flag;
receivers registered with this flag will only receive broadcasts from
the platform and the app itself. However to ensure developers can
properly protect their receivers, all apps targeting U or later
registering a receiver for non-system broadcasts must specify either
the exported or not exported flag when invoking #registerReceiver;
if one of these flags is not provided, the platform will throw a
SecurityException. This commit updates all the exposed receivers
with a new RECEIVER_EXPORTED_UNAUDITED flag to maintain the existing
behavior of exporting the receiver while also flagging the receiver
for audit before the U release.

Bug: 234659204
Test: Build
Change-Id: I6660cfb00244470edfb2411dadfca81afed42343
2022-10-04 17:15:36 -05:00
Tracy Zhou b2d7f05bad Merge "Remove ENABLE_QUICKSTEP_LIVE_TILE flag" into tm-qpr-dev am: d7a7bfc304 am: b2cd75e5df
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20079254

Change-Id: Id23f4091da4d7216de27615c7e97f7139a37d392
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 21:07:54 +00:00
Tracy Zhou b2cd75e5df Merge "Remove ENABLE_QUICKSTEP_LIVE_TILE flag" into tm-qpr-dev am: d7a7bfc304
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20079254

Change-Id: I35c73d16ad7833faef59009b1d17800570763f13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 20:35:37 +00:00
TreeHugger Robot 16403d432e Merge "Reset TaskView transformations on orientationHandler change" into tm-qpr-dev am: 6a84ebc7ab am: 93767d52ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19981469

Change-Id: Ibbd4e6b93908048543be79c90ba2cd84d5dfcbc8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 20:27:36 +00:00
Vinit Nayak f40547f857 Merge "Hide back button if IME shows in SUW" into tm-qpr-dev am: 188c8916ee am: e0f012491c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20004092

Change-Id: I183a0c6ba60dffdef48815a8bf22be6863394151
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 20:25:52 +00:00
Tracy Zhou d7a7bfc304 Merge "Remove ENABLE_QUICKSTEP_LIVE_TILE flag" into tm-qpr-dev 2022-10-04 20:02:30 +00:00