Commit Graph

61501 Commits

Author SHA1 Message Date
Schneider Victor-tulias e233e26296 Merge "Add null-check to findLastActiveTaskAndRunCallback" into udc-dev am: bfa0fae851
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23590296

Change-Id: I9a903e043eaec37528fc03cbd4d3b852d4d8ef96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-07 17:39:29 +00:00
Schneider Victor-tulias bfa0fae851 Merge "Add null-check to findLastActiveTaskAndRunCallback" into udc-dev 2023-06-07 16:49:20 +00:00
Fengjiang Li 65fb6a1968 Merge "Fix NPE of handling ACTION_MOVE in StatusBarTouchController and added unit test" into udc-dev am: 3dca7b3c6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23300979

Change-Id: I7860cadd48d33bee50db3b5d9c22d597ef3a167e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 19:07:56 +00:00
Fengjiang Li 3dca7b3c6a Merge "Fix NPE of handling ACTION_MOVE in StatusBarTouchController and added unit test" into udc-dev 2023-06-06 18:19:38 +00:00
Schneider Victor-tulias ab51f2110a Add null-check to findLastActiveTaskAndRunCallback
ItemInfo.getTargetComponent is nullable, so we can't always create a ComponentKey. Added a null-check and proper creation of ComponentKeys

Flag: not needed
Fixes: 286053950
Test: started and completed splitscreen selection from home, taskbar and overview
Change-Id: Ifa30f194ae064fab8aad79c5116f8c859dfd8cf1
2023-06-06 11:02:09 -07:00
Saumya Prakash da3eca638f Merge "Update Lottie animations in Back gesture tutorial" into udc-dev am: b95182353d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23537267

Change-Id: I6b244ff0ba7e5cbfa085f50973a2ecffef6d582a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 17:19:31 +00:00
TreeHugger Robot ad55595d5a Merge "Enabled NOTIFY_CRASHES for teamfood" into udc-dev am: ed4695e37e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23570671

Change-Id: I03ffc63dc4ec49ae7537e3b8bd9bb4a660e8e609
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 17:17:59 +00:00
Saumya Prakash b95182353d Merge "Update Lottie animations in Back gesture tutorial" into udc-dev 2023-06-06 17:01:12 +00:00
TreeHugger Robot ed4695e37e Merge "Enabled NOTIFY_CRASHES for teamfood" into udc-dev 2023-06-06 16:29:12 +00:00
Treehugger Robot c439d93dfd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: fd4d657517 -s ours am: 4b23e7c00c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iec130f079f8eaee85d94e115bc031b4292d48db7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:51:21 +00:00
Bill Yi 32d296c5a4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b14af65416 -s ours am: eed5ede9d5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I731437a4dd295c6dd173639a3aa16886f5c3e1da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:51:18 +00:00
Treehugger Robot dab76a1a6e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: 33af14add5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I647b382c61187b3666d387136e10c083ad3183a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:49:56 +00:00
Bill Yi a26a744208 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 24e69ac29d -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib2fd2ac0a6bceb2fd16016f5b557a26a4d2f7f57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:49:41 +00:00
Treehugger Robot 2a428133bd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: 6aeae7ba85 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia0ed25b0e8b9b0187727a7b27ab8d680abc4e20b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:49:27 +00:00
Bill Yi d326d1cda5 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f5b0898001 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I40da27a87306d968a445e3849e7a1e2afb0e2ceb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:49:13 +00:00
Bill Yi 5da5bb8f07 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: c1794e84a1 -s ours am: 9e7f16b778 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I76b0eb465036403731574517a766bbfaaf576ec9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:47:24 +00:00
Bill Yi 132a2117f9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a22d343f96 -s ours am: 9642678618 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3a83aae8f129c4a3c37259cc4c2a0e3d144f64cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:47:17 +00:00
Treehugger Robot 4b23e7c00c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: fd4d657517 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I31b3bbee13da4eefd8385355a190065db862a893
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:46:15 +00:00
Bill Yi eed5ede9d5 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b14af65416 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I470c6995683e1d274acdd932a8fcb70529cf60b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:46:11 +00:00
Treehugger Robot 33af14add5 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-06-06 14:43:16 +00:00
Treehugger Robot 6aeae7ba85 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-06-06 14:43:16 +00:00
Treehugger Robot fd4d657517 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-06-06 14:19:16 +00:00
Bill Yi 9e7f16b778 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: c1794e84a1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0726d9ebb507bd20a34f698430a72d3e1e9732a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:01:00 +00:00
Bill Yi 9642678618 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a22d343f96 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I76b75c173d2cba514df0852a7a67367aa578c670
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 14:00:51 +00:00
Bill Yi c1794e84a1 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-06-06 13:25:53 +00:00
Pinyao Ting 6456b161c8 [automerger skipped] Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae am: 3c771b12fb am: d9bb5cd96f am: e2d76ce0a1 am: 0c816c738d am: d3aef7acf3 -s ours am: 909f0e91bf -s ours am: ff1e766e34 -s ours
am skip reason: Merged-In I05ccbde0a873569f24af4d3675a86830ba54c43f with SHA-1 f0261b5b38 is already in history

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

