Commit Graph

74541 Commits

Author SHA1 Message Date
Sebastián Franco bbdcade30d Merge "Add testing for GridMigration." into main 2024-03-09 13:41:00 +00: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
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
Treehugger Robot 00110bce5f Merge "Add logs for TaplAddConfigWidgetTest test" into main 2024-03-09 01:55:14 +00:00
Treehugger Robot d4a6c03b51 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 7c8b31d2d7 -s ours
am skip reason: contains skip directive

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

Change-Id: I442926ec838991f73392c0c9c4719952ce8e8543
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-09 00:42:16 +00:00
Bill Yi 597240d0c2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 845c11af1b -s ours
am skip reason: contains skip directive

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

Change-Id: I51741d7fdcc51e32918a0770367d5d5d149a8d8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-09 00:42:06 +00:00
Bill Yi d5bf431262 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: bef9d61eba -s ours
am skip reason: contains skip directive

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

Change-Id: I86cfe816e7f6a0aac99e15b23b5c17bb81deec6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-09 00:41:53 +00:00
Treehugger Robot 7c8b31d2d7 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-08 23:49:57 +00:00
Anushree Ganjam 4a214f5750 Merge "Enable Omnient master flags in client code." into main 2024-03-08 22:46:17 +00:00
Fengjiang Li 951f74bb60 Merge "[Predictive Back] Don't hide/reveal scroll bar in predictive back swipe in 2 pane widget picker" into main 2024-03-08 22:04:06 +00:00
Anushree Ganjam 25fc87b340 Merge "Remove expecting DOWN events in TAPL tests." into main 2024-03-08 21:43:04 +00:00
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
Sebastian Franco 851b1f3b1c Add testing for GridMigration.
Bug: 325286145
Flag: ACONFIG grid_migration_fix disabled
Test: GridMigrationTest
Change-Id: I49fd32be895f3a05204775373b9eec62d9026f3b
2024-03-08 14:46:41 -06:00
Vadim Tryshev 513437bdfa Merge "Saving artifacts for failing initialization of PortraitLandscapeRunner" into main 2024-03-08 20:18:11 +00:00
Jordan Silva 024a1018e4 Fix overview live tile flickers when clicking on overview action buttons
When a Live Tile is present on overview and an action is triggered (e.g., Split, Select, Screenshot), the live tile flickers due to a competing snapshot modification and animation on UI thread. The live tile is updated to switch to screenshot and at the same time the finishRecentsAnimation is triggered.

This CL bumps the number of frames to wait after the view is updated to run the Runnable code. Bumping back the mDeferFrameCount to 2 solves the sync between rendering the snapshot and hiding the Live Tile.

Fix: 327380570
Flag: N/A
Test: Manual. Open an App -> Swipe to Overview (Live title) -> Click on Split.
Change-Id: Ibd22a58580b2e5e5b866deb4e7dc87945c7e38c4
2024-03-08 19:33:25 +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
Bill Yi bef9d61eba Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifd0f0d664b6feed8fed6de399f409efca4bbcca6
2024-03-07 22:08:45 -08:00
Bill Yi c9966f740d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4061bb1b32f9888e5b51176b462017a3bcf520ac
2024-03-07 22:08:18 -08:00
Bill Yi 845c11af1b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I21acc4be9862de6fceb44dd0764c72e99804166b
2024-03-07 22:07:22 -08:00
Bill Yi 4266c83ed6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I862c3d90608b8b67f3b5d10ec8cc2152c38a39fd
2024-03-07 22:06:56 -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
Fengjiang Li 7c6f770a41 [Predictive Back] Don't hide/reveal scroll bar in predictive back swipe in 2 pane widget picker
Fix: 328639347
Test: Manual - took a video
Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TEAMFOOD
Change-Id: I909cca47477d75c2dd9b861e3c7812b9540e6fa1
2024-03-07 16:29:14 -08:00
Himanshu Gupta 68c145a14b Merge "Clearing All Apps Search For ALL_APPS Intent" into main 2024-03-07 22:29:31 +00:00
Anushree Ganjam 3b220c62ce Enable Omnient master flags in client code.
Bug: 327638681
Test: Manual
Flag: legacy ENABLE_LONG_PRESS_NAV_HANDLE ENABLED
Change-Id: Id8990ed145b4f035e5cd14e901676ebbd03733dd
2024-03-07 12:39:18 -08:00
Anushree Ganjam 461038d5d5 Remove expecting DOWN events in TAPL tests.
ACTION_UP is always preceded by ACTION_DOWN which means when launcher
receives an UP events, down event is obviously sent.

In b/325377690 , we started seeing only in P9 devices the DOWN events didn't reach TAPL. I added InputDispatcher logs which shows both DOWN and UP events are sent by system_server to NexusLauncher.
However TAPL doesn't receive it. After spending lot of time debugging this, I think we are safe to remove DOWN event expectation in TAPL.

Bug: 325377690
Test: Manual, TAPL presubmits
Flag: NA
Change-Id: I6d3587c488d45e3dc53d2c1c4f3b6b49285eae94
2024-03-07 12:31:38 -08: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
Sukesh Ram 73b07daab3 Add logs for TaplAddConfigWidgetTest test
Flag: NONE
Bug: 324419890
Test: Check logs when flake is reproduced
Change-Id: I2fdb1e4f96c8095a387280c79e074ee42eb0010c
2024-03-07 18:53:15 +00: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