Commit Graph

32584 Commits

Author SHA1 Message Date
TreeHugger Robot 1fcde44bc4 Merge "Check screen context permissions for NIU Actions" into sc-dev am: b9f8152aa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14343101

Change-Id: Ifb2ffbd500da11c6872b19178e963f708f45a3ed
2021-04-30 01:10:08 +00:00
TreeHugger Robot b9f8152aa1 Merge "Check screen context permissions for NIU Actions" into sc-dev 2021-04-30 00:48:54 +00:00
TreeHugger Robot a0a6948c75 Merge "Arrow popup - adjust margin to account for RTL and LTR." into sc-dev am: 3395d1de7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14357192

Change-Id: I34d02982cdf7c8d5ca50ec99a83e6862101f63ea
2021-04-30 00:27:50 +00:00
TreeHugger Robot 3395d1de7a Merge "Arrow popup - adjust margin to account for RTL and LTR." into sc-dev 2021-04-30 00:05:27 +00:00
TreeHugger Robot fb5e7bd55f Merge "Calling pageTransisionEnd only after edgeEffect finishes" into sc-dev am: 44e6fb6ed4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14355769

Change-Id: I49b3735eb38f2e571a51ab5956cea94eb58200c8
2021-04-29 22:36:40 +00:00
TreeHugger Robot 677ac6c37f Merge "Replace conversations widget app icon" into sc-dev am: 14e2070709
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14353226

