Commit Graph
74709 Commits
Author SHA1 Message Date
Anna Zhuravleva b05ceb39b5 Log number of apps in Private space
Log number of user installed and preinstalled apps
in private profile.

Bug: 328406844
Test: aster-previz https://paste.googleplex.com/5134195153698816
Flag: ACONFIG com.android.launcher3.enable_private_space_launch DEVELOPMENT
Change-Id: Ife8a8ee81dca90fa37dba2f3e719ba8031d2eb49
2024-03-18 16:32:31 +00:00
Rohit Goyal 1a59da4e82 Merge "Bugfixes: Handle session failure unarchival cases so that icon and title are accurate." into 24D1-dev am: f51bd26b3d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26599264

Change-Id: I1451fff8e1be77d7f3bb45e1406ba48fdda1df08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-18 13:58:54 +00:00
Rohit Goyal f51bd26b3d Merge "Bugfixes: Handle session failure unarchival cases so that icon and title are accurate." into 24D1-dev 2024-03-18 13:45:51 +00:00
Uwais Ashraf bdc5e82dc4 Merge "Adding coroutines library" into main 2024-03-18 10:26:34 +00:00
Jordan Silva 5669ace402 Merge "Fix overview split task icon and app chips flipped and misaligned in fake orientation" into main 2024-03-18 09:57:03 +00:00
Uwais Ashraf e2625dce7b Adding coroutines library
Fix: 329045417
Test: Presubmit builds passing
Flag: NA
Change-Id: Ifd7f4892f68f99d700d586e78ddd102aa28ff7a0
2024-03-18 08:59:31 +00:00
Alex Buynytskyy 30c0325275 Merge "Fix NewApi warning" into main 2024-03-16 22:38:06 +00:00
Willie Koomson 078737f22b Merge "Add tap-to-add button to widget picker" into main 2024-03-15 23:26:05 +00:00
Himanshu Gupta 13bf70c7e8 Merge "Ignoring the failing test." into main 2024-03-15 23:03:22 +00:00
Shamali Patwa 61adb489d1 Merge "Distribute the padding between search&rec container and tabs/applist" into main 2024-03-15 22:42:23 +00:00
Federico Baron f8ffb4f005 Merge "Fix bug where folder with 1 icon can exist" into 24D1-dev am: 74fd490839
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26598996

Change-Id: I3637c1e9355bedff87845e1d4301369843b20a7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15 22:22:14 +00:00
Sunny Goyal 12d484c380 Merge "Fixing PendingWidgets getting attached to real host" into main 2024-03-15 22:09:29 +00:00
Federico Baron 74fd490839 Merge "Fix bug where folder with 1 icon can exist" into 24D1-dev 2024-03-15 21:42:24 +00:00
Bill Yi 88fea708b2 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-15 20:30:19 +00:00
Bill Yi 6e5f97b5e5 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-15 20:30:19 +00:00
Willie Koomson cdc26951ff Add tap-to-add button to widget picker
This change introduces an "Add" button that appears when a widget
preview is clicked in the widget picker. This button disappears when the
preview is clicked again, or another preview is clicked. When the button
is pressed, it adds that widget to the picker. The add button is
available in the app-specific widget sheet as well.

Bug: 323886237
Test: Manual
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add DEVELOPMENT

Change-Id: I86a8a4c22119960c54a885fd2efeb91916b4f9a0
2024-03-15 20:10:45 +00:00
Jordan Silva c4ec531c9f Fix overview split task icon and app chips flipped and misaligned in fake orientation
This CL fixes the app and icon chip misaligned and wrong positioned in fake landscape and seascape.
The icon chip in seascape are still in RTL and it should be address in a different bug b/326377497.

Fix: 320314835
Fix: 326383211
Fix: 326383010
Bug: 328028913
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Flag: ACONFIG com.android.launcher3.enable_grid_only_overview TEAMFOOD
Test: manual. instructions described in the bug report.
Test: atest LandscapePagedViewHandlerTest
Test: atest SeascapePagedViewHandlerTest
Test: atest OverviewTaskSplitImageTest
Change-Id: I9be07cc4f4cf5ee6e1da0d954ed7664d96bd330c
2024-03-15 18:29:22 +00:00
Sunny Goyal d51f91a7d0 Fixing PendingWidgets getting attached to real host
Bug: 318539160
Flag: aconfig enable_workspace_inflation DISABLED
Test: TaplBindWidgetTest#testPendingWidget_notRestored_activeInstall
Change-Id: I013811e83b90ea32221904a27790dd677dd63b4b
2024-03-15 10:16:33 -07:00
Treehugger Robot 6300f0550d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 2edebc108a -s ours
am skip reason: contains skip directive

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

