Commit Graph

15006 Commits

Author SHA1 Message Date
TreeHugger Robot 1c0b7da045 Merge "Check pendingIntent for intent fullscreen launch type" into udc-dev am: a11802c486
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23571512

Change-Id: I99dfb86f13fc284a3aff721a1af3968f33eb2cb4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 19:02:34 +00:00
TreeHugger Robot 03d2155829 Merge "Fix null-pointer in AbsSwipeUpHandler.buildAnimationController" into udc-dev am: 737c7f21ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23603592

Change-Id: Id66948a7288ff85e070e364088b8dbc898b95057
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 19:02:03 +00:00
Schneider Victor-tulias 16d70f840a Merge "Fix layout issues in suw all set page" into udc-dev am: 8ee4ad6604
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23502666

Change-Id: Ie96e486051f902f8d7c0be801f04442b97669224
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 19:01:51 +00:00
TreeHugger Robot a11802c486 Merge "Check pendingIntent for intent fullscreen launch type" into udc-dev 2023-06-08 18:48:55 +00:00
TreeHugger Robot 737c7f21ec Merge "Fix null-pointer in AbsSwipeUpHandler.buildAnimationController" into udc-dev 2023-06-08 18:42:53 +00:00
Schneider Victor-tulias 8ee4ad6604 Merge "Fix layout issues in suw all set page" into udc-dev 2023-06-08 18:15:34 +00:00
Vinit Nayak d96104e6bb Merge "Include assistant in RemoteTargetGluer" into udc-dev am: 76ad67a07a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23574112

Change-Id: Ibdd4e8c9413afaaa2991278beffd574889317fd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 17:36:05 +00:00
Randy Pfohl 08449434b0 Merge "Cleaning up liveview in overview while returning home for visual fix" into udc-dev am: f2d46812f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23595177

Change-Id: I6a4d278002c4516eef650adf275d552403abef47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 17:35:02 +00:00
Vinit Nayak 76ad67a07a Merge "Include assistant in RemoteTargetGluer" into udc-dev 2023-06-08 16:54:31 +00:00
Randy Pfohl f2d46812f8 Merge "Cleaning up liveview in overview while returning home for visual fix" into udc-dev 2023-06-08 16:48:36 +00:00
randypfohl 680b8de0c9 Cleaning up liveview in overview while returning home for visual fix
Test: built and tested locally, verified bug doesn't occur during 3 button nav nor gesture nav animations. video in bug.

Bug: 245750127
Change-Id: I6e52722e73ff64e81686ee2ef3f7b2f7f5b1daa9
2023-06-07 23:55:41 +00:00
Jagrut Desai d5b2bb1474 Merge "Remove Hotseat Education from Large Screens" into udc-dev am: 0704595a99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23590297

Change-Id: I3d57ab1ecea079f3d9ae2ee282f4ef990be3841a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-07 23:43:39 +00:00
Vinit Nayak 5fa247fd43 Include assistant in RemoteTargetGluer
* The UI isn't terribly great, but this fixes the crashes

Bug: 285781761
Change-Id: Ie3376a98b16c19bbdb4e39e7a0a436ddae200c4a
2023-06-07 12:05:00 -07:00
Jagrut Desai d94017474f Remove Hotseat Education from Large Screens
Currently there is an taskbar icon unstashing animation that happens on top of hotseat education. Hotseat education is redudunt for large screens(Tablets, Foldable-unfolded). To solve this we will remove this reduntdant feature for large screens

Test: Manual
Bug: 282617747
Flag: not needed
Change-Id: Ia5e2c51f7ef927a59cb6efa195c1cdfc627205d9
2023-06-07 10:52:39 -07:00
Schneider Victor-tulias 1834581bc0 Fix null-pointer in AbsSwipeUpHandler.buildAnimationController
Flag: not needed
Fixes: 271248485
Test: ran launcher
Change-Id: Ia9e0e68b9ee9273d82ed791b421a10ccb1fcdef2
2023-06-07 10:39:25 -07:00
Schneider Victor-tulias dbcfd79f7e 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: Ie46aaae7828fad968ef00bac8d3069da651b0f91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-07 17:35:14 +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 829a3c5a0d 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: I7f82f49604b102aab5a943d01cf04d4ce8061f36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 19:03:37 +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 1ba1b49db7 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: Ic8a420755dbc4e0a5e8801a0d0929bf06295308e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 17:14:41 +00:00
Saumya Prakash b95182353d Merge "Update Lottie animations in Back gesture tutorial" into udc-dev 2023-06-06 17:01:12 +00:00
Schneider Victor-tulias b5c7086323 Fix layout issues in suw all set page
putting contents of the suw all set page in a scroll view to fix layout issues in large display/font sizes

Flag: not needed
Fixes: 275018092
Test: launched all set page on smallest and largest display/font sizes on handheld, tablet and foldable
Change-Id: I921b1becfc0627e9b77e467efe309613aa3ca9d0
2023-06-06 09:42:36 -07:00
Treehugger Robot 6aeae7ba85 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-06-06 14:43:16 +00:00
TreeHugger Robot 21c61e80e9 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: I660c58403744b737a2819378b8ffd62f8c8a0bd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 02:19:10 +00:00
TreeHugger Robot 8755f5df8d 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: I8cc7db47b039d28745386b8b6d8e65a3b3b8188a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 23:37:26 +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
Vinit Nayak 5512286d9c Check pendingIntent for intent fullscreen launch type
Test: Started intent split from workspace, tapping
on placeholder view doesn't crash, launches app
Bug: 283045822
Flag: None

