Commit Graph

33653 Commits

Author SHA1 Message Date
Hongwei Wang 70d4e3e2df Use display cutout info in auto-enter-pip transition
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ic191fc73597132a5119522dda477a4319e35d1c8
2021-07-13 13:22:42 -07:00
TreeHugger Robot a4821a0bb8 Merge "Fix hole in recycler view" into sc-dev am: 3d6d2e38b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15270060

Change-Id: I7bf9cd8b3ed98c086b0496ce84f5f41d312d68dc
2021-07-13 19:16:02 +00:00
TreeHugger Robot 3d6d2e38b0 Merge "Fix hole in recycler view" into sc-dev 2021-07-13 19:05:22 +00:00
Hyunyoung Song b6acd14d0f Fix hole in recycler view
Bug: 153780395
Test: manual

Without this change, typing single character and then
backspace, and then scrolling down and up will result in
hole in recycler view.

Change-Id: Iff6fa3f147d8bfdb8a7e84847b96e5390941dd4e
2021-07-13 09:51:42 -07:00
Thales Lima c7c1ea8ac8 Merge "launcher: use correct preference key on SettingsChangeLogger" into sc-v2-dev 2021-07-13 14:57:14 +00:00
Steven Ng 16c9ebabbf Merge "Fix shortcut size calcuation" into sc-dev am: 372e85106d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259646

Change-Id: I5b37dc1971d67afbc3923774db2256459e389ae6
2021-07-13 14:10:25 +00:00
Steven Ng 372e85106d Merge "Fix shortcut size calcuation" into sc-dev 2021-07-13 13:59:41 +00:00
Thales Lima 1f06c5b457 launcher: use correct preference key on SettingsChangeLogger
The previous key was related to hotseat and not to the workspace size.

Fixes 184981523
Test: debugging and logcat logging

Change-Id: I445264ac0c4fb9ab99e31f96b7257271b730e2da
2021-07-13 13:46:20 +01:00
Steven Ng 6fe115b2ae Fix shortcut size calcuation
Shortcut size should be the size of all apps icon + padding

Test: Check shortcuts and widgets are shown without crash in the
      following surfaces with display & font set to largest and
      display cutout enabled. Repeat the same test with normal
      display setting and no cutout.
      1. Full widgets picker
      2. Bottom widgets picker
      3. Pin widget dialog
Fix: 193422438
Change-Id: Ibfebf94e92eed5e9cd1dd4196d98823b0e4dda6b
2021-07-13 12:46:31 +01:00
TreeHugger Robot e23dd92a55 Merge "Remove debug logs for b/193125090" into sc-v2-dev 2021-07-13 10:07:24 +00:00
TreeHugger Robot fb0492b7f0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: d4d1a47893 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I886c7a94faff7041b1d4f2aa236eb8fd91d7670c
2021-07-13 09:06:12 +00:00
TreeHugger Robot d4d1a47893 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-13 08:50:05 +00:00
Bill Yi 2ad8a31402 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4b7ebce75701bfc23b7c65ed6d03eed16c94f26d
2021-07-13 07:23:22 +00:00
TreeHugger Robot fc98f27759 Merge "Add accessibility announcement when user clicks on 'Add automatically to home screen' button" into sc-dev am: 972ab9327c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15242979

Change-Id: Ie8a852ed4ac0d2856a1afc2a33aca3b6905dc9da
2021-07-13 05:20:29 +00:00
TreeHugger Robot 972ab9327c Merge "Add accessibility announcement when user clicks on 'Add automatically to home screen' button" into sc-dev 2021-07-13 05:06:10 +00:00
TreeHugger Robot cc528c1767 Merge "NIU Actions: Add assistant error dialogs" into sc-dev am: ccd3026485
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15246681

Change-Id: I0a7c6c4f439bcd707c4737af14759060cbc1b484
2021-07-13 01:21:08 +00:00
TreeHugger Robot ccd3026485 Merge "NIU Actions: Add assistant error dialogs" into sc-dev 2021-07-13 01:05:03 +00:00
Jon Spivack 8bf8ba735a NIU Actions: Add assistant error dialogs
The NIU Actions buttons send intents to the user's default assistant. If the user clicks one of the buttons without an appropriate default assistant set, a dialog will appear to explain the situation and redirect the user to Settings.

The existing privacy confirmation dialog code has been refactored into a reusable dialog, which is used here.

Bug: 192505939
Test: Manual on local Pixel 3A (unit tests to be added in b/192406446)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I7b43e008aa74805b166c09936fa938a5834c8460
2021-07-12 16:23:46 -07:00
Vadim Tryshev ef21ccb501 Merge "Deleting screen records for succeeded tests" into sc-dev am: 1d495b2480
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15193183

Change-Id: I9bdb02ea4e02976f78984c1b998f93b48cfa5386
2021-07-12 20:58:36 +00:00
Vadim Tryshev 1d495b2480 Merge "Deleting screen records for succeeded tests" into sc-dev 2021-07-12 20:47:53 +00:00
Alex Chau 4e3460b866 Remove debug logs for b/193125090
Bug: 193125090
Test: manual
Change-Id: I7758347d7b775e8d8b0926e8f0d8723c7af2c942
2021-07-12 18:48:34 +01:00
Steven Ng a3b942972f Merge "Set max 2 lines for buttons shown in AddItemActivity" into sc-v2-dev 2021-07-12 17:18:54 +00:00
Hyunyoung Song 13f7b6fd8b Merge "Edu card spec polish" into sc-dev am: d2182b242b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15241593

