Commit Graph

74519 Commits

Author SHA1 Message Date
Ats Jenk d573fde5bf Merge "Remove line between bubble bar and arrow" into main 2024-03-08 21:31:08 +00:00
Vadim Tryshev daf428a142 Merge "Demoting unstable test testSwipeToStashAndUnstash" into main 2024-03-08 21:21:14 +00:00
Vadim Tryshev 513437bdfa Merge "Saving artifacts for failing initialization of PortraitLandscapeRunner" into main 2024-03-08 20:18:11 +00:00
Sebastián Franco 0f0c1dd30b Merge "Revert "Removing all restored backups except one so we don't have old backups"" into main 2024-03-08 18:45:17 +00:00
Sebastián Franco 3306fa5325 Revert "Removing all restored backups except one so we don't have old backups"
This reverts commit bd43b9344f.

Reason for revert: b/328782012

Change-Id: I1666fbd63d82da06ed8c3d9ce58b5ed6b298618b
2024-03-08 18:42:30 +00:00
Federico Baron e81e048183 Merge "Fix folder name touch target size" into main 2024-03-08 17:30:21 +00:00
Randy Pfohl 79c34b4dfe Merge "When mLastComputedTaskSize is empty we will recalculate and set it before determining scale and pivot" into main 2024-03-08 17:08:23 +00:00
Federico Baron f9aa2a4a47 Merge "Remove logspam for resolved bug" into main 2024-03-08 16:29:17 +00:00
Sebastián Franco acdcaa21a0 Merge "Removing all restored backups except one so we don't have old backups" into main 2024-03-08 14:16:14 +00:00
Ats Jenk a8e77927b4 Remove line between bubble bar and arrow
Bubble bar background is a drawable that consists of a rounded rect and
a pointer arrow.
In light theme, the rounded rect has a 1 pixel wide border around it.
When drawing the arrow just above the rounded rect, the border is
visible as a line between the background rounded rect and the arrow.
Shifting the arrow down by 1 pixel to ensure that there is no visible
arrow between bubble bar and arrow.

Other option could be to draw the entire background as a single path.
This path can combine the rounded rect background and arrow. But we need
to control the alpha of the arrow separately from the background. This
we can't do with a single path.

Bug: 324442574
Flag: NA
Test: manual
Change-Id: Iaa58ae4700ed9ad43051cd386f03381e0c14e72c
2024-03-07 23:37:49 -08:00
Vadim Tryshev ee39f393e7 Saving artifacts for failing initialization of PortraitLandscapeRunner
Test: presubmit
Flag: N/A
Bug: 321772674
Change-Id: Ifa865224ebdae160b4fbc75b587d893ac6bfd847
2024-03-07 18:28:21 -08:00
Himanshu Gupta 68c145a14b Merge "Clearing All Apps Search For ALL_APPS Intent" into main 2024-03-07 22:29:31 +00:00
randypfohl fca7ee23ba When mLastComputedTaskSize is empty we will recalculate and set it before determining scale and pivot
Bug: 326550571

Test: manually set computed task size to 0 simulating unset circumstance, and ran logs verifying infinite, added fix, and verified logs showing the same scale before and after with get tasksize set

Flag: none

Change-Id: I0f928885e2fc6cfc0d6a064d6e9f1c614bf7a5af
2024-03-07 12:09:28 -08:00
Ats Jenk 60101ae7fc Merge changes from topic "bubble-bar-drag" into main
* changes:
  Fix bubble bar arrow visibility during animation
  Animate bubble bar location changes
  Introduce bubble bar location that is driven by shell
2024-03-07 19:42:17 +00:00
Vadim Tryshev 9d0838066f Merge "Further syncing Launcher3 atest XML config with the GCL one" into main 2024-03-07 19:20:35 +00:00
fbaron 7e5d855886 Remove logspam for resolved bug
b/318394698 was fixed so we can now remove these logs.

Fix: 321837497
Test: N/A
Flag: NONE
Change-Id: Ifc8b18238778f6aa2c0ad1be5df627c07cbaf1d8
2024-03-07 11:11:36 -08:00
Vadim Tryshev 8e2a024d96 Demoting unstable test testSwipeToStashAndUnstash
Test: presubmit
Flag: N/A
Bug: 321083190
Change-Id: I10643a9340e78a97df3e8501a8a55d0312e61353
2024-03-07 10:45:19 -08:00
Rohit Goyal ee5a46cf1a [automerger skipped] Bugfix: Remove widgets and deep shortcuts of app which gets archived. am: 877da31569 -s ours
am skip reason: Merged-In Ib3a112aadc7bd901fd6a0ba86f472ec6acf8d626 with SHA-1 bef2930f5a is already in history

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

Change-Id: I1f9b1f5278c22583d9fe93081c521c60866f9396
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 17:40:00 +00:00
fbaron 0b2253b532 Fix folder name touch target size
With this update, the touch target height for the folder name is now to match the footer height

