Commit Graph

83004 Commits

Author SHA1 Message Date
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
Pat Manning 120ae2d83f Set next page immediately on subsequent arrow/tab presses when navigating overivew.
This allows the user to scroll as quickly as they want.

Fix: 328749622
Test: manual
Flag: NONE
Change-Id: I493841f11407e6fb9f15fd90b5a5e55fa4ed3ad3
(cherry picked from commit a9a11b47c3)
2024-03-15 07:38:35 +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
Android Build Coastguard Worker c4abd5c6c9 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26552271'] into 24Q2-release.
Change-Id: I37a9f2dc925df002a27b3c967a8e2cdfb598534f
2024-03-15 00:04:08 +00:00
Pat Manning 1e6bf12fdb Set next page immediately on subsequent arrow/tab presses when navigating overivew.
This allows the user to scroll as quickly as they want.

Fix: 328749622
Test: manual
Flag: NONE
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a9a11b47c3bff4d3ec4a4f300e12895d3235fe95)
Merged-In: I493841f11407e6fb9f15fd90b5a5e55fa4ed3ad3
Change-Id: I493841f11407e6fb9f15fd90b5a5e55fa4ed3ad3
2024-03-14 23:58:12 +00:00
Android Build Coastguard Worker abcd0687fe Snap for 11578433 from 892ffb8b15 to 24Q3-release
Change-Id: I382a5dd366670324dae04598cc5fd6f7ea1702f5
2024-03-14 23:25:17 +00: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
Shamali P 34d1db731b Rename the color attr for paging dot indicator used in launcher.
Additionally, make the widgetPickerActivity theme support dark mode.

http://screencast/cast/NDY5OTUzNTA0ODcwNDAwMHxmZWU3ZDBjZS04ZQ

Bug: 326092660
Test: Manual
Flag: N/A
Change-Id: Ic2816853bd25bd04e07d661682d720d1940c268c
2024-03-14 19:38:37 +00:00
Treehugger Robot 40ccc6059a Merge "Fix KQS app launch through tapping" into main 2024-03-14 19:24:29 +00:00
Schneider Victor-tulias 08c2575802 Fix KQS app launch through tapping
KeyboardQuickSwitchView only ever has 2 direct children, and all of the task views we're actually concerned with are in a scrollview. removing the extra index handling as this is being handled properly downstream.

Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 328692760
Fixes: 304518513
Test: opened KQS and tapped all tasks (6 + overview)
Change-Id: I4e919cce7f1ab55822f93d34c1533062a71aa879
2024-03-14 19:18:49 +00:00
Schneider Victor-tulias 153dcde49b Merge "Update KQS task view layouts to new specs" into main 2024-03-14 19:17:33 +00:00
Vinit Nayak 13b537c461 Revert "Disable gestures when split apps are animating in from shell"
Revert submission 26481253-disableSplitAnim

Reason for revert: b/329523822

Reverted changes: /q/submissionid:26481253-disableSplitAnim

Change-Id: Iaa0f0ac2cd1bda198b0020eb7dc5785fa3504b8e
2024-03-14 18:38:53 +00:00
Sihua Ma 80a35cce2e Merge "Fix out-of-sync updates during grid change" into main 2024-03-14 18:09:15 +00:00
Pinyao Ting ebd958dc94 Merge "Remote legacy shortcut when failed to migrate" into main 2024-03-14 17:17:45 +00:00
Sebastian Franco 5ea61960ab 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
Change-Id: Ia6a439553c3c5098115144eae532342ce73be4f2
2024-03-14 17:16:51 +00:00
fbaron 5645c3ec55 Fix bug where folder with 1 icon can exist
Fix: 329357132
Flag: NONE
Test: TaplDragTest
Change-Id: If381ff56e051c89e9f6162f8a44f8df9e2ae5060
2024-03-14 10:13:00 -07:00
Federico Baron 719075b56c Merge "Update min next page visible to 48dp" into main 2024-03-14 16:32:39 +00:00
Tony Wickham 7233d2a0e0 Merge "Avoid playing taskbar haptic when swiping up from home" into main 2024-03-14 16:20:34 +00:00
Luca Zuccarini bb937b2556 Merge "Introduce a new Home animation for workspace and the outgoing task." into main 2024-03-14 16:11:46 +00:00
Andreas Agvard 576454212c Merge "Removes recovery" into main 2024-03-14 15:51:32 +00:00
Rohit Goyal cbb8328272 Merge "Bugfix: Add null safety when accessing icon database for main activities for LoaderTask loadAllApps." into 24D1-dev am: aca99b60ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26554316

