Commit Graph

61132 Commits

Author SHA1 Message Date
Android Build Coastguard Worker ef4bc59dec Snap for 10277839 from bfa0fae851 to udc-release
Change-Id: Ia2b82619e83ba73acf809760ab2bbed408993927
2023-06-07 23:18:59 +00:00
Schneider Victor-tulias bfa0fae851 Merge "Add null-check to findLastActiveTaskAndRunCallback" into udc-dev 2023-06-07 16:49:20 +00:00
Android Build Coastguard Worker 596de595f4 Snap for 10269577 from 3dca7b3c6a to udc-release
Change-Id: I16c5f134e23c287220f604acab3718c616098ca0
2023-06-06 23:19:39 +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 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 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 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
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 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
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
Android Build Coastguard Worker 23e97ce9ae Snap for 10262100 from 59ec439e36 to udc-release
Change-Id: I8e8109928fd77a41513c06f196b9927cf5574693
2023-06-05 23:19:16 +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
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
Renato Grottesi 59ec439e36 [automerger skipped] Revert "[RESTRICT AUTOMERGE] Fix permission issue in legacy shortcut" am: dedca445bb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I66d4ffd49102a58baa5e3209204336a99f2436aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:07:52 +00:00
Fengjiang Li 1a2462914d Fix NPE of handling ACTION_MOVE in StatusBarTouchController and added unit test
Fix: 282945183
Test: N/A
Change-Id: I96680f04a6946129b14c365e2300f408dfe8f0c3
2023-06-05 09:19:07 -07:00
Renato Grottesi dedca445bb Revert "[RESTRICT AUTOMERGE] Fix permission issue in legacy shortcut"
This reverts commit 3de2b51b6b.

Reason for revert: 285847936 getParcelable requires API level 33 (current min is 26)

Change-Id: I83d47f3b55c8a4f48b4ace54b8106c97a854a394
2023-06-05 11:17:41 +00:00
Android Build Coastguard Worker 01cc65341f Snap for 10257385 from aa5d88e7fc to udc-release
Change-Id: Idd21232c3c4fef25befa7aef15ac175a649b6ed2
2023-06-04 22:18:02 +00:00
Bill Yi b14af65416 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id61f9c7f61c78600d0e6b74d315b231451da9902
2023-06-04 10:11:34 -07:00
Bill Yi 24e69ac29d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I87ab2e346aba0917deb83d10369b368d612e7100
2023-06-04 10:10:48 -07:00
Bill Yi a22d343f96 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I36ae92671984e0ad85d740c3a74fe703dd042054
2023-06-04 10:09:45 -07:00
Bill Yi f5b0898001 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2900eb3f7cb449c74eb99bcecdc74fd3bf16b9df
2023-06-04 10:08:59 -07:00
Pinyao Ting aa5d88e7fc [automerger skipped] [RESTRICT AUTOMERGE] Fix permission issue in legacy shortcut am: 3de2b51b6b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib2e56ec9a24e35ab6e53498185ab9e159ece9697
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-03 14:45:30 +00:00
Android Build Coastguard Worker 9e8624c1e0 Snap for 10252918 from 0ebdfc6660 to udc-release
Change-Id: Idb23f5bb98cc00c6f339c84b61ff55dca6e7b39a
2023-06-03 02:22:55 +00:00
Saumya Prakash 502c83fe98 Update Lottie animations in Back gesture tutorial
Based on UXR feedback, the animations for the back gesture tutorial
changed to start with displaying the thumb illustrating the back gesture
first. This change replaces the existing Lottie animations for the
new ones.

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Fix: 285640701
Test: Manually went through the tutorial for handheld, foldable, and
tablet devices and verified the new animation plays properly.

Change-Id: Ifcc5fb61521825ea55f0b959ad1c112013a20f9c
2023-06-02 23:11:19 +00:00
Saumya Prakash 0ebdfc6660 Merge "Match displayed instruction with voiceover text." into udc-dev 2023-06-02 22:00:25 +00:00
Brian Isganitis 70da3e6452 Merge "Fix how task stack listener closes overlays on task changes." into udc-dev 2023-06-02 21:49:27 +00:00
Andrew Cole f011d43325 Merge "Multi-line titles supporting RTL" into udc-dev 2023-06-02 19:04:50 +00:00
TreeHugger Robot 4ad5ffd0a1 Merge "Revert "Adding tracing for workspace loading that never finishes"" into udc-dev 2023-06-02 18:59:47 +00:00