Commit Graph

559 Commits

Author SHA1 Message Date
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 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
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 bd372ae84b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9905f7a629d628d392a1a59d74cbf65baf401b58
2021-07-09 06:01:24 +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 8511d20778 Merge "NIU Actions: Add NIU Actions tooltip" into sc-dev am: 4e74ccb082 am: d5892fe778
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15126744

Change-Id: Ie50b7e962172162cae742568de2e3ceb319b9b5b
2021-07-08 07:58:51 +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 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
Jon Spivack d1da1ae4b4 Merge "NIU Actions: Add strings for assistant error dialogs and feature tooltip" into sc-dev am: b598e968e2 am: c5aac8ffd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15191924

Change-Id: I050e811bb3873d236fbcea155a27b4aebba4b833
2021-07-08 01:02:46 +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
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
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
Bill Yi 7f8a8f6ecd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9769b39a02aa7e2c5546b2dbf4cf6e35c13f8fb4
2021-07-07 16:30:28 +00:00
Bill Yi e30ceb51c3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I33c59d4011a6fb85b60166b632a4f84956acb66d
2021-07-04 19:09:41 +00:00
Bill Yi abfad49508 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0220ac1df352c3ae125d061ec8049e12478f091
2021-07-04 19:07:06 +00:00
Bill Yi 40de46d164 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I75d28d5faba5637572dd60621042f248c4584810
2021-07-03 03:17:18 +00:00
Bill Yi c99f040c03 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6adbd14a157d4bdd47aaf8fe8ca998da365802ad
2021-07-03 03:14:42 +00:00
Jon Spivack 71fc5d17f1 Merge "NIU Actions: Add privacy confirmation dialog" into sc-dev am: 4e0bc773c8 am: 7b1ea2a163
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15098029

Change-Id: I68e55d2cba548e122e1e1e1623d2dd75a74eaf8a
2021-07-01 13:43:27 +00:00
Jon Spivack 7b1ea2a163 Merge "NIU Actions: Add privacy confirmation dialog" into sc-dev am: 4e0bc773c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15098029

Change-Id: I0d70c01f6bbb1da53f12eeb8e5636739b185dd06
2021-07-01 07:24:28 +00:00
Jon Spivack b83b605fe8 Merge "NIU Actions: Add privacy confirmation dialog" into sc-dev am: 4e0bc773c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15098029

Change-Id: Id61d6c1b34fdb9ec50c085c17cba58b4e5c62fdc
2021-06-30 19:11:29 +00:00
Jon Spivack 4e0bc773c8 Merge "NIU Actions: Add privacy confirmation dialog" into sc-dev 2021-06-30 18:59:50 +00:00
Jon Spivack 58905b4f0a NIU Actions: Add privacy confirmation dialog
This adds a dialog to inform the user that the NIU Actions buttons need to send data to Google in order to function. The user can accept or reject this. The dialog will block use of the feature until the user accepts.

Bug: 191818216
Test: Manual (Pixel 3A with multiple user profiles)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: Iedd056ce239de5269d02a31d28a9778efae34ede
2021-06-29 18:29:22 -07:00
Steven Ng 01f9ec2f28 Merge "Use category icon for pending conversation widgets" into sc-dev am: d35dcdec05 am: 96702f890b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142493

Change-Id: Ic6ba5276953565c2d68b53188f7d2e74a05172dd
2021-06-29 23:26:36 +00:00
Steven Ng 96702f890b Merge "Use category icon for pending conversation widgets" into sc-dev am: d35dcdec05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142493

Change-Id: I9add1a6bef277a7be2f04406946ff8dd19fcb64e
2021-06-29 23:16:01 +00:00
Steven Ng 47c3cb02d5 Merge "Use category icon for pending conversation widgets" into sc-dev am: d35dcdec05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142493

Change-Id: I39b454ae03ea578178bf1a3df0b9c741688aceb7
2021-06-29 23:15:31 +00:00
Steven Ng 12f7a59e5c Use category icon for pending conversation widgets
Fix: 192333050
Test: Manual
Change-Id: Ie3895cd4747f1bec1c8ca9af82347bb0eafa7415
2021-06-29 18:04:09 +01:00
Bill Yi f7ae5338a2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaaa12594b95afa443e7bcc3de6aa927f48ba1716
2021-06-24 19:52:49 +00:00
Bill Yi ce114e05f3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib7e8679556fb83c611f7fccbf7bf2d7664cd9621
2021-06-24 19:50:04 +00:00
Rajeev Kumar 8c18cf691b Merge "NIU Actions: More specific permissions error codes" into sc-dev am: deeab12791 am: 171c1a3404
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055618

Change-Id: I341b6816a7f74d5086a2cc556401066848589b72
2021-06-22 04:10:25 +00:00
Rajeev Kumar 71196e0585 Merge "NIU Actions: More specific permissions error codes" into sc-dev am: deeab12791
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055618

Change-Id: Ieb18e49a0f9a6e5dd4bd15c06e101dfe5088f28a
2021-06-22 04:09:47 +00:00
Rajeev Kumar 171c1a3404 Merge "NIU Actions: More specific permissions error codes" into sc-dev am: deeab12791
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055618

