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
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
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
Rajeev Kumar
85e89fceab
Merge "NIU Actions: Support Dark Mode and Landscape" into sc-dev am: f6e138cf21
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14753495
Change-Id: I09352c85b20cdad4b715ba58e7bb783bcf3d3be7
2021-06-01 19:48:27 +00:00
Rajeev Kumar
6a4f517315
Merge "NIU Actions: Support Dark Mode and Landscape" into sc-dev am: f6e138cf21
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14753495
Change-Id: Ib73d27c843577c4744f8693319f6fa938a02ada6
2021-06-01 19:48:16 +00:00
Rajeev Kumar
f6e138cf21
Merge "NIU Actions: Support Dark Mode and Landscape" into sc-dev
2021-06-01 17:43:43 +00:00
Jon Spivack
3c15800e1d
Merge "NIU Actions: Do not send image URI when sending error code" into sc-dev am: 55cca920e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14752490
Change-Id: Ibee8a9dc6413b76c84a1acd0128201ef4d531c7a
2021-05-28 16:32:20 +00:00
Jon Spivack
609970d467
Merge "NIU Actions: Do not send image URI when sending error code" into sc-dev am: 55cca920e0 am: d01f9d4817 am: 697c5190a7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14752490
Change-Id: I7678ffed64cada4a40d718f2c1e5e99abfd91494
2021-05-28 04:07:55 +00:00
Jon Spivack
d01f9d4817
Merge "NIU Actions: Do not send image URI when sending error code" into sc-dev am: 55cca920e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14752490
Change-Id: Ia2dfb89221febe58a8890569a373a6cf1adec444
2021-05-28 03:05:01 +00:00
Jon Spivack
55cca920e0
Merge "NIU Actions: Do not send image URI when sending error code" into sc-dev
2021-05-28 01:14:21 +00:00
Jon Spivack
1e1f85beff
NIU Actions: Support Dark Mode and Landscape
...
This adds light and dark color variants for the UI elements on the Go Recents screen. Toggling Dark Mode will switch between the themes. Additionally, the button spacing definitions have been updated to better support Landscape orientation.
Bug: 187866121
Bug: 183714277
Test: Manual (Pixel 3A)
Change-Id: Ia2c0cbf372882aad87e4018d10d8f85bd92842e0
2021-05-27 16:23:51 -07:00
Jon Spivack
6eb0186616
NIU Actions: Do not send image URI when sending error code
...
In the case of a permissions denial, we do not send a screenshot in the NIU Actions Intent. Previously, we sent a fake URI to fit with existing recipient Intent filters, but the recipients have been updated to no longer require this.
Bug: 186780965
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I7cf92a03946e1663150f963fcea7f6b92833da68
2021-05-27 14:39:16 -07:00
Bill Yi
d9217b1eb8
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I2dd26d4f0076d933151923ca9ece40baa855385b
2021-05-25 22:40:09 +00:00
Bill Yi
1276d7b8d7
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I49ec409fe6df98ada02d378db1f652f5a7e0b278
2021-05-25 22:37:31 +00:00
Jon Spivack
fed2572bd4
Merge "Disable NIU Actions on Work Profile apps" into sc-dev am: fea72152fd am: 0ec4a5af69 am: f6068a0949
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14610102
Change-Id: Iaabb1245ea0a98be3a7ad3d094b0c6f8bd9c6b2e
2021-05-20 22:10:27 +00:00
Jon Spivack
f6068a0949
Merge "Disable NIU Actions on Work Profile apps" into sc-dev am: fea72152fd am: 0ec4a5af69
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14610102
Change-Id: I81c327dad116fb94fb4010896f6f0fbbd0ee39e4
2021-05-20 21:52:50 +00:00
Jon Spivack
bc7589ed7a
Merge "Disable NIU Actions on Work Profile apps" into sc-dev am: fea72152fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14610102
Change-Id: I0c0132599ad4a26dc2053c29aa49275dc9025bb3
2021-05-20 21:38:31 +00:00
Jon Spivack
1dc5c439f1
Merge "Disable NIU Actions on Work Profile apps" into sc-dev am: fea72152fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14610102
Change-Id: Ibaf041bad8c6ef553d0f3aca9436137d3a232a8a
2021-05-20 21:38:19 +00:00
Jon Spivack
fea72152fd
Merge "Disable NIU Actions on Work Profile apps" into sc-dev
2021-05-20 21:16:22 +00:00
Jon Spivack
f344e016b8
Merge "NIU Actions and Recents UI updates on Go" into sc-dev am: a44bb71d95 am: 640e9a58ff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14557516
Change-Id: I7b4b5f4b1fb3bbce38ed9c8fff15853c734d4746
2021-05-20 04:39:52 +00:00
Jon Spivack
cdbaea4486
Disable NIU Actions on Work Profile apps
...
If the currently selected Recent app belongs to a Work Profile, do not allow the user to invoke any of the overview actions. Instead, show the standard blocked by policy message (R.string.blocked_by_policy).
Bug: 187491010
Test: Manual (Pixel 3A)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I552da9512ab19993eb4bb65fe9269d2aee9f0c4e
2021-05-19 14:58:27 -07:00
TreeHugger Robot
30df7e2205
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-05-19 02:43:31 +00:00
Bill Yi
d6ea39c859
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I86e66bd20a2e54469971095f755444c79a0da461
2021-05-18 23:13:26 +00:00
Bill Yi
0a044199ec
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I638f862f37915af69371535dd0792ae5d59c2c3b
2021-05-18 23:10:48 +00:00
Jon Spivack
640e9a58ff
Merge "NIU Actions and Recents UI updates on Go" into sc-dev am: a44bb71d95
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14557516
Change-Id: I2aa86efcfb1b04987008cd9837ba889adad5c008
2021-05-18 18:23:07 +00:00