Change-Id: I3dded833f33ace94d476c08bf8d0280c9ce8ee53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 05:56:01 +00:00
Pinyao Ting d73698bc7e [automerger skipped] Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae am: 3c771b12fb am: d9bb5cd96f am: e2d76ce0a1 am: 0c816c738d am: 7c15fcab12 -s ours am: 6763125ac7 -s ours
am skip reason: Merged-In I05ccbde0a873569f24af4d3675a86830ba54c43f with SHA-1 f0261b5b38 is already in history

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

Change-Id: I341a17896ebc088b0a285d9d4554972b2d89c6e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 05:55:52 +00:00
Pinyao Ting ff1e766e34 [automerger skipped] Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae am: 3c771b12fb am: d9bb5cd96f am: e2d76ce0a1 am: 0c816c738d am: d3aef7acf3 -s ours am: 909f0e91bf -s ours
am skip reason: Merged-In I05ccbde0a873569f24af4d3675a86830ba54c43f with SHA-1 f0261b5b38 is already in history

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

Change-Id: I51b834cefc6991f900ba1f4a584beaecdba56653
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 05:54:20 +00:00
Pinyao Ting 909f0e91bf [automerger skipped] Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae am: 3c771b12fb am: d9bb5cd96f am: e2d76ce0a1 am: 0c816c738d am: d3aef7acf3 -s ours
am skip reason: Merged-In I05ccbde0a873569f24af4d3675a86830ba54c43f with SHA-1 f0261b5b38 is already in history

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

Change-Id: I01d184f9cff4a4993e03f02f52d85a2389c9bb83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 05:14:11 +00:00
Pinyao Ting 6763125ac7 [automerger skipped] Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae am: 3c771b12fb am: d9bb5cd96f am: e2d76ce0a1 am: 0c816c738d am: 7c15fcab12 -s ours
am skip reason: Merged-In I05ccbde0a873569f24af4d3675a86830ba54c43f with SHA-1 f0261b5b38 is already in history

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

Change-Id: I5065be22916197069324b0f7a22d669fb7301f3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 05:11:36 +00:00
Pinyao Ting d3aef7acf3 Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae am: 3c771b12fb am: d9bb5cd96f am: e2d76ce0a1 am: 0c816c738d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23526090

Change-Id: I3c935b28921fe2a40833229219d8d52f9748bc60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 04:30:37 +00:00
Pinyao Ting 7c15fcab12 Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae am: 3c771b12fb am: d9bb5cd96f am: e2d76ce0a1 am: 0c816c738d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23526090

Change-Id: I2b5cffd08b8be191861536da9b86143307d8cd4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 04:29:33 +00:00
Pinyao Ting 0c816c738d Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae am: 3c771b12fb am: d9bb5cd96f am: e2d76ce0a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23526090

Change-Id: I41bc3f0337ed6613f0fc9aaa6207b97cfe2339ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 03:43:10 +00:00
Pinyao Ting e2d76ce0a1 Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae am: 3c771b12fb am: d9bb5cd96f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23526090

Change-Id: I4ea4039f3c1e70385a87a7f53a0da2aa231af8e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 03:06:32 +00:00
Pinyao Ting d9bb5cd96f Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae am: 3c771b12fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23526090

Change-Id: I679537a6b5e8831065e8a665ecd6e686da20988f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 02:18:35 +00:00
TreeHugger Robot b3c96b9443 Merge "Don't allow Taskbar unstash during Assistant gesture" into udc-dev am: e2a6113e93
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23565985

Change-Id: I5e1a8b43f3e444d7853efc29c4832252122bb410
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 02:18:05 +00:00
Pinyao Ting 3c771b12fb Fix permission issue in legacy shortcut am: c53818a16b am: d19cb72bae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23526090