Change-Id: If2ecb6fc7ce1e3c0be1aa9e0692f960bc1469685
2021-04-29 22:36:34 +00:00
Zak Cohen 284b6ed6a7 Arrow popup - adjust margin to account for RTL and LTR.
Bug: 185887218
Test: Local in ltr and rtl
Change-Id: I50d1e9dbc64dc02f31661d91a6c9a90e4383c5c7
2021-04-29 15:34:29 -07:00
TreeHugger Robot 44e6fb6ed4 Merge "Calling pageTransisionEnd only after edgeEffect finishes" into sc-dev 2021-04-29 22:15:41 +00:00
TreeHugger Robot 14e2070709 Merge "Replace conversations widget app icon" into sc-dev 2021-04-29 22:15:21 +00:00
TreeHugger Robot 38fe272be5 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-04-29 22:06:10 +00:00
Bob Badour 660ac9f007 [automerger skipped] [LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3 am: 290679571e -s ours am: 23677e7af2 -s ours
am skip reason: Merged-In Ib2fe11ca0c8937b49323dfb4759a0a8770a5cfa6 with SHA-1 9b92b5e151 is already in history

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

Change-Id: If5465f8d3ed1a6629040b670bc22d2aacd31866b
2021-04-29 21:32:55 +00:00
TreeHugger Robot 2c320d5ce2 Merge "Fix a couple issues with tracking launch cookies" into sc-dev am: 2aec5f2643
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14347288

Change-Id: Ie21e150287c77a759894adaec554e1f504d503a0
2021-04-29 21:30:14 +00:00
Bob Badour 23677e7af2 [automerger skipped] [LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3 am: 290679571e -s ours
am skip reason: Merged-In I069f0fcd0652dcfd3e9c539e1f9bcb4c9225a10b with SHA-1 fc90688b43 is already in history

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

Change-Id: Ia8131b5438b0f77c80fcdefdfefbd1b327655257
2021-04-29 21:11:40 +00:00
TreeHugger Robot 2aec5f2643 Merge "Fix a couple issues with tracking launch cookies" into sc-dev 2021-04-29 21:04:25 +00:00
Sunny Goyal 05b59c080f Calling pageTransisionEnd only after edgeEffect finishes
Bug: 186605795
Test: Presubmit
Change-Id: I2b46d0b0a47c68038f300e71ab89bd7e5a5e3895
2021-04-29 13:56:08 -07:00
TreeHugger Robot b1fb6d483a Merge "Logging ItemInfo.attribute field for LauncherUiChanged atom." into sc-dev am: ae95cd1cc1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14343539

Change-Id: Ieee02c7ac1dc30f157a6278517734aeff2a642b6
2021-04-29 20:34:43 +00:00
TreeHugger Robot b898c24dc5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: f046fdd21d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3b6c8f38d6bb61e06cbe135a91a9dc5d3a02a99f
2021-04-29 20:34:07 +00:00
TreeHugger Robot ae95cd1cc1 Merge "Logging ItemInfo.attribute field for LauncherUiChanged atom." into sc-dev 2021-04-29 20:33:22 +00:00
TreeHugger Robot f046fdd21d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-29 20:15:48 +00:00
Bill Yi d9c92fa5ad Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I181e112d66a415ccc46eac3e59d488412603dd43
2021-04-29 19:02:06 +00:00
Bill Yi fdcf8103e0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ide1f0bfcb4a3a28bcdbc2d0ec830f77de864546f
2021-04-29 19:00:17 +00:00
Bob Badour 290679571e [LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3
Added SPDX-license-identifier-Apache-2.0 to:
  Android.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I68b3eb245ece3476ed1e5a6e08537efb438e5641
Merged-in: Ib2fe11ca0c8937b49323dfb4759a0a8770a5cfa6
Merged-in: I069f0fcd0652dcfd3e9c539e1f9bcb4c9225a10b
2021-04-29 17:20:00 +00:00
Steven Ng 1140f84b6f Replace conversations widget app icon
Test: Open full widgets picker and observe the expected icon for
      the conversations category.
Bug: 184878454
Change-Id: I580b0148d39c8dd004113c8f966135b22165a329
2021-04-29 17:46:29 +01:00
Steven Ng 0b489ceeb5 Merge "Use widget picker color surface for WidgetsBottomSheet" into sc-dev am: 99d4010c6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14339830

Change-Id: Id9857754ed06ce82b981bf3b811ea63edacaf538
2021-04-29 14:06:36 +00:00
Steven Ng 99d4010c6e Merge "Use widget picker color surface for WidgetsBottomSheet" into sc-dev 2021-04-29 13:51:51 +00:00
Steven Ng 1777a1be4f Use widget picker color surface for WidgetsBottomSheet
Test: Launch widgets bottom sheet, search popup to confirm the expected
      background color is applied.
Bug: 183601302
Change-Id: I300a364605e00a0d8046a907a40f4cb797ec161e
2021-04-29 12:44:31 +01:00
TreeHugger Robot 0928e5a4e3 Merge "Remove debugging logs from the full widgets picker" into sc-dev am: e1a2ea769f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14339828

Change-Id: I674d00e06f06b93a622eb1f011f9ff9cc109997a
2021-04-29 08:57:41 +00:00
TreeHugger Robot e1a2ea769f Merge "Remove debugging logs from the full widgets picker" into sc-dev 2021-04-29 08:33:36 +00:00
Winson Chung 3c192b3f72 Fix a couple issues with tracking launch cookies
- Fix NPE when there is no running task
- Fix issue where we were defaulting to a prediction icon when
  there was no launch cookie
- Don't use a launch cookie when we are launching from a non-workspace
  item, just fallback to the package name matching in that case

Fixes: 186653036
Fixes: 186593373
Test: Swipe up from various apps launched from predictions, also
      launch an app from all apps and swipe up and ensure it
      doesn't match a prediction
Change-Id: Ie8f5da010c140a5056045ac268d082c80271ab68
2021-04-29 04:23:40 +00:00
TreeHugger Robot 15612640f0 Merge "[Overview Sharing] Turn on the feature flag for overview sharing." into sc-dev am: 5354abb0e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14342901

Change-Id: I4fb500cd540c68a3ba42e01769c275f38d8cbfb9
2021-04-29 03:01:28 +00:00
Shan Huang 25d3f38fac Merge "Updated launcher text shadow values." into sc-dev am: 64fc7543f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14204932

Change-Id: I7b44f18fd805055550c3dbe1ed0c60ac5843ef9b
2021-04-29 03:00:32 +00:00
Jon Spivack c5919749ea Check screen context permissions for NIU Actions
This checks for the ASSIST_STRUCTURE_ENABLED and ASSIST_SCREENSHOT_ENABLED permissions before sending NIU Actions Intents. If either permission is absent, the screenshot is not sent, and an error code is added to the Intent.

Bug: 182010359
Test: Manual (toggled permissions and clicked NIU Actions buttons on Wembley device)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: Icf0db739f5010862cc2bac496f5410665625f3be
2021-04-28 18:26:13 -07:00
thiruram 7350b0f47e Logging ItemInfo.attribute field for LauncherUiChanged atom.
Unlike LaucherStaticLayout, LauncherUiChanged atom does not have origin field to write into statsd. This workaround solution will pack attribute value into target_id field and provides backward compatibility too.

Bug: 186169419
Test: Manual
Change-Id: Ib5344fad08accdd0aac827700c3842b7f102b7dc
2021-04-28 17:35:20 -07:00
TreeHugger Robot 5354abb0e7 Merge "[Overview Sharing] Turn on the feature flag for overview sharing." into sc-dev 2021-04-29 00:20:47 +00:00
Shan Huang 64fc7543f0 Merge "Updated launcher text shadow values." into sc-dev 2021-04-29 00:16:47 +00:00
Becky Qiu a6cec336ff [Overview Sharing] Turn on the feature flag for overview sharing.
Bug: 186670923
Test: manual
Change-Id: I57514cde11dc3315c8671c286a6963d29cf346e1
2021-04-28 15:20:49 -07:00
Bob Badour 7ed958b1e9 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" 2021-04-28 21:32:48 +00:00
TreeHugger Robot 87f949543d Merge "Change TaskIconMenu to lay out vertically" into sc-dev am: 127714094a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14333138

Change-Id: I00205230606ad21553eb9f55c938edada2d28600
2021-04-28 21:19:43 +00:00
TreeHugger Robot 127714094a Merge "Change TaskIconMenu to lay out vertically" into sc-dev 2021-04-28 20:16:43 +00:00
Vinit Nayak 4cc0dbb552 Change TaskIconMenu to lay out vertically
Still lays out horizontally when in phone
landscape.
TODO(b/186583656), need to center view.
Also have all layout be dynamic instead of having
some cases be in XML and some in code.

Bug: 181704764
Test: Task menu visible with all options in
portrait/landscape tablet
portrait phone
fake/real landscape phone

Change-Id: I3632eeb174f3e4baf2c9d69d51c1815c3c512e59
2021-04-28 11:47:08 -07:00
Steven Ng 3417c1d22b Remove debugging logs from the full widgets picker
Test: None
Bug: 185508758
Change-Id: I2958118abc9d4f3778aaf6c3e3df01b0712354dc
2021-04-28 19:27:40 +01:00
TreeHugger Robot 53f30375ce Merge "[AA+] Add SearchResult type to ItemInfo attributes." into sc-dev am: 04a194fca0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14288959

Change-Id: If8631f5c27ba29c96962a72e8603d2ec7f24607e
2021-04-28 18:18:15 +00:00
TreeHugger Robot 04a194fca0 Merge "[AA+] Add SearchResult type to ItemInfo attributes." into sc-dev 2021-04-28 18:16:54 +00:00
Winson Chung 981cbee493 Merge "Prevent multiple calls to finish on the recents controller" into sc-dev am: 4dd75b334f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14336476

Change-Id: Ic4f000934fccbbc0c0c66fd4e240b2ad60d0bf45
2021-04-28 17:26:19 +00:00
Winson Chung 7cf226ebef Merge "Invalidate when switching to new consumer" into sc-dev am: bfb6274920
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14313270

Change-Id: I90785801c2fce7a7060aee874325724bad6737ae
2021-04-28 17:25:44 +00:00
Winson Chung 4dd75b334f Merge "Prevent multiple calls to finish on the recents controller" into sc-dev 2021-04-28 17:22:19 +00:00
Winson Chung bfb6274920 Merge "Invalidate when switching to new consumer" into sc-dev 2021-04-28 17:01:02 +00:00
Bob Badour 9b92b5e151 [LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3
Added SPDX-license-identifier-Apache-2.0 to:
  tests/Android.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Ib2fe11ca0c8937b49323dfb4759a0a8770a5cfa6
2021-04-28 09:55:49 -07:00
thiruram 1987a42d3c [AA+] Add SearchResult type to ItemInfo attributes.
Bug: 186169419
Test: Manual
Change-Id: I9ea707e135eda163dfb3f12f48f4f0c37e6c044e
2021-04-28 09:36:05 -07:00
TreeHugger Robot aaf20a7ee3 Merge "Remove shadow on folder icon." into sc-dev am: 6bb0844766
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14315610

Change-Id: Ibe9241bcf7f038ef510fd65ebf61ff0ecbc47e15
2021-04-28 15:27:08 +00:00