Commit Graph

153 Commits

Author SHA1 Message Date
Bill Yi 2eaba8e9da Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0bf519996c9147d1f6d816d07eac85a7e0e3801e
2022-12-16 04:45:45 -08:00
Bill Yi cfcb55b6f7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4b5010c13a5e0a79c1ca8d900f0963595ee6e50c
2022-11-16 02:39:00 -08:00
Bill Yi 71873ccbf4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id3b44a295ea0b23167a3d0bc1f48a15d2109dea1
2022-10-15 09:49:12 -07:00
Bill Yi 72fd10fc21 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I831d74eb12eb04a22cd1d8b2747ea300d9dcb351
2022-08-25 11:19:56 -07:00
Bill Yi d71e842d9a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia2348770adf43d252ca35151820ad9084b418f9c
2022-08-07 03:48:47 -07:00
Bill Yi 68a73b6d18 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ief1a528305dbb9edd90c8473417ad4a8e2b8ec1e
2022-07-21 20:01:02 -07:00
Bill Yi 7c74b797b5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I275d1a61d58b6c7243c6cd87a976183e39dff005
2022-07-13 21:19:05 -07:00
Bill Yi f0a1713fb3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic5c7e0e60e0e48efd8c5d4a70730d74bd1bb5502
2022-04-12 21:23:24 +00:00
Bill Yi 8d2798b2b7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I36d108c06cfbb8987c1afdd8166a08ab5b3b049a
2022-03-24 05:37:04 +00:00
Bill Yi 294ebbca19 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I759b7d4db0e74540ff60265ec53766a0db9b6a22
2022-03-17 03:01:21 +00:00
Bill Yi 1d3ae1d1e6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie150b3dc37414641231ea3209b6ffc6d33712c3d
2022-03-02 19:27:01 +00:00
Bill Yi 525330faa9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I708e7a89590fb1d0fb8d26d1cc00b310602e0ca5
2021-11-05 22:13:55 +00:00
Bill Yi 7dc44969e0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaf3e36a467591f5525ca71ce72559f26c35ab51b
2021-10-30 01:25:30 +00:00
Jon Spivack 688621498a P2P App Sharing: Gray out disabled SystemShortcut
The Share App system shortcut is disabled for apps that are deemed unshareable. This updates the UX to gray out the shortcut instead of hiding it. When the user clicks on the grayed out shortcut, a Toast message is displayed. This update also enables the shareability check.

In order to properly gray out the shortcut, this also fixes a bug with BubbleTextView in which ColorStateLists weren't applied correctly.

Bug: 202556634
Bug: 204495363
Test: Manual (observed UX on Wembley device in regular and dark themes)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: Ieb04baf8c9cb9d325119cb97fceb96f2fc5a62ff
2021-10-28 19:30:31 -07:00
TreeHugger Robot 2e4a003f71 Merge "Remove the Share button option from Overview." into sc-v2-dev am: 70cc9ffe7c am: 8775a79741
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15935390

Change-Id: I27bfb9c63fb618abb0faaa116e44b9e95aa84b45
2021-09-30 04:38:22 +00:00
TreeHugger Robot 8775a79741 Merge "Remove the Share button option from Overview." into sc-v2-dev am: 70cc9ffe7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15935390

Change-Id: I34365ae2b2f97536e1bc992ec583b11ce00bdc75
2021-09-30 04:23:41 +00:00
Zak Cohen 283ee7d74b Remove the Share button option from Overview.
It has never been enabled, and is not plan of record.

Bug: 201446691
Test: local and updated unit tests

Change-Id: I5ac6d40ba1dbcf28de4355cc51fff74cfb37ebc6
2021-09-29 14:43:27 -07:00
Bill Yi 6427f86bed Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I10f5d231cec0b979702af96e0d82a775f57409d9
2021-09-24 09:29:50 +00:00
Bill Yi e43c41ea83 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8ef47f8d03d096e65a95fe0481d42919f6cb45f6
2021-09-24 09:26:51 +00:00
TreeHugger Robot 797a282642 Merge "Fix crash in Go Launcher" into sc-v2-dev am: eb2113af00
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15889274

