Commit Graph
87505 Commits
Author SHA1 Message Date
Sebastian Franco 7b46e1145c Set default grid when doing a backup and restore
When restoring from a tablet because phones don't have
the same table some issues can ocure because we setup a
non valid grid, the correct thing is to setup a default.

Bug: 325285743
Fix: 332964986
Flag: ACONFIG narrow_grid_restore enabled
Test: BackupAndRestoreDBSelectionTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:df7d2b08614adfd19245577724588307ff439a7d)
Merged-In: I28bf02e83dddf5ae84818d879a5e21600eddf67e
Change-Id: I28bf02e83dddf5ae84818d879a5e21600eddf67e
2024-04-22 16:15:41 +00:00
Sebastian Franco 8c3d830b39 Making 2 flags read only since they are used on backup and restore
The flags are narrow_grid_restore and grid_migration_fix.

Flag: ACONFIG enable_grid_migration_fix enabled
Flag: ACONFIG enable_narrow_grid_restore enabled
Bug: 325286145
Bug: 325285743
Test: BackupAndRestoreDBSelectionTest.kt
Test: GridMigrationTest.kt
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5ea61960ab4b0da02aeb5dd36968c2ef923709aa)
Merged-In: Ia6a439553c3c5098115144eae532342ce73be4f2
Change-Id: Ia6a439553c3c5098115144eae532342ce73be4f2
2024-04-22 16:15:30 +00:00
Sebastian Franco f5a2e75100 In the case the gird migration goes to a taller grid keep the grid configuration
For example going from 4x5 to 4x6 it will keep the 4x5 configuration
which fits in the 4x6 grid.

Also, it fixes GridMigrationTest which was flaky because of
how it sorted arrays.

Bug: 325286145
Flag: ACONFIG grid_migration_fix disabled
Test: NA
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2eaf15c37a051fd17c18c4443a8bd19d39057bf0)
Merged-In: I6063e3c303320096f7429a3b1d909e107d2ef2a0
Change-Id: I6063e3c303320096f7429a3b1d909e107d2ef2a0
2024-04-22 16:15:13 +00:00
Jagrut Desai 2f8baab403 Customize BubbleTextView for Taskbar Icon Size
Test: Presubmit, manual
Flag: NONE
Bug: 322734668
Change-Id: I50503a45cdf43abed942a846c2517f49124c75e5
(cherry picked from commit 8fbdf51d18)
2024-04-22 16:10:06 +00:00
Mykola Podolian 1f40fa0e7f Merge "Updated pointer to match visual specification." into main 2024-04-22 16:06:39 +00:00
Schneider Victor-tulias 3f8eea99e3 Remove debug tracing for b/321775748
Flag: N/A
Fixes: 321775748
Test: FallbackRecentsTest
Change-Id: I1f746bf43025e093e94e60f8a1561f4f6a0f9b22
2024-04-22 09:55:49 -04:00
Winson Chung bb32b7e0de Migrate PackageManagerHelper to MainThreadInitializedObject
- This is in preparation for other things that can be loaded with
  PMH initialization and prevents duplicate temporary helpers from
  loading this many times.
- Most calls in PMH can use the app context, but one call requires
  starting activities/showing toasts so that one needs to take the
  context and can be made static instead.