Change-Id: I7ae526e488a66c031da26e30f9ec0ba50d46f226
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15 17:09:31 +00:00
Bill Yi 6df9145322 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 577b4e4db6 -s ours
am skip reason: contains skip directive

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

Change-Id: Ic9dce927cfd370bf256c0cf471f98cca71c48a90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15 17:09:26 +00:00
Treehugger Robot b27dadfbc0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 1090b779e7 -s ours
am skip reason: contains skip directive

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

Change-Id: I346c2ed3499d8a02d1665a1c917284f34b205f56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15 17:09:22 +00:00
Bill Yi 67d9b98671 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b71c4de721 -s ours
am skip reason: contains skip directive

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

Change-Id: I21ad15e7efd1b476472c2a4e0d42337e7dad15de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15 17:09:12 +00:00
Treehugger Robot 2edebc108a Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-15 16:49:43 +00:00
Treehugger Robot 1090b779e7 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-15 16:49:43 +00:00
fbaron b41c826c6a Fix bug where folder with 1 icon can exist
Fix: 329357132
Flag: NONE
Test: TaplDragTest
Change-Id: If381ff56e051c89e9f6162f8a44f8df9e2ae5060
(cherry picked from commit 5645c3ec55)
2024-03-15 16:11:26 +00:00
Fengjiang Li 00711e68a5 Merge "Enable predictive back in TAPL tests" into main 2024-03-15 14:52:58 +00:00
Shamali P 02a75fc924 Distribute the padding between search&rec container and tabs/applist
When there are no recommendations (pre-V as well), the margins/paddings
between search container & apps list / tabs was 8dp extra.

Additionally, cleaning up -
1. requestLayout call on page switch is now not needed after limiting
the table space for recommendations in two pane picker.
2. After preview container sizes, TOP alignment actually looks a bit
better - and widget preview itself is automatically center aligned as
we club only same preview container sizes in a row now.

* http://screen/6e6YzjqXJrdZ7Bt
* http://screen/AVLpzoYSGpyr2rs
* http://screen/7xnmrtLvBMPX5iX
* http://screencast/cast/NjYyNzM4NDY3MjM4NzA3Mnw2NDY0MmU4ZC0xMw (phone)
* http://screencast/cast/NTYwMzE1NDI1ODI5NjgzMnw2NmM1MjRkZS0zNA (fold)
* http://screencast/cast/NTIzODk3NTM5MTMzNDQwMHxlYmE2NDEwNS0xZg (tablet)

Bug: 319152349
Flag: N/A
Test: Screenshot and manual
Change-Id: I164419624d02fb47e80ea844eea0ee2a869ad4df
2024-03-15 13:36:20 +00:00
Shamali Patwa a835a2dc92 Merge "Rename the color attr for paging dot indicator used in launcher." into main 2024-03-15 13:33:40 +00:00
Rohit Goyal 86a1b1abf5 Bugfixes: Handle session failure unarchival cases so that icon and title are accurate.
* Remove old package icon entry from IconCache in case of a session failure.
* Allow package entry to fallback to fallback state where missing icon & titles are filled using PackageManager.
* Re-bind archived application in all apps if an unarchival fails.

Test: verified bugfixes locally.
Bug: 326494527
Bug: 328314141
Flag: ACONFIG com.android.launcher3.enable_support_for_archiving DEVELOPMENT
Merged-In: Ib132bece397001e9a14933c2f6d733a04a089ef9
Change-Id: Ib132bece397001e9a14933c2f6d733a04a089ef9
2024-03-15 12:14:43 +00:00
Jakob Schneider 46df9dfec4 Fix NewApi warning
Bug: 329770619
Change-Id: I70268c0f1871e87d431c89ad057712e73051cebe
2024-03-15 11:38:53 +00:00
Colin Cross cfc013fd2d [automerger skipped] Fix more kotlin nullable errors in Launcher3 am: 70213c4c4a -s ours
am skip reason: Merged-In I88aec6fbc814be98f9ef048bbc5af889d0797970 with SHA-1 94fd07e5da is already in history

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

Change-Id: I6ac59df103f282c2e23b59f39b535f3f94d8bddb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15 07:52:06 +00:00
Colin Cross 47f96771d1 [automerger skipped] Fix kotlin nullable errors in Launcher3 am: e07b293994 -s ours
am skip reason: Merged-In I26edfec35dca14abe90b08e3c74de0446eda95d2 with SHA-1 e892df24ca is already in history

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