Change-Id: Id9f717a6b4c4893246bc5ef124423a57f80e7aeb
2021-09-22 21:16:53 +00:00
Peter Kalauskas 51ad3bfdb8 Fix crash in Go Launcher
Bug: 198141465
Bug: 200747950
Test: Check that wembley is usable after unlocking
Change-Id: I37620be4f24a2f0f8f08483991fad7760415b67c
Merged-In: I37620be4f24a2f0f8f08483991fad7760415b67c
(cherry picked from commit 1beab2a3d7)
2021-09-22 19:08:35 +00:00
Jon Spivack b49500a09a Merge "P2P App Sharing: Add Shareability Cache" 2021-09-21 22:31:11 +00:00
Jon Spivack 89c21c77f5 P2P App Sharing: Add Shareability Cache
This update allows Launcher to check with an external API to determine whether apps
are shareable before displaying the Share App button. To prevent
extraneous calls to the API, the retrieved shareability data
are cached. A job is scheduled to update this cache once a week.

This feature can be toggled with the ENABLE_SHAREABILITY_CHECK flag in
AppSharing.java. It is currently disabled, as the Play API has only been
partially rolled out.

More details on the design are available at go/app-shareability-cache-design

Bug: 168831749
Test: manual (local Wembley device)
Test: m -j RunLauncherGoGoogleRoboTests ROBOTEST_FILTER="AppShareabilityManagerTest|AppSharingTest"
Change-Id: I971a3776e09b6842dedf315ec592317050dd6790
2021-09-20 17:11:04 -07:00
Bill Yi 3eaac1be22 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifd41f666e490a788100839333de12d722cc7cb2e
2021-09-18 14:13:08 +00:00
Bill Yi 6a45080d54 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifa02e310b641212721f7a8366f7f6524f7345881
2021-09-18 14:10:12 +00:00
Peter Kalauskas 1beab2a3d7 Fix crash in Go Launcher
Bug: 198141465
Test: Check that wembley is usable after unlocking
Change-Id: I37620be4f24a2f0f8f08483991fad7760415b67c
2021-08-30 12:00:49 -07:00
Bill Yi 13f4fc87af Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idcdde4f0eef634fa1dab0affbfe159e2edacb2c8
2021-08-27 05:42:54 +00:00
Bill Yi d0ea9dde60 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6866292b2d0d7330e964c1a03fa30cb95a39dbaa
2021-08-27 05:40:01 +00:00
Jon Spivack a7cf89f968 NIU Actions: Update text color in dialogs
textColorSecondary was deemed too similar to the dialog headers, so we're switching to textColorTertiary instead.

Bug: 194458828
Test: Manual (looked at updated dialogs on Wembley)
Change-Id: I2e4f5c48da35ca21d01c25e279ff9c2f6b5a5107
2021-08-18 12:08:38 -07:00
Jon Spivack d7e3f18701 NIU Actions: Change AppTheme to LauncherTheme am: d317f17273 am: e0feb07e72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15413718

Change-Id: I8cb0784e5502effcd266afb05b35d9081b5eca3c
2021-07-29 20:01:46 +00:00
Jon Spivack c829bf97e3 NIU Actions: Change AppTheme to LauncherTheme am: d317f17273 am: c531784780
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15413718

Change-Id: I2b623389aaa97e4a1f9bff0024be123946230a3a
2021-07-29 20:01:04 +00:00
Jon Spivack aa10ba9d0b NIU Actions: Change AppTheme to LauncherTheme am: d317f17273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15413718

Change-Id: I4b9f0acb7338b56f1683180b4d068239d30398be
2021-07-29 19:49:39 +00:00
Jon Spivack e0feb07e72 NIU Actions: Change AppTheme to LauncherTheme am: d317f17273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15413718

Change-Id: I5a23028b4d752b1265b29711bc2abb662717baf9
2021-07-29 19:48:51 +00:00
Jon Spivack c531784780 NIU Actions: Change AppTheme to LauncherTheme am: d317f17273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15413718