Bug: 323112914
Test: atest NexusLauncherTests
Change-Id: Id11c780955880cf49c022cbf2744c41e1b696355
2024-04-22 12:35:03 +00:00
renovate[bot] 893fc8cfb0 Update dependency io.nlopez.compose.rules:ktlint to v0.3.16 (#4318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 12:11:05 +00:00
Jordan Silva cbd111483e Add TestActivity without any label for testing
This change adds an unlabeled activity to test the overview select action. The test evaluates the overview modal task state to verify that the UI displays correctly.
Using an activity without a label prevents flakiness from AiAi, which sometimes shows the activity title as selected and sometimes does not.

Bug: 332750488
Flag: NA
Test: OverviewTaskSelectImageTest
Change-Id: I6b63f1410bc466ac6711b0ca3d609d8f7a31d8c1
2024-04-22 12:39:06 +01:00
Bill Yi 147885412c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8e8e27e5eac15277cc4416ffb0302897b02e5a75
2024-04-21 18:48:24 -07:00
Bill Yi 6f2f4fd9a6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I075547a7799f9e0f6296f9587e246f5d4bee0f42
2024-04-21 18:47:59 -07:00
Bill Yi e0968bbe1e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I21d47a6b4bbec3abb9688b88caff2b99fb58f4f1
2024-04-21 18:46:43 -07:00
Schneider Victor-tulias 1ebeb1d1ae Merge "Update KQS to better support desktop tasks" into main 2024-04-22 01:37:39 +00:00
Android Build Coastguard Worker 49079f0989 Snap for 11743175 from ba219c3fa9 to 24Q3-release
Change-Id: I775deded5b3ac8e25623b6e86a87c4039b76e76a
2024-04-21 21:21:18 +00:00
Pun ButrachandGoooler 85b555d483 Enable automatic per-app language support (#4312)
* Enable automatic per-app language support

This will send list of available localisation to Android for then user
to change the languages in Settings. The default language for Lawnchair
is set to English American (en-us)

Signed-off-by: GitHub <noreply@github.com>

* Enable pseudolocales for Debug variant

* Move pseudoLocalesEnabled into all block

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Goooler <wangzongler@gmail.com>
2024-04-21 05:24:27 +00:00
renovate[bot] cb2e86234d Update dependency com.kieronquinn.smartspacer:sdk-client to v1.0.9 (#4314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-21 13:11:23 +08:00
Lawnchair BotandCrowdin Bot 3aa011ec4f New Crowdin translations by GitHub Action (#4313)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-04-21 03:49:48 +03:30
Android Build Coastguard Worker d3a5d37841 Snap for 11742632 from 7d5c3b60e8 to 24Q3-release
Change-Id: Iae1a59716ee67f240f10b8f1856a52dc56b3824e
2024-04-20 21:21:12 +00:00
Treehugger Robot ba219c3fa9 Merge "Include FW flag to launcher3 dependency" into main 2024-04-20 18:03:02 +00:00
Android Build Coastguard Worker 2db6da8bb3 Snap for 11740859 from f22011a51c to 24Q3-release
Change-Id: Ibb1fe1e3d80f555ed68282eda7a8b99664da67c6
2024-04-20 01:21:08 +00:00
Bill Yi 7d5c3b60e8 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-20 00:45:08 +00:00
Bill Yi e0105a648a Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-20 00:45:08 +00:00
Shamali Patwa a80e199798 Merge "Keep rounded corners while scrolling in right pane & fix scrollbar size." into main 2024-04-19 22:43:39 +00:00
Stefan Andonian f22011a51c Merge "Use ItemInfo with correct position when adding to Workspace via Accessibility." into main 2024-04-19 21:13:11 +00:00
Shamali Patwa 4ee10f33ee Merge "Use same margins for widgets bottom sheet as all apps." into main 2024-04-19 21:08:24 +00:00
Eghosa Ewansiha-Vlachavas 0c338f3055 Merge "Check RecentsView is not null before use in AbsSwipeUpHandler" into main 2024-04-19 20:25:21 +00:00
Anushree Ganjam 093ef5fa30 Merge "When AllAppsSearchBarController's mInput edit text focus is false, we should hidekeyboard." into main 2024-04-19 19:59:44 +00:00
Schneider Victor-tulias ec39107105 Update KQS to better support desktop tasks
While we wait for a way to display a sreenshot of the desktop statically, using a placeholder solution.

Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 335632286
Test: TaplTestKeyboardQuickSwitch
Change-Id: I2525ab89eb3a5a902e7ab55367187d87aada1f10
2024-04-19 14:53:20 -04:00
Sebastián Franco 87fbc2e02e 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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ad46eb75f4c239321b1e8f03062dd7599cdc9495)
Merged-In: I63666c29eb91dada4243af019ab0538c40bc0f78
Change-Id: I63666c29eb91dada4243af019ab0538c40bc0f78
2024-04-19 18:27:07 +00:00
Eghosa Ewansiha-Vlachavas 47e0a61f29 Check RecentsView is not null before use in AbsSwipeUpHandler
Prevents NullPointerException

Flag: NONE
Test: Presubmit
Fixes: 335485976
Change-Id: Ia91f95dc4839c9d4c00c7aeed6cc9cebdafa33ee
2024-04-19 18:18:51 +00:00
Vinit Nayak c0a1fbe872 Merge "Revert^2 "Launch split tasks at beginning of animation instead of the end"" into main 2024-04-19 17:00:37 +00:00
Android Build Coastguard Worker 1bd5c971d6 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27013964'] into 24Q3-release.
Change-Id: I2826af10c179b0f97d1fbd3d8030c2ccdc92f4cd
2024-04-19 16:36:14 +00:00
Shamali Patwa 140124334a Revert "When getting a widget provider by name, check all categories"
This reverts commit 1f69351310.

Reason for revert: Testing odd behavior between google app and pixel weather and duplicate items issue
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7e5ed568b9f14570a67293827c5c7248b2ac975d)
Merged-In: If181aa3e86969e8821b7e1cc765c3801f04489d2
Change-Id: If181aa3e86969e8821b7e1cc765c3801f04489d2
2024-04-19 16:36:03 +00:00
Stefan Andonian 86d3c8814b Use ItemInfo with correct position when adding to Workspace via Accessibility.
Bug: 332651703
Flag: NA
Test: Verified that the issue isn't reproducible with the fix. The issue
was 100% reproducible before.
Change-Id: I01207396e19b4f7d14d6a147e5e5fb98bae9ea99

Change-Id: I81aad9758ee33b8acc2d6a1242e54f2a47124374
2024-04-19 16:22:39 +00:00
Fengjiang Li 7d80f801b1 Merge "[Predictive Back] AbstractSlideInView#mViewToAnimateInSwipeToDismiss can be private" into main 2024-04-19 16:22:30 +00:00
Treehugger Robot d8a6db2c90 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: a692409e5b -s ours
am skip reason: contains skip directive

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

Change-Id: I40b4ccea42b0653f2b86044dec63abc7c40b665e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 16:16:32 +00:00
Bill Yi 99c7b2d991 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ea696564d5 -s ours
am skip reason: contains skip directive

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

Change-Id: Ie6a92980cb5248e207ad2b3f28bdff16955ec06e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 16:16:27 +00:00
Bill Yi 5f71ca9d0f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 46a33d45c0 -s ours
am skip reason: contains skip directive

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

Change-Id: I85ccb22d67a3a94ca79166cc7f9d39b4165324b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 16:16:20 +00:00
Treehugger Robot a692409e5b Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-19 16:00:28 +00:00
Charlie Anderson 299e42cf8d Merge "Fix NPE for where intent.package is null but targetpkg is not." into main 2024-04-19 15:10:20 +00:00
mpodolian 73b07e2024 Updated pointer to match visual specification.
Updated bubble bar view pointer to have rounded tip.

Test: BubbleBarViewAnimatorTest
Fixes: 333546362
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Change-Id: I7875426b06a330bc355a833c51849335f831317e
2024-04-19 15:32:26 +01:00
Brandon Dayauon 715059a1e3 Merge "Make settings cog animate back to original button" into main 2024-04-19 10:07:36 +00:00
Luca Zuccarini 62535f1fab Merge "Settle without jumping at the end of the home transition." into main 2024-04-19 09:50:38 +00:00
Bill Yi ea696564d5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I69611a4fef3c988a5639cb21110f608d38d07897
2024-04-18 23:15:13 -07:00
Bill Yi a42f37d97e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ife6c71dc43953d4bb17e9913334aeb3e6d55d9a8
2024-04-18 23:14:45 -07:00
Bill Yi 46a33d45c0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6f2f4284cf13655c06901f962e97de9c74a88bfe
2024-04-18 23:13:46 -07:00
Bill Yi 84d1a232f1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7331cf03b59ebe8617870299f491f76d4f25ae4c
2024-04-18 23:13:19 -07:00
Brandon Dayauon 24db282ed4 Merge changes Ied2efcf6,I07579635 into main
* changes:
  Polish workFAB with updated spec.
  Fix workFAB alignment.
2024-04-19 00:59:19 +00:00
Vinit Nayak a6bf5a0014 Revert^2 "Launch split tasks at beginning of animation instead of the end"
This reverts commit fb092a9a6c.

Reason for revert: b/333937249

Change-Id: I77bd6c0d2fbe2f2dad074e8e0e741b50d4d7c204
2024-04-19 00:18:16 +00:00
Android Build Coastguard Worker 398ba7a42c Snap for 11733120 from a7d2658d96 to 24Q3-release
Change-Id: Ibe2821ca8a66683eca09bfea1a62b20ec6c3bbb8
2024-04-18 23:20:59 +00:00