Change-Id: I0c390a834906591b2cbb3a726d68f7b3f8469bc6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15 07:51:58 +00:00
Colin Cross e69256c77b [automerger skipped] Fix kotlin nullable errors in Launcher3 am: 496b6fb7b7 -s ours
am skip reason: Merged-In I4525d0fa83a1db9cc5cff90f340fc3f863537c01 with SHA-1 70ca32bca2 is already in history

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

Change-Id: I15609df5b4555289cfe008cef79cb83afb15b0eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15 07:51:44 +00:00
Fengjiang Li e90f098d4f Enable predictive back in TAPL tests
With ag/26349940 we have fixed the bug where back swipe is not working

Fix: 326118348
Test: this is the test
Flag: NONE
Change-Id: I7e826f6ba3022a04d016d4a0a2134e287d85e8be
2024-03-15 00:00:37 -07:00
Fengjiang Li a34b40fa26 Merge "[Predictive Back] Support WidgetBottomSheet" into main 2024-03-15 06:54:01 +00:00
Fengjiang Li 78adef7601 Merge "[Predictive Back] Fix widget edu back swipe" into main 2024-03-15 06:53:10 +00:00
Anushree Ganjam 89b04395ff Merge "Enable Omnient master flags in client code." into 24D1-dev am: f774a101b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26552350

Change-Id: I0e14a73098cb7b2dd202dc4dbd33dab73c1109ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15 06:35:43 +00:00
Anushree Ganjam f774a101b6 Merge "Enable Omnient master flags in client code." into 24D1-dev 2024-03-15 06:09:00 +00:00
Bill Yi 577b4e4db6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4b0244b46c2c1fc635babf2c9a7079269c339285
2024-03-14 22:10:51 -07:00
Bill Yi fc90bbcdbd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I33256b5639f23e86d8f2b8a867da90cac1263338
2024-03-14 22:10:25 -07:00
Bill Yi b71c4de721 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I829da66c3f4180644002ee837e38653f3244dd86
2024-03-14 22:09:28 -07:00
Bill Yi 6cb64e97dd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I80374e1c3d831e5afc0436c95cd6aba8fced52ea
2024-03-14 22:09:01 -07:00
Fengjiang Li 7881183078 [Predictive Back] Fix widget edu back swipe
Fix: 329389275
Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TEAMFOOD
Test: Manual - attach video to bug
Change-Id: Ia8fb438068b0d324f4a535ff9e8b05fec46138f1
2024-03-14 18:33:06 -07:00
Vinit Nayak a51a749bc9 Merge "Revert "Disable gestures when split apps are animating in from shell"" into main 2024-03-14 22:35:21 +00:00
Fengjiang Li ba8347d926 [Predictive Back] Support WidgetBottomSheet
Fix: 329713475
Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TEAMFOOD
Test: Manual - attach video to bug
Change-Id: Iaa33eb55f69b572a9fb2a4fb92b763b691039dd6
2024-03-14 14:39:16 -07:00
Colin Cross 70213c4c4a Fix more kotlin nullable errors in Launcher3
Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.

Bug: 294110802
Test: builds
Merged-In: I88aec6fbc814be98f9ef048bbc5af889d0797970
Change-Id: I158db4f57d46606d7152a438d68e2b9f4c0014d9
2024-03-14 14:12:51 -07:00
Colin Cross e07b293994 Fix kotlin nullable errors in Launcher3
Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.

Bug: 294110802
Test: builds
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2608381792389b60ba37c08afcea09dca3c6ff9c)
Merged-In: I26edfec35dca14abe90b08e3c74de0446eda95d2
Change-Id: I26edfec35dca14abe90b08e3c74de0446eda95d2

(cherry picked from commit e892df24ca)
Change-Id: I1099bc97725577ce34ea5b617365eaf6dec3d3be
2024-03-14 14:12:51 -07:00
Himanshu Gupta 0f1fe9722f Ignoring the failing test.
LauncherIntentTest#testAllAppsIntent is a newly added
TAPL test that seems to be breaking on a few devices.

Disabling it until the root issue is fixed.

Bug: 329152799
Test: Manual
Flag: NA
Change-Id: I3c1d145a444d4d2a85b3f5d2a968d120eee7cca0
2024-03-14 13:53:38 -07:00
Sebastián Franco 892ffb8b15 Merge "Making 2 flags read only since they are used on backup and restore" into main 2024-03-14 20:12:05 +00:00
Federico Baron f6fd1f3d46 Merge "Fix bug where folder with 1 icon can exist" into main 2024-03-14 20:02:04 +00:00