Commit Graph
34231 Commits
Author SHA1 Message Date
Steven Ng 352eefaf78 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: Id25745764d26499dedb3c73c75362015157f962f
2021-07-13 14:09:18 +00:00
Steven Ng 372e85106d Merge "Fix shortcut size calcuation" into sc-dev 2021-07-13 13:59:41 +00: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 5400be4984 [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: I5b19a09d7e89bb2a31cd01166fb98f1518d367a7
2021-07-13 09:05:19 +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 04fd845ee3 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: Iecffb70e9ff27f9583067ceb5f292bef96b76c2e
2021-07-13 05:19:38 +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 81b20765b7 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: I579b9de68a1e7c94f91df6a8d9627809a8b12a67
2021-07-13 01:20:16 +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 3bb05dd3dc 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: I8a1cd3a27060b92a00cac7633598b431ed7332a3
2021-07-12 20:57:40 +00:00
Vadim Tryshev 1d495b2480 Merge "Deleting screen records for succeeded tests" into sc-dev 2021-07-12 20:47:53 +00:00
Hyunyoung Song 1663b2fd1c 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: I1e931c1ea8a49ea3018276d11432170e26051fac
2021-07-12 17:14:32 +00:00
Hyunyoung Song d2182b242b Merge "Edu card spec polish" into sc-dev 2021-07-12 17:00:43 +00: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
Steven Ng 9f87739841 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: I8265f77f5c057f4e8169858477881ecd2e68c945
2021-07-12 13:15:04 +00: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 200242919e [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: I2d48b8c438d3cc03a371107777aa57cfa381c2b2
2021-07-12 07:15:43 +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 2e16314038 [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: Iad0fe06f64dddb398de313310fa6a274af8074e9
2021-07-11 02:10:01 +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 cbe71f0eff 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: I710a00ff8bda43467c0310f42978e4635eff6434
2021-07-10 16:24:08 +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 37a87fd6c1 [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: Ie64814601db045b40a4850ea1102a1e048c84753
2021-07-10 02:14:53 +00:00
Bill Yi a5b09e335f [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: I1f51b7fbd357dc841f04a23c6377a8333f196af1
2021-07-10 02:14:49 +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
Bill Yi f3ed8298e0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: bd372ae84b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2495ecc939d79bee8e310594519db4fa99ec9cab
2021-07-09 07:59:40 +00:00
Bill Yi bd372ae84b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9905f7a629d628d392a1a59d74cbf65baf401b58
2021-07-09 06:01:24 +00:00
Hyunyoung Song dc7f4623e5 Edu card spec polish
Bug: 193134601
Test: manual
Change-Id: Ibcc053b5006d36efd97fb75f6474fb8c8a5c24a4
2021-07-08 22:21:11 -07:00
Winson Chung ceedb94765 Merge "Fix crash when handling recents animation canceled" into sc-dev am: d489a4b6e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15236027

Change-Id: I8e5ac504960a690a32c9415f0b8ae8ef8bc909c0
2021-07-08 21:35:08 +00:00
Winson Chung d489a4b6e9 Merge "Fix crash when handling recents animation canceled" into sc-dev 2021-07-08 21:21:37 +00:00
Hyunyoung Song 8fb5a9fc48 Merge "Update work fab radius to match height" into sc-dev am: 7d439991cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15226173

Change-Id: I9ebc67d5dbe9dba045e3ae6fee5ca0389426d615
2021-07-08 18:38:48 +00:00
Hyunyoung Song 7d439991cc Merge "Update work fab radius to match height" into sc-dev 2021-07-08 18:25:17 +00:00
TreeHugger Robot dc5d8cc23e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 15b9e0e493 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I16fa138ec2596784c2e35e7e54b4071cc8cbae4b
2021-07-08 18:14:46 +00:00
TreeHugger Robot 15b9e0e493 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-08 18:04:16 +00:00
TreeHugger Robot ee433325e7 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 2103c1ba89 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I570cebfebe91872d22c071c479b3b279ac52f764
2021-07-08 17:58:23 +00:00
TreeHugger Robot 2103c1ba89 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-08 17:47:06 +00:00
Winson Chung 255fe1ea45 Fix crash when handling recents animation canceled
- If Launcher finishes the animation, that also cleans up the screenshot
    on the server side, so we can skip calling it

Fixes: 192684578
Test: N/a, adding a null check
Change-Id: I8bf1ad5089762469697d14842cc14c184055e925
2021-07-08 10:12:34 -07:00
Bryan Bonnet 8a5234f763 Merge "Update CachingWidgetPreviewLoaderTest members to be non-static. These classes are stubbed by roboelectric so they cannot be static" into sc-dev am: 8fc2d80a32
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15226443

Change-Id: I8679f541141ba48d66d7499fead7eb2921d32dfa
2021-07-08 15:35:35 +00:00
Bryan Bonnet 8fc2d80a32 Merge "Update CachingWidgetPreviewLoaderTest members to be non-static. These classes are stubbed by roboelectric so they cannot be static" into sc-dev 2021-07-08 15:24:57 +00:00
Bill Yi f7c6ae0e37 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1f29c71229eb05b6264037308bf59184603388a7
2021-07-08 15:15:35 +00:00
Bill Yi 3b8d6cfda2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I549f22555e9238bd4b47112e6076a1cba6e67a9a
2021-07-08 15:14:54 +00:00
Ashish Gupta d5892fe778 Merge "NIU Actions: Add NIU Actions tooltip" into sc-dev am: 4e74ccb082
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15126744

Change-Id: I877d9fe09a2a2d658ea38ef2191e7bb2c8b47393
2021-07-08 07:41:22 +00:00
Ashish Gupta 4e74ccb082 Merge "NIU Actions: Add NIU Actions tooltip" into sc-dev 2021-07-08 07:30:01 +00:00
Hyunyoung Song b02ca15d3b Merge "Accessibility bug fixes for the snack bar" into sc-dev am: 3b54044300
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15225870

Change-Id: Ibdaf4fa6171bce45a7089f945c008d5915eae418
2021-07-08 07:04:29 +00:00
Hyunyoung Song 3b54044300 Merge "Accessibility bug fixes for the snack bar" into sc-dev 2021-07-08 06:01:09 +00:00
Jon Spivack c5aac8ffd8 Merge "NIU Actions: Add strings for assistant error dialogs and feature tooltip" into sc-dev am: b598e968e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15191924

Change-Id: I3e7ae1788bea94edbca08a259825f96b874e47b7
2021-07-08 00:49:47 +00:00