Commit Graph

78507 Commits

Author SHA1 Message Date
Willie Koomson be65a75e82 Merge "Check for null preview in WidgetItem.hasGeneratedPreview" into main 2024-03-12 19:15:59 +00:00
Sunny Goyal 68ee15d758 Merge "Simplefying listener interface for TriggerSwipeUpTouchTracker" into main 2024-03-12 19:12:19 +00:00
Federico Baron 4d1fe6b854 Revert "Add screenrecord for testOverviewDeadzones"
This reverts commit eb65ca1600.

Reason for revert: issue stopped happening 

Change-Id: Ib9313e0df9768ad17f3c8c7bd52cb45eb457b5cd
2024-03-12 18:43:28 +00:00
Sebastián Franco ad46eb75f4 Revert^4 "Removing all restored backups except one so we don't have old backups"
To prevent the error I introduce the method restorePreviousState().

This reverts commit 1234090589.

Reason for revert: Fixing presubmit breaks

Bug: 325285743
Flag:  ACONFIG narrow_grid_restore disabled
Test: BackupAndRestoreDBSelectionTest
Change-Id: I63666c29eb91dada4243af019ab0538c40bc0f78
2024-03-12 11:01:26 -07:00
Vinit Nayak 277054ad30 Merge "Using fractions in MultiValueUpdateListener instead of absolute durations" into 24D1-dev am: 1c8bd71675
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26543033

Change-Id: I0c370454677da631d586d4f743f526d882399807
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-12 17:57:27 +00:00
Vinit Nayak f5e520e3ab Update Launcher state anim duration for pinned & transient taskbar am: a7789a4593
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26542282

Change-Id: I79ada98491ce7cb6e889e2d33af269c9da0c73c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-12 17:57:17 +00:00
Alex Chau 26e487c6ac Allow Task menu to draw down to screen bottom
- Use all available spaces minus inset to draw the task menu
- Also enabled scrolling for app chi1p menu

Fix: 329271577
Bug: 326952853
Test: manual
Flag: Nonee
Change-Id: Ibdff07043f2c64495f97e11e80209bcc3f5dcb4f
2024-03-12 17:55:37 +00:00
Treehugger Robot 0cd5024c6b Merge "Debugging Logs for TaplTestsTransientTaskbar#testSwipeToStashAndUnstash" into main 2024-03-12 17:52:22 +00:00
Vinit Nayak 1c8bd71675 Merge "Using fractions in MultiValueUpdateListener instead of absolute durations" into 24D1-dev 2024-03-12 17:48:18 +00:00
Schneider Victor-tulias f3edea44e1 Disable slow recents animation handling
Flag: N/A
Fixes: 324228222
Test: programmatic delay and several gestures
Change-Id: I98f3575047e442a4f57582b40cc0f36f1f113356
(cherry picked from commit 5b9d94adc5)
2024-03-12 17:47:03 +00:00
Vinit Nayak 872d6953a1 Merge "Update Launcher state anim duration for pinned & transient taskbar" into main 2024-03-12 17:25:54 +00:00
Alex Chau 618d7ed2c6 Merge "Re-calculate mLastComputedCarouselTaskSize when its empty before getMaxScaleForFullScreen" into main 2024-03-12 13:07:02 +00:00
Shamali Patwa 7574bed02e Merge "Update labels for the categories to match the UX writer provided strings" into main 2024-03-12 11:37:25 +00:00
Android Build Coastguard Worker 8d2c94d1f1 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26499262'] into 24Q2-release.
Change-Id: I07c6d31c506f7289b91f4bd26fecec4aeef7bf10
2024-03-12 02:34:16 +00:00
Anushree Ganjam bfa3586454 Enable Omnient master flags in client code.
Bug: 327638681
Test: Manual
Flag: legacy ENABLE_LONG_PRESS_NAV_HANDLE ENABLED
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3b220c62ce97adab33d19fddc49122545d3f5989)
Merged-In: Id8990ed145b4f035e5cd14e901676ebbd03733dd
Change-Id: Id8990ed145b4f035e5cd14e901676ebbd03733dd
2024-03-12 02:31:23 +00:00
Sukesh Ram 8229228132 Debugging Logs for TaplTestsTransientTaskbar#testSwipeToStashAndUnstash
Add logging for TaplTestsTransientTaskbar#testSwipeToStashAndUnstash.

Flag: NONE
Test: Manually tested in pixel 7.
Bug: 324940434
Change-Id: I7c30fb2f3c94770fa79780d2e7748e931552ba56
2024-03-12 02:17:59 +00:00
Treehugger Robot 54ae7b9dc3 Merge "Disable slow recents animation handling" into main 2024-03-12 01:01:55 +00:00
Brian Isganitis 1956246b6e Reset stashed in Taskbar All Apps for gestures instead of IME insets.
Test: Manual
Flag: NONE
Fix: 328960039
Change-Id: I62c53c21bf850b7080e12086235cba28164f4d70
2024-03-11 20:30:32 -04:00
Vinit Nayak a7789a4593 Update Launcher state anim duration for pinned & transient taskbar
* We were syncing the duration of the animation to be at most
that of the taskbar/hotseat animation but only for transient taskbar.
* Now we sync for transient and pinned