Change-Id: I0525419e7aa7181faaf877e5948b4972a040b583
2023-06-05 14:30:02 -07: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
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
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
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 676e0fa744 Merge "Match displayed instruction with voiceover text." into udc-dev am: 0ebdfc6660
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23450321

Change-Id: I8fc64be04c1f7436c2b6b5c32019e7ab66f6e76b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 22:25:18 +00:00
Brian Isganitis 07db1bc426 Merge "Fix how task stack listener closes overlays on task changes." into udc-dev am: 70da3e6452
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23535652

Change-Id: Ife710723397dbf1b0b366b27090081c468854945
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 22:24:14 +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
Saumya Prakash fbeb143ea6 Match displayed instruction with voiceover text.
When users are using TalkBack, the text being read aloud did not match
the text displayed on the screen. This change fixes that in accordance
to the accessibility testing principles by changing the text spoken
aloud.

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Fix: 274996517
Test: Manually went through both versions of the tutorial using talkback
and without using it. Ensured the spoken text matched the displayed
text

Change-Id: I896f2c09bd220615722777c73935f70c946715b2
2023-06-02 18:32:33 +00:00
TreeHugger Robot 12471ed3f1 Merge "Log windowManager.getPossibleMaximumWindowMetrics" into udc-dev am: 014a684343
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23517420

Change-Id: Ic1e3c987bfd8bc0066a3b9f99c488bd17ce7536c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 17:44:34 +00:00
TreeHugger Robot 014a684343 Merge "Log windowManager.getPossibleMaximumWindowMetrics" into udc-dev 2023-06-02 17:09:46 +00:00
Brian Isganitis 0aa30e2292 Fix how task stack listener closes overlays on task changes.
Originally gated onTaskMovedToFront behind prototype because looked like
it was causing overlay to close when it shouldn't. However, it turns out
it was actually onTaskStackChanged that was doing this.

Additionally, changing onTaskMovedToFront to close with animation, because this will fire if swiping up from all apps (going to overview so Launcher is considered as the task moving to front). Also, registered onTaskCreated to be a bit more thorough.

Test: Manual (EDU, All Apps, and EDU + All Apps)
Fix: 283373523
Flag: none
Change-Id: I4cd3969f91a93bab190b764a656d9cfc03d1ce09
(cherry picked from commit 34c6b871af)
2023-06-02 15:34:35 +00:00
Alex Chau eb9171c378 Log windowManager.getPossibleMaximumWindowMetrics
Bug: 283944974
Test: manual
Change-Id: I15d4bb81604b018f8a2c69c56509e2a66caae306
2023-06-02 15:44:54 +01:00
Treehugger Robot cc13e7f156 Merge "Create separate fullscreen launch type for shortcuts" into udc-dev am: 55f38fb397
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23480181

Change-Id: Id3d1c3b3497d9caf214bbb7df4278faa5fad2f71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 05:51:32 +00:00
Treehugger Robot 55f38fb397 Merge "Create separate fullscreen launch type for shortcuts" into udc-dev 2023-06-02 05:22:23 +00:00
Anushree Ganjam cf6f423570 Merge "Add UID in AppInfo." into udc-dev am: 9b4f62e681
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23331302

Change-Id: Ie44ddfc715eb7e167d487c8a5ee8b3d1b64aa75b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 01:25:01 +00:00
Jon Miranda 0d5ef8adf4 Merge "Update taskbar icon size to match spec." into udc-dev am: 68135ebfd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23518318

Change-Id: Id6bc05539b8cc7303d90b59a8ff4f8a19617c9e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 01:23:29 +00:00
Anushree Ganjam 9b4f62e681 Merge "Add UID in AppInfo." into udc-dev 2023-06-02 01:17:29 +00:00
Jon Miranda 68135ebfd3 Merge "Update taskbar icon size to match spec." into udc-dev 2023-06-02 00:31:25 +00:00
Vinit Nayak ae1f2a114d Merge "Skip drawing taskbar background in setup" into udc-dev am: e65bf2a620
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23481079

Change-Id: I2ae9cd86211d6cfc48b996c0ef3be763bca18046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-01 23:49:34 +00:00
Vinit Nayak e65bf2a620 Merge "Skip drawing taskbar background in setup" into udc-dev 2023-06-01 23:13:19 +00:00
Anushree Ganjam 97434eea53 Add UID in AppInfo.
Create a reverse hashmap of PackageUserKey to Uid in AllAppsStore for
faster lookup of uid based on packageName and userHandle.

Log Uid in Impression Logging.

Bug: 282849559
Test: Manual. See various usecases documented in http://shortn/_UcvAYOmLIP
Flag: NA

Change-Id: I416426214f6b6efc45f7d4c0433bbbfca9056adf
2023-06-01 22:45:19 +00:00