Change-Id: I53fc3448db4f8fdbf861df4b6b37f4177faa815e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-14 15:43:11 +00:00
Rohit Goyal aca99b60ab Merge "Bugfix: Add null safety when accessing icon database for main activities for LoaderTask loadAllApps." into 24D1-dev 2024-03-14 15:22:04 +00:00
Brandon Dayauon 69aa9a07ee Merge "Disable two line text legacy flag." into main 2024-03-14 15:11:13 +00:00
Treehugger Robot 2b97a7cd13 Merge "Set next page immediately on subsequent arrow/tab presses when navigating overivew." into main 2024-03-14 12:19:17 +00:00
Luca Zuccarini c9cbc9d5a1 Introduce a new Home animation for workspace and the outgoing task.
The values are currently the same for all display and orientation
configurations, but they might change before launch.

There are a couple known imperfections:
* Swiping out of a hotseat app with very low velocity doesn't look
  great
* Sometimes, if the window movement reaches its final location faster
  than the background is done scaling, there is a small snap in icon
  position

Bug: 298089923
Flag: ACONFIG com.android.launcher3.enable_scaling_reveal_home_animation DISABLED
Test: verified with the flag on and off

Change-Id: Id54c7f0a76f62108d8b92a3b5e78634fff64dbef
2024-03-14 10:48:02 +00:00
Jordan Silva d640a152cd Merge "Converting orientation handler classes to kotlin" into main 2024-03-14 10:03:07 +00:00
Schneider Victor-tulias 06e819d61c Merge "Close the KQS view when touching the gesture nav region" into main 2024-03-14 02:35:42 +00:00
Android Build Coastguard Worker 2e64c71a2d Merge cherrypicks of ['googleplex-android-review.googlesource.com/26497774', 'googleplex-android-review.googlesource.com/26544858', 'googleplex-android-review.googlesource.com/26553571'] into 24Q2-release.
Change-Id: I9688377ae9f2d17236449736df91b7302b8f6a0b
2024-03-14 01:01:04 +00:00
Alex Chau 0425766b1a Allow Task menu to draw down to screen bottom
- Use all available spaces minus inset to draw the task menu
- Also enabled scrolling for app chi1p menu

Fix: 329271577
Bug: 326952853
Test: manual
Flag: Nonee
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:26e487c6acd86c668518d379f90cb84f3d89a486)
Merged-In: Ibdff07043f2c64495f97e11e80209bcc3f5dcb4f
Change-Id: Ibdff07043f2c64495f97e11e80209bcc3f5dcb4f
2024-03-14 00:59:19 +00:00
Vinit Nayak 514185537a Update Launcher state anim duration for pinned & transient taskbar
* We were syncing the duration of the animation to be at most
that of the taskbar/hotseat animation but only for transient taskbar.
* Now we sync for transient and pinned

Fixes: 328052756
Test: Anim jank doesn't repro
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9a3c48468b35377ef46bf2b362f68c467ecd45ad)
Merged-In: I21f20cbc08a2018498dde3eff871929e5a5b7d7d
Change-Id: I21f20cbc08a2018498dde3eff871929e5a5b7d7d
2024-03-14 00:59:11 +00:00
Jordan Silva 798644d1f1 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.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:024a1018e4c96b43d8f122bb1c614c3e3ea5bab7)
Merged-In: Ibd22a58580b2e5e5b866deb4e7dc87945c7e38c4
Change-Id: Ibd22a58580b2e5e5b866deb4e7dc87945c7e38c4
2024-03-14 00:59:01 +00:00
Pinyao Ting f5505bf50e Remote legacy shortcut when failed to migrate
Bug: 329421105
Test: manual
Flag: NA
Change-Id: I84071a1711a36a49ad2ef71dc017ae78e4dd1267
2024-03-13 23:48:18 +00:00
Android Build Coastguard Worker 2f2cf9f285 Snap for 11571437 from b5c4820a5b to 24Q3-release
Change-Id: Ib82d9757f3ac51eaac8efa588b6109b949c8b44b
2024-03-13 23:20:39 +00:00