Commit Graph

32492 Commits

Author SHA1 Message Date
Bob Badour 8f692d67a0 [automerger skipped] [LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3 am: 290679571e -s ours am: 23677e7af2 -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: I32343c0f784cbd8d305bf227479635748c99c853
2021-04-29 21:29:13 +00:00
TreeHugger Robot 3de519eb31 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: I8393bd3e7899abdf6138c619aafd2b9da0cbfc01
2021-04-29 21:28:12 +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
TreeHugger Robot 73a0a1c6c9 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: I6144db5e010bc116370d034b72ef8e8162f525f0
2021-04-29 20:34:43 +00:00
TreeHugger Robot 58898a54c5 [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: I995188a795869ff666e89eddf2542c18bf8ebf4d
2021-04-29 20:34:39 +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 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 7ff0f1be90 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: I2fc870c6828ed760175d0c4e252e07b6007ef0c9
2021-04-29 14:06:43 +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 f092fc7418 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: I5b4f2ca4099cf1a978f5db6f77718e2032f4ef08
2021-04-29 08:57:46 +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 ca20eb2fd4 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: I8b4032546bf80dc2ffef4e1b50a6ee35b037953e
2021-04-29 03:01:40 +00:00
Shan Huang a6b9b8dedf 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: I30c744a481a0fef50a501779bcbcd115a009c2c2
2021-04-29 03:01:08 +00: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
TreeHugger Robot 868fabfaa1 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: I07f5de32f9e620aa58c73b8e5a779c74bffb9c22
2021-04-28 20:58:58 +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 4a29050299 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: Icb454f4988a6efc9c90d84bf883b9b624810534f
2021-04-28 18:19:10 +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 847ab08a43 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: I3ae8378f1f6b330bc576843a10929f2e051d12a5
2021-04-28 17:27:57 +00:00
Winson Chung 2e0288a01e 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: If6b7a53f98df55f142753bc9b3ef271c1f260275
2021-04-28 17:27:50 +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
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 afd8341893 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: I36c4c3804f8d880a9685a13795a42c0b258baf9b
2021-04-28 15:27:37 +00:00
TreeHugger Robot 6bb0844766 Merge "Remove shadow on folder icon." into sc-dev 2021-04-28 15:11:16 +00:00
Alina Zaidi 755052b377 Merge "Always check for availability of widgets before changing visibility of recycler view and no widgets view." into sc-dev am: e5bd97c5f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14295627

Change-Id: I108632e8e9048a4f7bb7c1b774a5b7f01a5f88d8
2021-04-28 12:11:17 +00:00
Alina Zaidi e5bd97c5f8 Merge "Always check for availability of widgets before changing visibility of recycler view and no widgets view." into sc-dev 2021-04-28 11:48:57 +00:00
TreeHugger Robot 1b45682809 Merge "Correct the preview generation for App Widgets." into sc-dev am: 11ec51c48c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14328126

Change-Id: Ief79f99b21e18f04a3452e51665ef3e6a586cf5f
2021-04-28 09:40:16 +00:00
Alina Zaidi 9f531ee6c4 Always check for availability of widgets before changing visibility of
recycler view and no widgets view.


Bug: 186117900
Test: Tested manually
Change-Id: I57ac95fee935a54ce70f5793f0b0686b549cbf9e
2021-04-28 10:36:46 +01:00
TreeHugger Robot 11ec51c48c Merge "Correct the preview generation for App Widgets." into sc-dev 2021-04-28 09:35:56 +00:00
Steven Ng 66f0b2a5b6 Merge "Fix WidgetsBottomSheet inset bug after orientation change" into sc-dev am: 26524eced6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14328125

Change-Id: I7ceb5633cebb8135c59da700dd8dc5dc27b7c068
2021-04-28 09:33:04 +00:00
Steven Ng 26524eced6 Merge "Fix WidgetsBottomSheet inset bug after orientation change" into sc-dev 2021-04-28 09:04:52 +00:00
Pierre Barbier de Reuille 813856ab80 Correct the preview generation for App Widgets.
If the App Widget provider doesn't define a preview, we generate one. We
needed to update it to include the correct corner radius and remove the
shadow (as Material Next doesn't use shadows).

Fix: 184610987
Test: Manually using Youtube Music
Change-Id: Id6b88821ab1b406f1c40d94f6c50e133eb7fa808
2021-04-28 09:25:14 +01:00
Bob Badour 6ce78e0a0d Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" into sc-dev am: 13cef3f668
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14328230

Change-Id: Ib4c6e3293f8874d3bca1b909253e42d5e6dc4814
2021-04-28 05:44:16 +00:00
Bob Badour 13cef3f668 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" into sc-dev 2021-04-28 05:28:45 +00:00
Tony Wickham 91eff6a982 Merge "Don't setEnableDrawingLiveTile(true) unless end target is RECENTS" into sc-dev am: 9137946fd6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14329805

Change-Id: I3ad4b35a10e557d059a62f65d0c32b12cb331bfc
2021-04-28 04:35:46 +00:00
Winson Chung fb45e57ac1 Prevent multiple calls to finish on the recents controller
Bug: 186246362
Test: Verify from logs that we don't finish the controller
      multiple times
Change-Id: I8d40a756216133b8a278a28b822cf75c6e2a3046
2021-04-27 21:20:24 -07:00
Tony Wickham 9137946fd6 Merge "Don't setEnableDrawingLiveTile(true) unless end target is RECENTS" into sc-dev 2021-04-28 04:15:35 +00:00
TreeHugger Robot 7b19ff59c9 Merge "Some overview scrim and status bar color adjustments" into sc-dev am: 69cb35a85a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14299457

Change-Id: I6ddfa2847a157ebd5e7996d4160989055cf39beb
2021-04-28 03:31:07 +00:00
TreeHugger Robot 69cb35a85a Merge "Some overview scrim and status bar color adjustments" into sc-dev 2021-04-28 03:23:13 +00:00