Flag: NONE
Test: Verified on device with talkback turned on
Fix: 318463992
Change-Id: I77f07280eb54b442efadf7e7373952ea160fc5d2
2024-03-07 09:39:51 -08:00
Fengjiang Li e24af582c6 Merge "Use Matrix.setRectToRect() replace RectUtils.letterBox()" into main 2024-03-07 17:28:11 +00:00
Sebastian Franco bd43b9344f Removing all restored backups except one so we don't have old backups
Adding test to make sure this is the case.

Bug: 325285743
Flag:  ACONFIG narrow_grid_restore disabled
Test: BackupAndRestoreDBSelectionTest
Change-Id: I84c3a92f40598137d5c5c52d34af7583b384122c
2024-03-07 11:23:55 -06:00
Himanshu Gupta e2ae040e35 Merge "Revert Accidental tweak of work profile behaviour" into main 2024-03-07 13:54:11 +00:00
Xin Li 7982d20b7d [automerger skipped] Merge "Merge Android 14 QPR2 to AOSP main" into main am: 17dabff1dd -s ours am: aaa0ea8b80 -s ours
am skip reason: Merged-In Ic9b3be62af2271286292cfaf30bda03351c1aaf6 with SHA-1 962f362912 is already in history

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

Change-Id: Ia206f8e1985d35cfd63b6df2650be2f53358eb8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:49:10 +00:00
Xin Li ac83be1cbe [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 7e8ae158f4 -s ours am: 462787eaed -s ours
am skip reason: Merged-In Ic9b3be62af2271286292cfaf30bda03351c1aaf6 with SHA-1 962f362912 is already in history

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

Change-Id: Id82c1d5adc73eb2a12607ad3c1ce87bd194b34cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:18 +00:00
Xin Li aaa0ea8b80 [automerger skipped] Merge "Merge Android 14 QPR2 to AOSP main" into main am: 17dabff1dd -s ours
am skip reason: Merged-In Ic9b3be62af2271286292cfaf30bda03351c1aaf6 with SHA-1 962f362912 is already in history

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

Change-Id: If7a0f00e42b2c43fd41362738028bbf8e8b1449a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:57:48 +00:00
Xin Li 462787eaed [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 7e8ae158f4 -s ours
am skip reason: Merged-In Ic9b3be62af2271286292cfaf30bda03351c1aaf6 with SHA-1 962f362912 is already in history

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

Change-Id: Ia850c7cb3ae50af55d83fef5e368c505451214e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:54:53 +00:00
Himanshu Gupta 68532621bb Merge "Disable Saving App Pairs for Private Space Apps" into main 2024-03-07 08:49:59 +00:00
Xin Li 17dabff1dd Merge "Merge Android 14 QPR2 to AOSP main" into main 2024-03-07 06:41:07 +00:00
Fengjiang Li c6ae88f904 Use Matrix.setRectToRect() replace RectUtils.letterBox()
Bug: 284236964
Flag: aconfig launcher.enable_add_app_widget_via_config_activity_v2 DISABLED
Test: manual
Change-Id: Ia83f3415442c2359bffb1efcfd1ee96bf17ab9ff
2024-03-06 17:04:02 -08:00
Uwais Ashraf 21393f4651 Merge "Add required setup for quickstep tests to be run devicelessly" into main 2024-03-06 23:32:14 +00:00
Ats Jenk 4186cf1b96 Fix bubble bar arrow visibility during animation
Bubble bar pointer arrow was being drawn outside of BubbleBarView
bounds.
This caused issues when alpha was applied to the BubbleBarView. With
alpha, BubbleBarView draw was clipped to its bounds and arrow was no
longer visible. This led to the arrow flickering during move animations.
Move animation updates alpha.
Move the pointer arrow inside the bounds of the bar view. Update the bar
height to include the arrow.
Update callers who rely on bubble bar content height to take into
account extra height for the arrow.

Bug: 313661121
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Test: move bubble bar left and right, observe arrow is visible
Change-Id: I05866b5c944361b2f10437c3641527ed3c594047
2024-03-06 15:06:05 -08:00
Ats Jenk 77b6225d91 Animate bubble bar location changes
When it is not the initial bubble data, animate bubble bar location
change.

Bug: 313661121
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Test: manual, move expanded view from one side to the other, observe the
  location change animates

Change-Id: I52117a31d02e7160ca1d3dc3e724bda2e38f6cbf
2024-03-06 15:03:57 -08:00
Himanshu Gupta 189f3f8621 Merge "Fixing Layout height for Private Space container" into main 2024-03-06 21:56:45 +00:00
Jeremy Sim 46aa4a58f8 Merge "Fix bug with app pairs appearing in wrong orientation in pinned Taskbar" into main 2024-03-06 21:56:34 +00:00
Anushree Ganjam a61e05ebab [automerger skipped] [DO NOT MERGE] Enable omnient flags in P8a branch. am: 0d3016943c -s ours
am skip reason: contains skip directive

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

Change-Id: I95903f796710719885d396e0d91379cb9dfad3f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-06 18:53:44 +00:00
Vinit Nayak d1fb97ae64 Merge "On disabled app pairs, set color tint instead of changing alpha" into main 2024-03-06 18:39:19 +00:00
Vadim Tryshev 7a4b8a4513 Further syncing Launcher3 atest XML config with the GCL one
Test: abtd
Flag: N/A
Bug: 271324404
Change-Id: I51f02c290fa2efba2d7dac68090105e67b017f51
2024-03-06 10:36:55 -08:00
Ats Jenk cd0f35383f Introduce bubble bar location that is driven by shell
Adds bubble bar location to the update object that is sent by shell.
Allows repositioning the bubble bar if the location changes.

Bug: 313661121
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT

Test: manually sending the update to reposition, dragging coming soon
Change-Id: Id430a98116d860a7badcf607edc166c751e12cf8
2024-03-06 10:17:11 -08:00
Brandon Dayauon b2f5bb00f4 Merge "Update icon background color of the private space widget tile" into main 2024-03-06 18:07:03 +00:00
Xin Li 7e8ae158f4 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: Ic9b3be62af2271286292cfaf30bda03351c1aaf6
Change-Id: I2af35abec8a5f2c046192cac6006d9cc759d93c9
2024-03-06 09:30:05 -08:00
Catherine Liang d56332892d Merge "Fix Launcher preview crash" into main 2024-03-06 16:57:16 +00:00
Anushree Ganjam 0d3016943c [DO NOT MERGE] Enable omnient flags in P8a branch.
Bug: 327638681
Test: NA
Flag: legacy ENABLE_LONG_PRESS_NAV_HANDLE_MPR ENABLED
Change-Id: Ic2565c5c67f6877b88138f527e09a63dfcda47bf
2024-03-06 16:45:19 +00:00
Rohit Goyal 877da31569 Bugfix: Remove widgets and deep shortcuts of app which gets archived.
* Once app is archived, remove widgets and deep shortcuts corresponding to the app from the home screen.
* However during backup & restore, widgets should not be removed if they are being restored.

Test: verified bugfix locally.
Bug: 326567866
Flag: ACONFIG com.android.launcher3.enable_support_for_archiving DEVELOPMENT
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bef2930f5a29655f6c403f2d5eefd4e99a733b04)
Merged-In: Ib3a112aadc7bd901fd6a0ba86f472ec6acf8d626
Change-Id: Ib3a112aadc7bd901fd6a0ba86f472ec6acf8d626
2024-03-06 14:48:09 +00:00
Uwais Ashraf 45cd460cef Add required setup for quickstep tests to be run devicelessly
Fix: 325090628
Flag: NA
Test: gradlew :NexusLauncher:testGoogleWithQuickstepDebugUnitTest
Test: atest NexusLauncherRoboTests
Test: presubmits passing
Change-Id: I9ef80d4bf03e9bdb6c23d776df621a32248e6b0d
2024-03-06 14:01:21 +00:00
Himanshu Gupta e7b86b22b8 Disable Saving App Pairs for Private Space Apps
This change disables saving App Pair from recents
into launcher workspace when any of the app in pair
belongs to Private Space.
Private Space are still allowed in Split Mode

Bug: 322892793
Test: Manual on device
Flag: ACONFIG com.android.launcher3.private_space_restrict_accessibility_drag TRUNKFOOD
Change-Id: I204b721ce3a2bf4ebfd7419c25d72a77fd8174ac
2024-03-06 10:45:40 +00:00
Andreas Agvard d632f22258 Merge "Adds new AssistStateManager settings" into main 2024-03-06 09:37:17 +00:00
Jeremy Sim 999ab5215a 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
2024-03-05 22:32:36 -08:00
Jeremy Sim 09fe96b95a On disabled app pairs, set color tint instead of changing alpha
This CL changes the way disabled app pair icons are drawn: instead of setting alpha, it sets a color filter to indicate disabled status. This brings it in line with other apps icons and V's design specs.

Fixes: 326665140
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Test: Manual
Change-Id: Ifc8ac694f321a6b28996ba9a42860dfc419d5901
2024-03-05 21:45:00 -08:00
Fengjiang Li 7dea7f0b42 Merge "[2/n] Avoid flicker to drop a widget that needs a config activity" into main 2024-03-06 02:03:48 +00:00
Fengjiang Li f114ec5b26 Merge changes Iab1de455,I0c6585e6,I125670d1 into main
* changes:
  [Predictive Back] Recover taskbar all apps scale to 1f with animation if user swipe back within search [3/n]
  [Predictive Back] Dismiss taskbar all apps's scroll bar during swipe gesture [2/n]
  [Predictive Back] Fix predictive back swipe on task bar all apps [1/n]
2024-03-06 01:32:17 +00:00