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
3360fc0f10
Merge "[Overview Sharing] Turn on the feature flag for overview sharing." into sc-dev am: 5354abb0e7 am: 7b33d321e9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14342901
Change-Id: I0d3f79d117b7d835725102461e54ae283f763279
2021-04-29 03:39:31 +00:00
Shan Huang
a8c3b7c0c9
Merge "Updated launcher text shadow values." into sc-dev am: 64fc7543f0 am: 278a73e4df
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14204932
Change-Id: Ie51e7473b88c3c24431fd516c471476455389511
2021-04-29 03:37:31 +00:00
android-build-team Robot
1c8f6aa429
Snap for 7321797 from 7ed958b1e9 to tm-release
...
Change-Id: If3c54df1cfdddee56f0aae86575e84081d3863f6
2021-04-29 03:07:48 +00:00
TreeHugger Robot
7b33d321e9
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: I8d3d52be67de4254c970418700c14b0bd7abb455
2021-04-29 03:03:58 +00:00
Shan Huang
278a73e4df
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: Ib8325a14df32b0b9e374433b58f6e257975521c7
2021-04-29 03:02:33 +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
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
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
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
TreeHugger Robot
77da540f21
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: Ic4dfe1c6b6b73cebbf12c56398afcbe94f951fe8
2021-04-29 02:33:46 +00:00
Shan Huang
696bf75c74
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: I8a0dbe2491a07d5e884462c1941225b961df1ec5
2021-04-29 02:30:05 +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
android-build-team Robot
afd5044f16
Snap for 7321546 from 127714094a to sc-release
...
Change-Id: I5776341f02924d7354b2169a9a4f49011deda8ec
2021-04-29 01:09:31 +00:00
android-build-team Robot
1aafc6fe49
Snap for 7321546 from 127714094a to sc-v2-release
...
Change-Id: I83550faddaa37654d478530c9329289b7c53e385
2021-04-29 01:09:18 +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
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
9cc3043d22
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: I2df79a66c11de9a49b4d2bc7fcddc25ef0f8b4c7
2021-04-28 21:02:38 +00: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
3d8e96d876
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: I3d055ce1229b8f2aaccd789c52df29235c6a59d6
2021-04-28 18:20:53 +00: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
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
Steven Ng
84298b3998
Add a flag to enable custom local filter for recommended widgets
...
Test: Run WidgetsPredictionUpdateTaskTest
Bug: 186648032
Change-Id: I2bd5e2c81f971e0a40a4b05c8cab2a7adb171f96
2021-04-28 18:47:33 +01:00
Winson Chung
9e7ee59e5f
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: I823827e09f09485905b4d6c8b95932d5bdd5d26f
2021-04-28 17:29:28 +00:00
Winson Chung
c7791bd020
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: I466e4cdeef3347ff5080eb00b617f43259e2e4a1
2021-04-28 17:29:11 +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
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
37ffd3f5eb
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: Ie566e284c3366d31347f5b7f154adce6fdcd08a2
2021-04-28 15:28:47 +00: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
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
TreeHugger Robot
6bb0844766
Merge "Remove shadow on folder icon." into sc-dev
2021-04-28 15:11:16 +00:00
Alina Zaidi
04f4b6f54e
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: I1435327ae7bf0808bf923a38ee436ecdd4ddda46
2021-04-28 12:13:23 +00:00
Alina Zaidi
cf13e92c50
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: Icba7db117b881cfe07fa40d5f8b2b83b1824a63a
2021-04-28 12:11:34 +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
85e5dd1c5d
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: I9323ab62be120c096b5fd12c2b270fefdded393f
2021-04-28 09:41:57 +00:00