Commit Graph

78507 Commits

Author SHA1 Message Date
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
Android Build Coastguard Worker 8954c85a51 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26499257'] into 24Q2-release.
Change-Id: I58751eaa7981ac656fb202089b52373c640b0330
2024-03-08 23:58:57 +00:00
randypfohl 81d456f1d3 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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fca7ee23ba35c35292e6f26ca051cd64c437ca27)
Merged-In: I0f928885e2fc6cfc0d6a064d6e9f1c614bf7a5af
Change-Id: I0f928885e2fc6cfc0d6a064d6e9f1c614bf7a5af
2024-03-08 23:56:54 +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
Willie Koomson 52f2e98647 Check for null preview in WidgetItem.hasGeneratedPreview
AppWidgetManager.getWidgetPreview has been updated to return null
if the provider does not exist or the caller does not have permission to
access its previews. This change updates WidgetItem to check for that.

Bug: 308041327
Test: GeneratedPreviewTest#widgetItem_hasGeneratedPreview_nullPreview
Flag: ACONFIG com.android.launcher3.enable_generated_previews TRUNKFOOD
Change-Id: Ic2489c8698a81ba1bac005b2eb77348bcbfab999
2024-03-08 22:22:53 +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
Shamali P 20a5f4e8d1 Update labels for the categories to match the UX writer provided strings
Also fix issue that user was not passed when getting application info.
(error noticed by Zak)
http://screen/8fiiTSHvo2SfYdE

Bug: 318410881
Flag: N/A
Test: Unit test
Change-Id: Id85feec0d95d3d4d183a673f7eed40906b0043e2
2024-03-08 19:58:23 +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
Vadim Tryshev 96aca9eb0b Verifying that current Launcher is the test Launcher in fallback recents tests
Test: presubmit
Flag: N/A
Bug: 321775748
Change-Id: Id22993785f9674bc746dfbcf979e7b6f775a9680
2024-03-08 11:24:02 -08:00
Sebastián Franco 4b960d1f11 Revert^2 "Removing all restored backups except one so we don't have old backups"
This reverts commit 3306fa5325.

Reason for revert: Fixing issue that caused b/328782012

Change-Id: Ib6a1bbfeedf608f5f77ac6be500271e811320f32
2024-03-08 18:53:57 +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
Andy Wickham 3081537398 Consolidate settings for Assist.
Now there is just 1 toggle for all entrypoints.

Bug: 324036308
Test: Manual and unit tests
Flag: NA
Change-Id: Id4463345c44fa4daba4eac67b5ad00aff7f3a606
2024-03-08 03:43:41 +00: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
Android Build Coastguard Worker ea307fc57a Snap for 11545716 from 60101ae7fc to 24Q3-release
Change-Id: Iac01a4f2a68a4125548bc9a463701f7e07b172c6
2024-03-08 00:20:58 +00:00
Himanshu Gupta 68c145a14b Merge "Clearing All Apps Search For ALL_APPS Intent" into main 2024-03-07 22:29:31 +00:00
Android Build Coastguard Worker ba2db8f04f Merge cherrypicks of ['googleplex-android-review.googlesource.com/26458704'] into 24Q2-release.
Change-Id: I50edaaa40f9329b07f368c4e40ab12f08152fb01
2024-03-07 20:57:56 +00:00
Jagrut Desai 754f171a98 Revert "Ensure taskbar insets for camera cutout only apply on the needed sides"
This reverts commit 40fc6eb323.

Reason for revert: <b/328182219>

Change-Id: I5b846919823d696933b7d9f4220c1797409fc8b8
2024-03-07 20:55:48 +00:00
Andreas Agvard 81a7d0b191 Adds new AssistStateManager settings
Flag: NONE
Bug: 326143814
Test: Unit
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d78d9bb5e2b300c68aae4c6071c913f332a994eb)
Merged-In: Ie5cbae55452cf283a0ffde18e5237cebae6ee40e
Change-Id: Ie5cbae55452cf283a0ffde18e5237cebae6ee40e
2024-03-07 20:54:43 +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
Jeremy Sim 2b2d8cc90b Prevent Save App Pair from showing up on 3p launcher
This CL adds a check so that app pairs can't be saved on 3p launchers. This affects the Overview icon dropdown menu and the Overview Actions Bar.

Fixes: 326155701
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Test: Manual, option does not show up when Nova Launcher is set as default home app, and shows up again for Pixel Launcher.
Change-Id: I60d6fd3b3eb39921edafb12faace743d16de270f
2024-03-07 20:23:47 +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
Sunny Goyal 014e15a86e Simplefying listener interface for TriggerSwipeUpTouchTracker
Merging two callbacks into a single interface

Bug: 327616437
Flag: None
Test: Presubmit
Change-Id: I026df7dca15acbd04b59df1abbf375684d9bfffb
2024-03-07 11:40:29 -08: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