Change-Id: I64df60ac572d5bb61468ea032e0be7ddc014a87d
2021-07-29 19:48:46 +00:00
Jon Spivack d317f17273 NIU Actions: Change AppTheme to LauncherTheme
Some theme attributes used for the NIU Actions Overview were originally defined in a theme that inherited from LauncherTheme. However, 3rd-party Launchers that also used themes derived from LauncherTheme were unable to access these attributes, leading to crashes when they tried to open the Recents screen on Go devices. Just adding the attributes to LauncherTheme solves this issue.

Bug: 194810415
Test: Manual (tried a couple 3rd-party launchers on Wembley)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I7a2541f2a2ab3b39e0c6cf2fe40a4b096047df70
2021-07-28 19:14:03 -07:00
Alex Chau a8049d069d Merge "Tune Overview size according to VisD" into sc-v2-dev am: 8e83f31100 am: 8b11c3b574
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371943

Change-Id: Iac132e9b061b747425f69cefcfd54415704e6694
2021-07-28 11:05:27 +00:00
Alex Chau 8b11c3b574 Merge "Tune Overview size according to VisD" into sc-v2-dev am: 8e83f31100
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371943

Change-Id: I742f4474937a14976b6ce941b139a158b9fda53c
2021-07-28 10:56:18 +00:00
Alex Chau 5fd9d491b0 Tune Overview size according to VisD
- Removed modalTransformY as overview actions no longer need to move in modal view
- Moved row spacing and page spacing to DeviceProfile
- Added several tablet / orientation specific DeviceProfile params

Bug: 194194694
Test: Manual
Change-Id: Id5435e7f6fc1b6fb7c0e55e55fa240cf84c4d6da
2021-07-26 12:01:30 +01:00
Bill Yi 1ad3b5c6f4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ied133a73ab5e7f903609b2e508dc6bd026b15f9b
2021-07-16 02:56:04 +00:00
Bill Yi 1887547d15 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I01030286c173a856dc1417a2ce1b5df9d05c5865
2021-07-16 02:53:47 +00:00
Bill Yi f2b0e01dd8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1cb8955229751514f4577ba5d37f8ad1d0ab56c5
2021-07-14 21:40:52 +00:00
TreeHugger Robot 56f663695b Merge "NIU Actions: Hide button captions when feature is disabled" into sc-dev am: 2d12f20516 am: dbfbe2c64b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15276138

Change-Id: I7bb41dfdd5eca3e6a205c0ea6b15e1a3d1b7eb01
2021-07-14 04:32:23 +00:00
TreeHugger Robot e42d392d55 Merge "NIU Actions: Hide button captions when feature is disabled" into sc-dev am: 2d12f20516
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15276138

Change-Id: I605117ff22f5d7fe596eea00f9396e686052e07c
2021-07-14 04:23:38 +00:00
TreeHugger Robot dbfbe2c64b Merge "NIU Actions: Hide button captions when feature is disabled" into sc-dev am: 2d12f20516
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15276138

Change-Id: Ib7f64c660a5bf281c228b4bf4d5ed74f694545a7
2021-07-14 04:22:58 +00:00
TreeHugger Robot a969fa24fd Merge "NIU Actions: Hide button captions when feature is disabled" into sc-dev am: 2d12f20516
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15276138

Change-Id: I6d1be4b2b24c5cb740aabb20b3bad54df2ae7880
2021-07-14 04:21:59 +00:00
TreeHugger Robot 2d12f20516 Merge "NIU Actions: Hide button captions when feature is disabled" into sc-dev 2021-07-14 04:10:46 +00:00
Jon Spivack de28038e64 NIU Actions: Hide button captions when feature is disabled
Previously, only the buttons themselves were hidden when the feature was flagged off at build time. This adds the rest of the relevant layout UI (captions, spaces) to that logic.

Bug: 192692326
Test: Manual (Pixel 3A, enable_niu_actions on and off)
Change-Id: Ic58d9891887e3e0eb10d38af80b73f04cf66ea79
2021-07-13 18:56:45 -07: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 248b2ee803 Merge "NIU Actions: Add assistant error dialogs" into sc-dev am: ccd3026485 am: 81b20765b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15246681

Change-Id: Ib279ccd106e918bae3fcea2c7587175fef0ca400
2021-07-13 01:34:06 +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