Commit Graph

33651 Commits

Author SHA1 Message Date
TreeHugger Robot 90bbd554d4 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: Id36b82b87462decc607f3221daa5be4d23601280
2021-07-13 01:19:41 +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 7975bc9773 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: I2ca8c5f84a216c2863eadf132bc88479665daf58
2021-07-12 20:57:36 +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 c2db30e23a 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: I6d00315e8864dfd670c21c5f578fef4f20219e85
2021-07-12 17:14:13 +00:00
Hyunyoung Song d2182b242b Merge "Edu card spec polish" into sc-dev 2021-07-12 17:00:43 +00:00
Steven Ng 256abbfabb 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: I75a02b246857cdef16d2324f4ab5937cf7423417
2021-07-12 13:14:49 +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 d19497f50f [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: I7aa60a1411295af471f0edcc895d30734dbbca51
2021-07-12 07:15:19 +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 7c4de60d29 [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: I11e0884e414d478afcfee0c47ad63f1e8602fb40
2021-07-11 02:10:10 +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 d81e77f889 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: I1cb98c8036d02d2e43cf761836c608a8d48880d7
2021-07-10 16:24:04 +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 757c26b88b [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: I4a27f16ffca9b9853c35fb2d0fdf4901b1abad5b
2021-07-10 02:15:05 +00:00
Bill Yi fca523ef27 [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: I6ff4a1d523f731609d28f9cecea9419228d66408
2021-07-10 02:14:39 +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 d9f082b199 [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: I45c6555e88141dac4a60650d39e679a10c8e4983
2021-07-09 07:59:37 +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 8bc154a46b 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: I78d91a68981eca28e1483498571b8a3e19548a79
2021-07-08 21:34:55 +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 2d0d05cbd9 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: Ic5e9278fc94efcf38686b8b59eefc5694a99f2fd
2021-07-08 18:38:52 +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 c02516a9ff [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: I84d5928a0c46b9f7237161494a0c0319b4d48727
2021-07-08 18:14:53 +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 ebe69bf7a6 [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: Ie6e05f5f86146ee2bb3dc582b721e0e92f92de6a
2021-07-08 17:58:20 +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 305b02fd4f 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: I5a35c7e5f5cf2373c26394b9fd5adb02636f52c0
2021-07-08 15:35:39 +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 646218ebf6 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: I3229482f572feb6e5fbfa8fc338bad23a9525c45
2021-07-08 07:41:46 +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 b2b6cefbee 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: If12cf2868555737a417615d6d9a1dea084ecdec2
2021-07-08 07:04:32 +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 c5cf6af50a 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: Iaefc2afcb17e198ff4498241d76c6594b3eeb972
2021-07-08 00:49:03 +00:00
kumarashishg 88be649d21 NIU Actions: Add NIU Actions tooltip
These tooltips are added to educate the user about NIU buttons actions. We have added tooltips for Translate and Listen NIU actions buttons.

Bug: 186006700
Test: Manual
Change-Id: Ib076c2a44055b62f2daf06bddf45aca220a28756
2021-07-08 00:48:22 +00:00
Jon Spivack b598e968e2 Merge "NIU Actions: Add strings for assistant error dialogs and feature tooltip" into sc-dev 2021-07-08 00:39:08 +00:00
Bryan Bonnet 3341a710d9 Update CachingWidgetPreviewLoaderTest members to be non-static. These classes are stubbed by roboelectric so they cannot be static
Bug: 183335046
Change-Id: Iafb52f87e8e3ece399f4e83c056b2a0dac160d6c
2021-07-07 23:55:42 +00:00
Samuel Fufa ae8462afb5 Update work fab radius to match height
Bug: 192666217
Test: presubmit
Change-Id: I948cab4ce5477eed68480daf70570851d9715006
2021-07-07 18:26:22 -05:00
Jon Spivack 9be8d842bd NIU Actions: Add strings for assistant error dialogs and feature tooltip
The assistant error strings will be used in dialogs that appear when the user clicks the NIU Actions buttons without an appropriate default assistant set on the device. The tooltips will appear to highlight and explain the feature for first-time users. Adding the strings before the dialogs themselves in order to unblock translation efforts.

Bug: 192505939
Bug: 186006700
Test: Manual (code builds, existing strings unchanged on device)
Change-Id: I2c37b5871545e99a6bba8d060c927cbd29ef5081
2021-07-07 22:48:22 +00:00
Hyunyoung Song 675b2b6748 Accessibility bug fixes for the snack bar
Bug: 192639465
Bug: 192598846
Test: scanned using accessibility scanner and verified no issue detected

Change-Id: If776a68f7c4c421cdb51ec3eb4f05648ab1ed5c1
2021-07-07 15:36:05 -07:00
Vinit Nayak 79ef1e59a5 Merge "Set correct divider dimension for task menu options" into sc-dev am: 7d0826f3d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164589

Change-Id: I87ad2a546167527cd3dbf2c604e335a0247801ce
2021-07-07 20:12:28 +00:00
Vinit Nayak 7d0826f3d1 Merge "Set correct divider dimension for task menu options" into sc-dev 2021-07-07 19:56:56 +00:00
TreeHugger Robot 8d36eb6f8b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: f6ab2815fa -s ours
am skip reason: subject contains skip directive

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

Change-Id: I574a6bde35e6688d963b1cffbd20b64450af8f48
2021-07-07 18:15:04 +00:00