Fixes: 328052756
Test: Anim jank doesn't repro
Change-Id: I21f20cbc08a2018498dde3eff871929e5a5b7d7d
2024-03-11 23:58:47 +00:00
Vinit Nayak 9a3c48468b Update Launcher state anim duration for pinned & transient taskbar
* We were syncing the duration of the animation to be at most
that of the taskbar/hotseat animation but only for transient taskbar.
* Now we sync for transient and pinned

Fixes: 328052756
Test: Anim jank doesn't repro
Change-Id: I21f20cbc08a2018498dde3eff871929e5a5b7d7d
2024-03-11 16:53:39 -07:00
Android Build Coastguard Worker 3beaefdac0 Snap for 11558480 from 50ae58df57 to 24Q3-release
Change-Id: I5cbd479e2cab77d5d873ed95af83577b3a364c18
2024-03-11 23:20:38 +00:00
Himanshu Gupta 616a1b828d Using LauncherApps API for PS Settings and Setup Flow.
Bug: 310027945
Test: Launcher3 tests
Flag: ACONFIG com.android.launcher3.enable_private_space TRUNKFOOD
Change-Id: I6e04a4b0c33d4526d83b51e512e1e4372ce1cca4
2024-03-11 16:13:08 -07:00
Uwais Ashraf 03033273c0 Merge "Adjust mockito dependencies to make them work for Robolectric" into main 2024-03-11 22:56:04 +00:00
fbaron a64ce4eb71 Update min next page visible to 48dp
Fix: 326623964
Flag: NONE
Test: HomeScreenEditImageTest DeviceProfileDumpTest
Change-Id: I0a2de73589bf769eb2efb8d66d9ab3836cbee6d2
2024-03-11 22:40:40 +00:00
Sunny Goyal df71298af6 Using fractions in MultiValueUpdateListener instead of absolute durations
This ensures that any global animation scale applies properly

Bug: 327645429
Flag: NONE
Test: Manual
Change-Id: I12205429dca5a87208fa9964b3307fb718af4fd0
(cherry picked from commit f584b32811)
2024-03-11 22:06:41 +00:00
Vinit Nayak 84ca0e859a Fix split selection for 3P launcher with animations off
* When animations were off, the currentState in
FallbackRecentsStateController is incorrect (we didn't need
that check at all)
* Surfaced a bug in MultiValueUpdateListener that is being
fixed in ag/26416537

Test: 1P + 3P launcher all of the following:
starting split from overview with animations and without
rotation
selecting second app before and after rotation
Fixes: 327346105

Change-Id: I4f19119c30a8669bba6ced06e30773f085a78047
(cherry picked from commit b274152194)
2024-03-11 22:00:27 +00:00
Winson Chung 3feff7b906 [automerger skipped] Merge "Revert "Revert "Implements the "Save App Pair" button in Overvie..."" into 24D1-dev am: acec0efb13 -s ours
am skip reason: Merged-In I2a4dbb83720768a9d29a4371c77e3b9410ab2fea with SHA-1 91b06fb4ac is already in history

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

Change-Id: I3009bd67654761203fcd27047760bc4736132698
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-11 21:04:00 +00:00
Vinit Nayak effcce0454 [automerger skipped] Revert "Revert "Implements the "Save App Pair" button in Overvie..." am: 14d28ad455 -s ours
am skip reason: Merged-In I2a4dbb83720768a9d29a4371c77e3b9410ab2fea with SHA-1 91b06fb4ac is already in history

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

Change-Id: I24599842ed9b7a2a54aa95fef719a403694dcc26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-11 21:03:55 +00:00
Jeremy Sim 4d1fa6f8d6 [automerger skipped] Fix bug with app pairs appearing in wrong orientation in pinned Taskbar am: eac4f16646 -s ours
am skip reason: Merged-In If2de1a4c7334fef1ba4c2edcca09bef9338bc73f with SHA-1 999ab5215a is already in history

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

Change-Id: Ib9840b6e97120a4bf7871e76e3c65d303b05cf85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-11 21:02:23 +00:00
Jeremy Sim 2692ca8925 Merge "Prevent Save App Pair from showing up on 3p launcher" into main 2024-03-11 20:49:06 +00:00
Winson Chung acec0efb13 Merge "Revert "Revert "Implements the "Save App Pair" button in Overvie..."" into 24D1-dev 2024-03-11 20:40:17 +00:00
Sebastián Franco 8a5dd1b3cf Merge "Revert^3 "Removing all restored backups except one so we don't have old backups"" into main 2024-03-11 20:17:43 +00:00
Sebastián Franco 1234090589 Revert^3 "Removing all restored backups except one so we don't have old backups"
This reverts commit 4b960d1f11.

