Commit Graph

15219 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
Saumya Prakash b95182353d Merge "Update Lottie animations in Back gesture tutorial" into udc-dev 2023-06-06 17:01:12 +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 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
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
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 7333842b31 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: I76267544ec3076c57db0cf1f839cca060b782c3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 22:24:04 +00:00
Brian Isganitis 721ffdeabb 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: Ie0fbf76909ce950e53d1562ebaf84b2c77730d3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 22:23:20 +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 58dc3817b9 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: If1bbc52c042143332773dc6776c5a0775839a420
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 17:40:51 +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 69e9ede04a 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: Ia6d22c1988dd5386806c2b9b41a577afb536bcca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 05:50:55 +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 2448766864 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: Ic8d3c42bb09b4075859a7f514807d2e12d3c0411
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 01:23:59 +00:00
Jon Miranda 3c871b4a32 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: Ie565f979118ac3cd68861991c0ce887a1f76b108
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 01:22:52 +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 9deeb479d3 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: I91ae28bea13831d7cc1012da91528185bdbf7825
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-01 23:48:49 +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
Jon Miranda 2c515c8076 Update taskbar icon size to match spec.
Bug: 282798528
Test: measured views manually

Change-Id: Iba173ae3e3682b62703ece81dd18eb91370b4627
2023-06-01 12:31:57 -07:00
Jagrut Desai 055186dc3b Merge "Fixing TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet()" into udc-dev am: bcf6111413
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23495344

Change-Id: Ia3bd6b7c07ac290bf9bddf40efbbaa2fae04755e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-01 18:37:50 +00:00
Vinit Nayak 5364b0dac9 Skip drawing taskbar background in setup
Test: Manually went into SUW and observed
Fixes: 272674390
Change-Id: I102d1433692793f51d930e710d68134d4536c397
2023-06-01 10:52:39 -07:00
Jagrut Desai ce8dd7884a Fixing TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet()
Currently, test asssumes that we are in persistent taskbar mode and assumes that taskbar is visible after switching to non ime activity.

We need overall strategy to how we migrate currentl TaplTestQuickstep to test for transient taskbar mode also. But, this will fix the current flakiness.

Test: Pre-submit
Flag: not needed
Bug: 281772186
Change-Id: Ie7e3364febd38ce489c3d3c881b94b8b308d3cb5
2023-05-31 15:05:35 -07:00
Jagrut Desai 99580224a3 Merge "Fixing Toast Hiding behind Taskbar - Part 2" into udc-dev am: e208e02aba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23455641

Change-Id: Ice4d8f9616de89ab356ed15bded4d92b1bad169a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-31 21:04:53 +00:00
Jagrut Desai e208e02aba Merge "Fixing Toast Hiding behind Taskbar - Part 2" into udc-dev 2023-05-31 20:45:37 +00:00
Schneider Victor-tulias 00ff6f572d Merge "Fix launcher activity leak in TouchInteractionService" into udc-dev am: 8f95307087
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23375885

Change-Id: I9098c383204f9c7857c7aa3e264581c080d7091a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-31 18:15:19 +00:00
Schneider Victor-tulias 8f95307087 Merge "Fix launcher activity leak in TouchInteractionService" into udc-dev 2023-05-31 17:49:35 +00:00
Jagrut Desai 84e959a72a Fixing Toast Hiding behind Taskbar - Part 2
Test: Visual, Manual
Bug: 282964229
Flag: not needed
Change-Id: If2373d8f0bc44a555844c78d20877e9636a7e176
2023-05-31 10:41:16 -07:00
TreeHugger Robot 6136566902 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-05-31 16:52:27 +00:00
Vinit Nayak 071b9301c3 Merge "Resize mRemoteTargetHandles when RecentsAnimationStarts" into udc-dev am: 52ac882e9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23267214

Change-Id: If70161827e5d4966dec9143b13f8a97754ad700c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-30 22:55:48 +00:00
Vinit Nayak 52ac882e9b Merge "Resize mRemoteTargetHandles when RecentsAnimationStarts" into udc-dev 2023-05-30 22:10:28 +00:00
Vinit Nayak 8852010eb8 Create separate fullscreen launch type for shortcuts
Bug: 283045822
Test: Verified via debugger the right API is called,
still have issues on split side
Flag: none

Change-Id: Ic2fcbf4ffe05503b0c2e1fade3e3e990498cf6cf
2023-05-30 13:43:24 -07:00
Stefan Andonian 560d06bcc3 Merge "Revert "Keep ViewCaptureRule logic self-contained."" into udc-dev am: 57eaf86f8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23454664

Change-Id: I50496ec19b04a484b8220cc53641e092c1dcd0c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-30 18:18:48 +00:00
Stefan Andonian 57eaf86f8d Merge "Revert "Keep ViewCaptureRule logic self-contained."" into udc-dev 2023-05-30 17:49:54 +00:00
Bill Yi 1f1006a32b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icaab575a19af3fc98557b9bf65388a66aebbee71
2023-05-28 22:51:02 -07:00
Achim Thesmann 5009a89e5f Merge "Allow BAL in Launcher" into udc-dev am: 2bcfbd3739
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23342819

Change-Id: I377d14e96bc5aa43ca4a21c68483c989262e4523
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-27 18:30:52 +00:00