Change-Id: I3c728a5591c4a1e617585752dd7e7a1493995e1d
2021-06-22 04:09:15 +00:00
Rajeev Kumar deeab12791 Merge "NIU Actions: More specific permissions error codes" into sc-dev 2021-06-22 03:50:26 +00:00
TreeHugger Robot 0e9e8f114a Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12 am: 6ee3ed063f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: I64bef48746bdf8233e4b178aa3309da81a3cb3fa
2021-06-22 00:51:41 +00:00
TreeHugger Robot 790a623849 Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: I9cd5bf607f45fc976659c63ff6f3bc6acb4b05de
2021-06-22 00:37:39 +00:00
TreeHugger Robot 6ee3ed063f Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: Ie2543915b3b7227626ba016a48118e3f19aa5634
2021-06-22 00:37:35 +00:00
Jon Spivack 02bbd80ee9 NIU Actions: More specific permissions error codes
The user must enable two different Assistant permissions for the NIU Actions feature to function. Previously, a single error code was sent if either permission was missing. Now a different code is sent depending on which permission is missing, allowing Google Go to better direct the user to the proper setting.

Bug: 191109150
Test: Manual (Pixel 3A)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: Id301ffddf36b992b5722c52ccc6e597e003942dd
2021-06-21 16:49:40 -07:00
Jon Spivack 2a2eee1949 NIU Actions: Update background and dark mode colors
This updates the Recents screen to use the default background colors and updates the NIU Actions buttons to better contrast with the background in dark mode.

Bug: 191049004
Test: Manual (Pixel 3A)
Change-Id: I8aef9968623be373fb71a729a0b99a7b9899cff1
2021-06-21 15:54:05 -07:00
Jon Spivack f5d637d098 Merge "Send NIU Actions Intents to default Assistant" into sc-dev am: 3e48c63180 am: adb1e11d74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14940621

Change-Id: I22eee774fbbdd1584e1008d58c504cc74e30ffc6
2021-06-14 18:37:04 +00:00
Jon Spivack adb1e11d74 Merge "Send NIU Actions Intents to default Assistant" into sc-dev am: 3e48c63180
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14940621

Change-Id: Iebc9fa87b39f213453503305fdc075a6c093db6b
2021-06-14 18:22:54 +00:00
Jon Spivack 7122e96640 Merge "Send NIU Actions Intents to default Assistant" into sc-dev am: 3e48c63180
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14940621

Change-Id: I6ecc08c16c11b277b628b71b2056146a202e2f8b
2021-06-14 18:22:51 +00:00
Jon Spivack 77edb686d7 Send NIU Actions Intents to default Assistant
This changes the recipient for NIU Actions from a package hard-coded in a config file to the currently selected default Assistant. The user can change this under Settings -> Default apps.

ImageActionUtils has also been updated to handle the case where its
Intents cannot be resolved, preventing a crash if the user sets the
default Assistant to something that cannot receive NIU Actions.

Bug: 186655099
Test: Manual (Pixel 3A, set default Assistant to Google Go and None)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I03b93597092575902d507615f32b63f4050c4c69
2021-06-11 13:58:57 -07:00
Jon Spivack 10242f7378 Merge "TaskOverlayFactoryGo: Keep persistent instance of AssistContentRequester" into sc-dev am: b7cecf8a90 am: 47229933c7 am: 9fb00f09bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803962

Change-Id: Ida9ec2f681a63ec1967970d06c45963809d3e130
2021-06-03 03:09:44 +00:00
Jon Spivack ea61dfb098 Merge "TaskOverlayFactoryGo: Keep persistent instance of AssistContentRequester" into sc-dev am: b7cecf8a90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803962

Change-Id: Idf82c8d5d5d7ffb646fbaeb0403bf9ac42c7b1ce
2021-06-03 02:33:16 +00:00
Jon Spivack 47229933c7 Merge "TaskOverlayFactoryGo: Keep persistent instance of AssistContentRequester" into sc-dev am: b7cecf8a90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14803962

Change-Id: Ie7c8791e8a57003b176a09909a78a9474e7edd95
2021-06-03 02:33:06 +00:00
Jon Spivack 1bd7ccd90b TaskOverlayFactoryGo: Keep persistent instance of AssistContentRequester
Holding a reference to AssistContentRequester prevents it from being deleted by the garbage collector while it is still in use.

Bug: 189985872
Test: Manual (Pixel 3A)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I204aab907175a171c496c3bd146a8b23d2bbcf16
2021-06-02 16:40:09 -07:00
Rajeev Kumar 9538c01d98 Merge "NIU Actions: Support Dark Mode and Landscape" into sc-dev am: f6e138cf21 am: 1ff0ae14c4 am: 8d84448b8b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14753495

Change-Id: I64f46e685beb024b4a0749c4a964cd029428a81f
2021-06-01 20:23:54 +00:00
Rajeev Kumar 8d84448b8b Merge "NIU Actions: Support Dark Mode and Landscape" into sc-dev am: f6e138cf21 am: 1ff0ae14c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14753495

Change-Id: I99e2fd8ba23b9f9eec0dfcd296b824d39b5a1c7e
2021-06-01 20:03:26 +00:00