Commit Graph

63059 Commits

Author SHA1 Message Date
Uwais Ashraf f8da98a59b Set taskbar heights to 0 when taskbar is not present.
Fix: 289769344
Test: DeviceProfileDumpTest
Change-Id: I53f8a629c8adc12feb1fdf9f5b40b4a680c97b78
Merged-In: I53f8a629c8adc12feb1fdf9f5b40b4a680c97b78
2023-09-15 19:37:10 +00:00
Bill Yi 4c053e5f6b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 025cd855b4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4b9712ede0f7b27f9aba9aa9e7fca9c053cd7034
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 03:12:42 +00:00
Bill Yi 849137d43b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d4b83ccdd2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I37a09c005c67db3f02413cced6b7cc0bd3a1a450
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 03:12:30 +00:00
Bill Yi 025cd855b4 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev 2023-09-15 01:34:34 +00:00
Bill Yi e5e8ed942b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ff384a5c07 -s ours am: fefc1affdc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3462c512d73cc956e2568f7574df8a221d8e4fdd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 00:14:19 +00:00
Bill Yi fefc1affdc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ff384a5c07 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idc30ad4e62be52cde6c089439b5729efabc5a6e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 23:30:45 +00:00
Sebastián Franco 216a765894 Merge "Disable FOLDABLE_SINGLE_PAGE" into udc-qpr-dev 2023-09-14 17:50:54 +00:00
Andy Wickham 3140efe569 Merge "Don't animate layout changes for WorkModeSwitch." into udc-qpr-dev 2023-09-14 17:31:17 +00:00
Federico Baron 15b81093d7 Merge "Ensure PauseUIUpdate always ends up getting set to false" into udc-qpr-dev 2023-09-14 16:26:34 +00:00
Becky Qiu d1d73e05ce Merge "Print out debug logging in bug report if not running test." into udc-qpr-dev 2023-09-14 15:07:43 +00:00
Andy Wickham 1eb694a8cf Don't animate layout changes for WorkModeSwitch.
E.g. translation when rotating or unfolding the device.

The button is laid out as needed, so this was most visible when
entering all apps after folding/unfolding the device, but could
also be seen when rotating the device while in all apps.

Fix: 298073915
Test: Manual (folding/rotating device)
Flag: N/A
Change-Id: I573d7113a7870af0a251b3ca3916e3811f370ef9
2023-09-13 17:30:33 -07:00
Becky Qiu 28498d5f6f Print out debug logging in bug report if not running test.
Bug: 300101221
Test: local
Flag: not needed, logging only.
Change-Id: If016d6fe35a1c43e1a1f311d696b9f2ca0f36f6a
2023-09-13 17:24:51 -07:00
fbaron a101ac696f Ensure PauseUIUpdate always ends up getting set to false
when result was null but getTaskbarUIController() is not null, we don't setPauseUIUpdate to false. This CL ensure we always end up setting pauseUIUpdate to false so that the hotseat suggested apps show up.

Fix: 295892343
Flag: no flag
Test: verify hotseat icons don't disappear
Change-Id: Id872f3174df276cb7a4ed7f6672523d0851a11dd
2023-09-13 16:56:02 -07:00
Bill Yi 902c080b06 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1e5a9958e68122e5c138301126f915f27f1341b6
2023-09-13 04:51:49 -07:00
Bill Yi d4b83ccdd2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7c1a6a7775e61b800cc59fd2045005e8e3cb7165
2023-09-13 04:51:24 -07:00
Bill Yi ff384a5c07 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic54f174ce4b55de9f6a00a679860aa38febdb010
2023-09-13 04:51:00 -07:00
Sebastian Franco f376613a5b Disable FOLDABLE_SINGLE_PAGE
ENABLE_TWO_PANEL_HOME is no longer used so I will also
remove it.

TwoPanelWorkspaceTest was expecting an icon on the hotseat
which no longer exist.

We will use the new flag system in main for this
feature.