Reason for revert: Breaking presubmit, no bug number yet 

Change-Id: I0bafad8bf63fae1d9408b65c6c18c79ab5d40d05
2024-03-11 20:15:24 +00:00
Vadim Tryshev ba219fbe25 Merge "Verifying that current Launcher is the test Launcher in fallback recents tests" into main 2024-03-11 20:05:31 +00:00
Schneider Victor-tulias 5b9d94adc5 Disable slow recents animation handling
Flag: N/A
Fixes: 324228222
Test: programmatic delay and several gestures
Change-Id: I98f3575047e442a4f57582b40cc0f36f1f113356
2024-03-11 14:46:28 -04:00
Alex Chau f03524ae74 Re-calculate mLastComputedCarouselTaskSize when its empty before getMaxScaleForFullScreen
- Follow-up on ag/26499257 to do the same on mLastComputedCarouselTaskSize
- Also changing the mLastComputedTaskSize check to isEmpty

Bug: 326550571
Flag: none
Test: Swipe up, quick switch with Pixel / 3P launcher
Change-Id: If934bf4baf2782cd752b5621ad5e9be4a2013c49
2024-03-11 17:57:00 +00:00
Saumya Prakash 50ae58df57 Merge "Revert "Ensure taskbar insets for camera cutout only apply on the needed sides"" into main 2024-03-11 17:36:24 +00:00
Sebastián Franco 37e9aa2504 Merge "Revert^2 "Removing all restored backups except one so we don't have old backups"" into main 2024-03-11 17:09:21 +00:00
Jakob Schneider 57edffece5 Merge "Improve "isActiveArchive" check by moving it a bit earlier into the method." into main 2024-03-11 16:43:50 +00:00
Catherine Liang 975a0695fb Merge "Remove createWindowContext in Launcher preview renderer" into main 2024-03-11 14:13:01 +00:00
Uwais Ashraf f7c9e2c112 Adjust mockito dependencies to make them work for Robolectric
Fix: 327257788
Flag: NA
Test: Presubmit passing
Change-Id: I1eee4fe0f79b2d22fc6bc080c8cc88c19086c7d5
2024-03-11 12:08:02 +00:00
Jeremy Sim eac4f16646 Fix bug with app pairs appearing in wrong orientation in pinned Taskbar
This CL makes it so that app pairs do an orientation check in dispatchDraw() instead of only on init().

Previously we only checked orientation on AppPairIcon.inflateIcon(), and the issue was that orientation was not re-checked when pinned Taskbar was rotated to different sides of the screen. Added a DeviceProfileListener to update orientation when DP changes.

Fixes: 323288812
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Test: Manual, app pair icon always has correct otientation on pinned taskbar
Change-Id: If2de1a4c7334fef1ba4c2edcca09bef9338bc73f
Merged-In: If2de1a4c7334fef1ba4c2edcca09bef9338bc73f
(cherry picked from commit 999ab5215a)
2024-03-11 07:08:27 +00:00
Vinit Nayak 14d28ad455 Revert "Revert "Implements the "Save App Pair" button in Overvie..."
Revert submission 26420318-revert-26391074-save-app-pair-button-ZKCRCDSCSN

Reason for revert: Test failure in question wasn't related to this topic b/328016248

Reverted changes: /q/submissionid:26420318-revert-26391074-save-app-pair-button-ZKCRCDSCSN

Change-Id: I2a4dbb83720768a9d29a4371c77e3b9410ab2fea
Merged-In: I2a4dbb83720768a9d29a4371c77e3b9410ab2fea
2024-03-11 05:00:47 +00:00
Android Build Coastguard Worker 38cc01fe63 Snap for 11554395 from bbdcade30d to 24Q3-release
Change-Id: I36433fa843c45cd2e8a0d113fc9545a78f5123a8
2024-03-09 22:20:51 +00:00
Sebastián Franco bbdcade30d Merge "Add testing for GridMigration." into main 2024-03-09 13:41:00 +00:00
Brandon Dayauon 68c18236ad Disable two line text legacy flag.
Will now repurpose the twolinetoggle flag to be the flag that will
make twoline text enabled/disabled.

bug: 316027081
Test: presubmit
manually: https://screenshot.googleplex.com/BsZGCm7DrTZLwG4
Flag: com.android.launcher3.enable_twoline_toggle Staging
Change-Id: Idef427bad6551ae56b13e35393e076b8e000af5a
2024-03-08 21:32:22 -08:00
Treehugger Robot a1799ea913 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-09 04:28:04 +00:00
Treehugger Robot f190ede681 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-09 04:28:04 +00:00
Android Build Coastguard Worker f6d16645e7 Snap for 11551442 from 513437bdfa to 24Q3-release
Change-Id: I3e89bf7a4f7235724616f136e8ee1864aab84707
2024-03-09 02:21:04 +00:00
Treehugger Robot 41770fbc60 Merge "Fix overview live tile flickers when clicking on overview action buttons" into main 2024-03-09 02:03:56 +00:00