Change-Id: Ia1a0dad6ab859a51b3997309ab0f31bb3ef1c828
2021-07-12 17:15:10 +00:00
Hyunyoung Song d2182b242b Merge "Edu card spec polish" into sc-dev 2021-07-12 17:00:43 +00:00
Steven Ng c53393332f Set max 2 lines for buttons shown in AddItemActivity
Fix: 192620445
Test: Manual
Change-Id: I6ad9b408c17aa81d714143cdaef63da95b0729dc
2021-07-12 16:31:40 +01:00
Alina Zaidi dfa2752d28 Add accessibility announcement when user clicks on 'Add automatically to
home screen' button

Test: Tested manually with talkback on
Bug: 192808036
Bug: 192811245
Change-Id: I1c02738e0e4755b3bbdde12dad96ac2ed1996e6c
2021-07-12 15:37:13 +01:00
Alex Chau cd777a3f45 Merge "Refresh Task overlay when thumbnail is refreshed" into sc-v2-dev 2021-07-12 14:37:08 +00:00
Steven Ng 8c88c7727d Clear WidgetCell#mItem before recylcing a WidgetCell am: fbb82586a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15255729

Change-Id: Idd16082d13bb695966e424d6f140b75ba766359a
2021-07-12 13:15:47 +00:00
Alex Chau 4818bc42cd Refresh Task overlay when thumbnail is refreshed
- TaplTestQuickStep.testOverviewActions is failing on cuttlefish large screens due to overview actions being disabled by NO_THUMBNAIL, which should be caused by thumbnail being loaded after overlay is enabled, a overlay refresh after thumbnails is loaded should fix the problem

Bug: 193125090
Test: manual
Change-Id: I3fa8093012c3d22adac49e5e0716576706a85dfa
2021-07-12 12:29:53 +01:00
Steven Ng fbb82586a7 Clear WidgetCell#mItem before recylcing a WidgetCell
This fixes a bug which reuses a previous widget item spans to
compute the preview size.

Fix: 193133048
Test: manual
Change-Id: I5459882e258dc010898854dbbe52a6fa8d84796c
(cherry picked from commit 3d27207ff6)
2021-07-12 10:29:56 +00:00
Bill Yi da5fcc3e4e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 47288bfe0d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I530a1cb73896b5b30118e2225e747f266624beff
2021-07-12 07:16:19 +00:00
TreeHugger Robot c8336ad832 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-12 06:45:07 +00:00
TreeHugger Robot eaee89f7e8 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-12 06:45:05 +00:00
Bill Yi f4f1524aca Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9c005fe014578a41b5bd9f58ab6ec39fa96cfd9d
2021-07-11 20:41:46 +00:00
Bill Yi 9058bab50a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7f0f548bca06a56841f9b685535ba097a8a1a72d
2021-07-11 20:40:34 +00:00
Bill Yi 47288bfe0d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iffe4974f900e1fe5c7062f5ecb0ad3e322286cfa
2021-07-11 20:40:07 +00:00
Bill Yi 245ff83c1a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2dfcca21fa6e48a58f9368ab156718ce2a897f1c
2021-07-11 20:39:16 +00:00
Bill Yi 6081806d8a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8766f649c7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2a14135c5f0fdcee0080cdc1160ac5c870da0e6b
2021-07-11 02:10:50 +00:00
Bill Yi 8766f649c7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic76c41ac95bc3b018c732775aad6355466292f6e
2021-07-10 23:40:55 +00:00
Tracy Zhou 6ea9ed5f08 End live tile for overview actions in Android Go am: e23157bbb0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15249978

Change-Id: I4421b4322f7e1ec8cfc73dd70605512fab08dda0
2021-07-10 16:25:00 +00:00
Alex Chau f4b2b2d304 Merge "Refine logs for debugging TaplTestQuickStep.testOverviewActions on cf_foldables" into sc-v2-dev 2021-07-10 10:30:27 +00:00
Tracy Zhou e23157bbb0 End live tile for overview actions in Android Go
Fixes: 193275019
Test: N/A
Change-Id: I0c22e557face73f656273da4fec4521a9c86d606
2021-07-10 07:13:58 +00:00
TreeHugger Robot baaffd5e11 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 65471b8862 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9160a98380edc735e4eac2f4835bb4317d2dea3d
2021-07-10 02:15:56 +00:00
Bill Yi 788340e3e1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 87b7808321 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iaf85fa94849c4181ccc982683995f0b800e02c87
2021-07-10 02:15:52 +00:00
TreeHugger Robot 65471b8862 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-10 02:05:11 +00:00
Bill Yi 25acfb5667 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I94fb2323a7f88c1416ee2243ca6ea8b5ce521c86
2021-07-10 00:38:41 +00:00
Bill Yi 87b7808321 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I361ad941be6cee10767bd2f6a5e16e470269de85
2021-07-10 00:38:13 +00:00
Steven Ng ac21df2246 Merge "Clear WidgetCell#mItem before recylcing a WidgetCell" into sc-v2-dev 2021-07-09 22:16:03 +00:00
Steven Ng 3d27207ff6 Clear WidgetCell#mItem before recylcing a WidgetCell
This fixes a bug which reuses a previous widget item spans to
compute the preview size.

Fix: 193133048
Test: manual
Change-Id: I5459882e258dc010898854dbbe52a6fa8d84796c
2021-07-09 17:45:19 +01:00
Alex Chau 1e767a6ecc Refine logs for debugging TaplTestQuickStep.testOverviewActions on cf_foldables
- The failure is not reproducible locally, thus requires adding logs and check ATP result
- Removed some redundant logs
- Changed to log at VERBOSE
- Added extensive logging to all visibility/enable/alpha setter of ActionsView

Bug: 193125090
Test: Manual
Change-Id: I5b449a7f86ea4cef65e0e46de4b389deef9f53f3
2021-07-09 13:32:49 +01:00