Test: atest ReorderWidgets
Test: atest FoldableIntegrity
Bug: 270395274
Change-Id: I122a924a81ae989ff5636d8e276d6d31bbe0877d
2023-09-12 18:19:53 +00:00
Holly Jiuyu Sun 997bc3e362 Merge "Set focus to EditText after open Toast with Meta key." into udc-qpr-dev 2023-09-12 03:12:50 +00:00
Jagrut Desai 733d440ac1 Merge "Apply ForciblyShown WindowLayoutParam flags for Transient Taskbar" into udc-qpr-dev 2023-09-11 21:52:08 +00:00
Jagrut Desai 6472119d4b Apply ForciblyShown WindowLayoutParam flags for Transient Taskbar
Test: Manual
Bug: 278078311
Flag: Not needed
Change-Id: Ia963e45b3b4e6d928b6292b80b73394e76fe2325
2023-09-11 09:39:23 -07:00
Schneider Victor-tulias 9e6a845ca4 Merge "Add error handling to prevent IllegalArgumentException" into udc-qpr-dev 2023-09-11 15:30:05 +00:00
Holly Sun d9d70eaca1 Set focus to EditText after open Toast with Meta key.
Meta key is an a11y action, which is set up in platform for action `GLOBAL_ACTION_ACCESSIBILITY_ALL_APPS`: https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:frameworks/base/services/core/java/com/android/server/policy/PhoneWindowManager.java;l=3573-3591;drc=34be95719dafc554f5ffc9ebb025e011fc81c7e9. `TouchInteractionService` is the one that implements the action: https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:packages/apps/Launcher3/quickstep/src/com/android/quickstep/TouchInteractionService.java;l=573;drc=b2ac210120abc4620f81e41d7a737f5f0009e5e0. `createAllAppsAction()` (where we set `INTENT_ACTION_ALL_APPS_TOGGLE`) only has this one caller. So `Launcher#toggleAllAppsFromIntent` is the exclusive path to handle a11y action.

Current behavior: when "Swipe up to start search" toggle is ON, everything works fine (keyboard up and focus set); when toggle is OFF, keyboard is up but without focus set.
With this change, keyboard up with focus set regardless of the toggle value. From https://docs.google.com/presentation/d/19iTRDGL-GSMfkTIXY8q2qjHQu2Fiih6CVhLqlwtV1bc/edit#slide=id.g13b39c67f16_0_108, the focus should be set for Meta key no matter what. Also, with talk-back on, the focus is also set to the input box with this change.

Vide: https://drive.google.com/corp/drive/u/0/folders/1yFlq7ldP0u1i3tSVpk72FsMu7QRZaUGM