Change-Id: I8a0137303fdbb2811788efef4290a5bacd469f65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 01:33:35 +00:00
TreeHugger Robot e2a6113e93 Merge "Don't allow Taskbar unstash during Assistant gesture" into udc-dev 2023-06-06 01:33:31 +00:00
Pinyao Ting 1c0b5f535c [automerger skipped] [RESTRICT AUTOMERGE] Fix permission issue in legacy shortcut am: f0261b5b38 -s ours am: 51962097af -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icacd07c7c83c91470b41aa16da64f5ea70d22545
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 01:10:04 +00:00
Pinyao Ting d19cb72bae Fix permission issue in legacy shortcut am: c53818a16b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23526090

Change-Id: I88304cadd17c6237942fc0ad3287269ab22704bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 00:46:10 +00:00
Pinyao Ting 51962097af [automerger skipped] [RESTRICT AUTOMERGE] Fix permission issue in legacy shortcut am: f0261b5b38 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I32c67c23f57b63dba3cc9cbdeee9aed0dc8465ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 00:25:39 +00:00
Pinyao Ting c53818a16b Fix permission issue in legacy shortcut
When building legacy shortcut, Launcher calls
PackageManager#resolveActivity to retrieve necessary permission to
launch the intent.

However, when the source app wraps an arbitrary intent within
Intent#createChooser, the existing logic will fail because launching
Chooser doesn't require additional permission.

This CL fixes the security vulnerability by performing the permission
check against the intent that is wrapped within.

Bug: 270152142
Test: manual
Merged-In: I05ccbde0a873569f24af4d3675a86830ba54c43f
Change-Id: If35344c08975e35085c7c2b9b814a3c457a144b0
2023-06-05 23:53:39 +00:00
TreeHugger Robot 97df54f62a Merge "Prevent initiating split with task excluded from recents" into udc-dev am: 0d3edbfeb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23495351

Change-Id: Ic7c7cfe25236b16942188d87426a92e4516646c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 23:41:46 +00:00
Tony Wickham 97bada6339 Don't allow Taskbar unstash during Assistant gesture
Test: manual with "swipe to invoke assistant" enabled
Flag: none
Fixes: 282060498
Change-Id: I317d01dbbb59d020338b17d424c853a00ef03cce
2023-06-05 23:23:40 +00:00
TreeHugger Robot 0d3edbfeb6 Merge "Prevent initiating split with task excluded from recents" into udc-dev 2023-06-05 22:56:42 +00:00
Tony Wickham 670f17f560 Enabled NOTIFY_CRASHES for teamfood
Flag: NOTIFY_CRASHES
Test: none
Fixes: 285951384
Change-Id: I1f4905e0b797f4d0d7356cad0be4d98bfa09a3b7
2023-06-05 22:15:18 +00:00
Anushree Ganjam 6fac7deb1d Remove @WorkerThread annotation and Preconditions.assertWorkerThread check. am: f781ef81bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23566433

Change-Id: Ibd1cc0e8ee0aba12af31952abf16d5f58b268237
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 21:45:58 +00:00
Vinit Nayak 868bef2f2b Prevent initiating split with task excluded from recents
Bug: 280138741
Flag: None
Test: Verified split option doesn't show on QR quick-tile app
in recents

Change-Id: I751e450ba3be4a97eba5ad4e8ed86bf9631164ce
2023-06-05 13:48:01 -07:00
Anushree Ganjam f781ef81bf Remove @WorkerThread annotation and Preconditions.assertWorkerThread check.
`BaseLauncherBinder.bindAllApps` and `BaseModelUpdateTask.bindApplicationsIfNeeded` can be called on both UI and Background thread.

Bug: 285711446
Test: Manual
Flags: NA
Change-Id: If6f6cce5f6e37fb21609aded8587afbdffda7545
2023-06-05 19:06:00 +00:00
Pinyao Ting f0261b5b38 [RESTRICT AUTOMERGE] Fix permission issue in legacy shortcut
When building legacy shortcut, Launcher calls
PackageManager#resolveActivity to retrieve necessary permission to
launch the intent.

However, when the source app wraps an arbitrary intent within
Intent#createChooser, the existing logic will fail because launching
Chooser doesn't require additional permission.

This CL fixes the security vulnerability by performing the permission
check against the intent that is wrapped within.

Bug: 270152142
Test: manual
Change-Id: I05ccbde0a873569f24af4d3675a86830ba54c43f
2023-06-05 18:15:32 +00:00