Bug: 289058571
Test: manual
Flag: N/A
Change-Id: Ie471641f13cf9bd7d38f0e330d4f6c8c564b07b8
2023-09-08 14:56:56 -07:00
Bill Yi d5f5a8f3ec [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: dd88f81f35 -s ours am: e226e11197 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3f5e07024fca118e4cfbef22c0c5c5cacc90a105
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 17:44:54 +00:00
Bill Yi d68b8401c8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: be5be22279 -s ours am: 193d5d023b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I32cd5d6efc916e518474a7eae126a012ca9b151e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 17:44:41 +00:00
Bill Yi 19af99ffb1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f37892fb64 -s ours am: e33a1f17f2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic2b10b879b1bd3691d816e2a7555fa5f140350fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 17:44:25 +00:00
Bill Yi c9899181bc [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 46a3f371f7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idf05a97362dd51a0a58a6136f9d15a96da84e005
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 17:38:10 +00:00
Bill Yi 4af1252309 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d79e4e4a64 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ifa3084a3a4fe59e90e9996f212d42343b8a0fb1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 17:37:56 +00:00
Bill Yi f62ef50be9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a3c51faffb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I285569ad7dd18e46d3b222e2c59529bfd92c9773
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 17:37:40 +00:00
Bill Yi e226e11197 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: dd88f81f35 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id30ce4e4702ffbf9bd6cefc371180fd3c69d18f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 17:24:47 +00:00
Bill Yi 193d5d023b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: be5be22279 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib3e53346760f1ee48082829e9f6533e5fd749e14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 17:24:34 +00:00
Bill Yi e33a1f17f2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f37892fb64 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If1a9f0323518defa9f8cdc659864ea24c42937f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 17:24:20 +00:00
Bill Yi dd88f81f35 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-09-08 16:49:39 +00:00
Bill Yi 46a3f371f7 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev 2023-09-08 16:41:47 +00:00
Andy Wickham 3289e4fa35 Merge "Add tests for LPH override for 3 button mode Taskbar." into udc-qpr-dev 2023-09-07 23:43:42 +00:00
Bill Yi a0f18503b3 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-09-07 22:56:08 +00:00
Bill Yi 1c38d648c8 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-09-07 22:56:08 +00:00
Brian Isganitis 503f04f86d Register OnAttachStateChangeListener before attaching to container.
If we do the reverse, there is a change onAttach will occur before the
callback is registered and invokable (e.g. overlay window already exists
for EDU).

Test: Manual
Fix: 299335210
Flag: None
Change-Id: Ic4befe900c9582e1b01c2bc4699b431f95efa617
2023-09-07 19:15:10 +00:00
Bill Yi 1e1ab4e7e4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib5508c6ec154dcad7e0247518986b59cc019af1a
2023-09-07 04:03:48 -07:00
Bill Yi a3c51faffb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9895f1e56b44dd904263828be5005b071f530774
2023-09-07 04:03:25 -07:00
Bill Yi be5be22279 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7cec13a8320c4be2fbef45943c2032cceed0bf82
2023-09-07 04:03:00 -07:00
Bill Yi fce9627f8b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I98ba3bc9e380b26b739f8ff7f8ba8f33df4a92fc
2023-09-07 04:01:55 -07:00
Bill Yi d79e4e4a64 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8586e3e4ae3af316d530f0d56bda6baab12b6c53
2023-09-07 04:01:32 -07:00
Bill Yi f37892fb64 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I54b15d7cf57a0443735c55f93837e6bccd2cbd52
2023-09-07 04:01:08 -07:00
Thales Lima a0e0069cbd Merge "Use transient taskbar check in split screen" into udc-qpr-dev 2023-09-07 10:24:31 +00:00
Vadim Tryshev 2cd2e2dade Merge "Removing verifying motion events in TAPL" into udc-qpr-dev 2023-09-06 22:53:58 +00:00
Vadim Tryshev 4d3179706a Removing verifying motion events in TAPL
This allows us to simplify GestureScope.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I0ca0add5ef41ddd74a8fe3b4ebca10e0f866bf55
2023-09-06 13:08:31 -07:00
Vadim Tryshev 233ca49f80 Merge "Skiping view capture collection in Launcher3 tests to avoid hidden API check exception." into udc-qpr-dev 2023-09-06 17:38:50 +00:00
Brandon Dayauon 31679166a7 Merge "Add nullable annotation" into udc-qpr-dev 2023-09-05 16:50:38 +00:00
Schneider Victor-tulias 785a7511b6 Add error handling to prevent IllegalArgumentException
ActivityLaunchAnimator.Controller.fromView requires an instance of LaunchableView, however findViewWithBackground had no checks to return one. updated the check to make the exception less likely.

Flag: not needed
Fixes: 297564681
Test: ran launcher and launched apps
Change-Id: Iddbe55c1ff66b067f8456d058cbc60a2a698c4ae
Merged-In: Iddbe55c1ff66b067f8456d058cbc60a2a698c4ae
2023-09-05 13:58:42 +00:00
Saumya Prakash 88fbfe2af6 [automerger skipped] Ensure Gesture Nav Edu animation scales to fit different screen sizes am: 7146fc249f -s ours
am skip reason: Merged-In Iadee0d0389a11aa38c9e947b4b40466acd8f4422 with SHA-1 3ca10a1325 is already in history

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

Change-Id: I26da80a451e788e17425a46570b21cf91a8d075b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 13:48:52 +00:00