Commit Graph

75389 Commits

Author SHA1 Message Date
Lynn Yeh 9ebefa5ec9 [automerger skipped] Merge "Update KQS task view layouts to new specs" into 24D1-dev am: 4a01d58d9a -s ours
am skip reason: Merged-In I2b20100ddeb562291edf5f0bacbce916002eee45 with SHA-1 dba7cbae1a is already in history

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

Change-Id: I01aba71c90755e32c840727a3cf58eccfcf9434b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 08:35:25 +00:00
Schneider Victor-tulias 81ea709526 [automerger skipped] Update KQS task view layouts to new specs am: 3d001dee6b -s ours
am skip reason: Merged-In I2b20100ddeb562291edf5f0bacbce916002eee45 with SHA-1 dba7cbae1a is already in history

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

Change-Id: If058c61e306c5d8c37735719c59890876545b24b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 08:35:22 +00:00
Lynn Yeh 4a01d58d9a Merge "Update KQS task view layouts to new specs" into 24D1-dev 2024-04-17 08:20:55 +00:00
Holly Jiuyu Sun 66a112a67d Merge "[omni] Enable CUSTOM_LPH_THRESHOLDS." into main 2024-04-17 00:52:41 +00:00
Holly Jiuyu Sun 5388adb001 Merge "[omni] Make AssistStateManager SafeCloseable." into main 2024-04-17 00:20:23 +00:00
Treehugger Robot 3a230921ba Merge "Reland slow gesture callback handling" into main 2024-04-16 22:54:19 +00:00
Holly Sun 4b377edb8f [omni] Enable CUSTOM_LPH_THRESHOLDS.
This will make our experiment setup easier. See https://docs.google.com/document/d/1GFMqkgVDgFYQnI_JMb7nARuKDwFy1SSVN00YOFKhY1Y/edit?resourcekey=0-JApoPZTfjxke-Cf82RSD_A&tab=t.0#bookmark=id.25pwwrhh1h8q

Bug: 331800576
Test: manual
Flag: legacy CUSTOM_LPH_THRESHOLDS enabled
Change-Id: I4b4fad79151ce6c91ca2895bcff534acae5e340c
2024-04-16 15:25:40 -07:00
Sunny Goyal f15a96608a Merge "Moving developer settings to xml overrides instead of code swap" into main 2024-04-16 21:27:04 +00:00
Schneider Victor-tulias f3f0e28762 Reland slow gesture callback handling
Now that b/329324086 has been fixed, we can be more certain that launcher always gets a signal to clean up from WM.

- Relanding original fix for b/285636175 with some additional error checking
- We will now check whether the recents animation start is pending on ACTION_UP
- We will now block entire swipes to prevent sending additional inputs an input consumer while the recents animation start is pending
- We will now only stop blocking inputs on ACTION_DOWN

Flag: LEGACY ENABLE_HANDLE_DELAYED_GESTURE_CALLBACKS TEAMFOOD
Bug: 329324927
Fixes: 285636175
Test: added a delay in RecentsAnimationCallbacks.onAnimationStart and attempted several rapid gestures
Change-Id: I9805114da34bf44e6b28c2a8a665e4cca88904c2
2024-04-16 17:16:40 -04:00
Treehugger Robot d955d23028 Merge "Fix KQS first task focux when there is only one recent task" into main 2024-04-16 20:53:34 +00:00
Willie Koomson f01687ab5a Merge "Scroll to show WidgetCell when it is tapped." into main 2024-04-16 20:42:12 +00:00
Schneider Victor-tulias 3b6e45d095 Fix KQS first task focux when there is only one recent task
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 335257398
Test: TaplTestsKeyboardQuickSwitch#testLaunchSingleRecentTask
Change-Id: Ibf1514394c29c33ea1dde9e3704af231e2d039f2
2024-04-16 15:08:31 -04:00
Hongwei Wang 915d732782 Merge "Add debugging information on PiP content overlay" into main 2024-04-16 18:40:17 +00:00
Treehugger Robot d331faada2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 6df62bb61b -s ours
am skip reason: contains skip directive

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

Change-Id: Id80cf171be48cbf7b0a20fe94a039c5aec72b75e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:15 +00:00
Bill Yi dbd9185789 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d1e3e34210 -s ours
am skip reason: contains skip directive

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

Change-Id: I8201efe40a8b352749d581e429d44e196e6c889d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:12 +00:00
Treehugger Robot 35803b7283 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: d04756e030 -s ours
am skip reason: contains skip directive

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

Change-Id: I3aa5a1dcf579f246fd0a3e7b759ca358089906b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:08 +00:00
Bill Yi c2136f0972 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d6c9f1d828 -s ours
am skip reason: contains skip directive

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

Change-Id: I8cb60207dd8193f0dd3ee8f723068686da093c1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:03 +00:00
Treehugger Robot 6df62bb61b Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-16 17:25:06 +00:00
Treehugger Robot d04756e030 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-16 17:25:06 +00:00
Treehugger Robot 38876b8521 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-16 17:18:02 +00:00
Treehugger Robot c6ca882e86 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-16 17:18:02 +00:00
Treehugger Robot 4941afa33a Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-16 17:18:02 +00:00
Federico Baron 6188ec4157 Merge "Make hotseat column span responsive" into main 2024-04-16 17:17:55 +00:00
Riddle Hsu d2ce88d594 Merge "Ensure that the recents start time is non-zero" into main 2024-04-16 16:53:12 +00:00
Winson Chung ad82df4d37 Merge "Migrate WorkspaceItemInfo non-resizeable flag to runtime status flag" into main 2024-04-16 16:41:42 +00:00
Ivan Tkachenko e993f92719 Merge "Desktop windowing wallpaper" into main 2024-04-16 15:20:38 +00:00
Brandon Dayauon 31e713ee4c Merge changes If93e3975,Ifed45f06 into main
* changes:
  Fix views being visible after closing private space.
  Set attach consumer after animation finished
2024-04-16 15:14:26 +00:00
Ivan Tkachenko cd1dced953 Desktop windowing wallpaper
* Remove Launcher state manipulation from `DesktopVisibilityController`
* Remove Taskbar state updates for desktop mode in
  `LauncherTaskbarUIController`
* Update app widget animation for Home transision
* Update `RemoteTargetGluer` remote targets setup for Dekstop mode

Bug: 309014605
Flag: ACONFIG com.android.window.flags.enable_desktop_windowing_wallpaper_activity DEVELOPMENT
Test: manual
Change-Id: Ie2a7ad214a4d4e7e642d1236f2375ba6d17f3781
2024-04-16 10:59:30 +00:00
Wei Sheng Shih 347cc489bb Merge "Attemp handle back key when enable onBackInvoked callback." into main 2024-04-16 07:40:10 +00:00
fbaron e4b0b71faa Make hotseat column span responsive
Flag: NONE
Test: DeviceProfileDumpTest, DeviceProfileAlternativeDumpTest, HomeScreenImageTest
Bug: 325084912
Change-Id: Ifa9e8066662a1ab053f66b8800b739d813d2dab8
2024-04-16 06:19:16 +00:00
wilsonshih 70beba044e Attemp handle back key when enable onBackInvoked callback.
Unlike normal activity, recents would receive key event from input
consumer instead of go throught ViewRootImpl, so when adapt to
predictive back API, recents should try to handle back key when receive
key event.

Flag: ACONFIG launcher.enable_predictive_back_gesture ENABLED
Bug: 333428882
Test: switch to 3-button mode, go to live tile, verify back key can
dismiss recents.

Change-Id: Ibe6d9b2475a0b89b12dc4b34251a2a92926b5a4e
2024-04-16 04:03:00 +00:00
Winson Chung 240956e7d8 Merge "Use shared method for updating the runtime status flags for an item info" into main 2024-04-16 02:59:54 +00:00
Stefan Andonian 0d2cc9e87c Merge "Revert^2 "Remove Unused parts of LauncherPrefs causing cyclical dependency."" into main 2024-04-16 02:42:04 +00:00
Bill Yi d1e3e34210 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2bd5a497b90f72434eb614983c97a9098f7be31e
2024-04-15 19:09:43 -07:00
Bill Yi 97c75f31c0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5ebc5144aed190f37771e19398f619f480d3c407
2024-04-15 19:09:14 -07:00
Bill Yi d6c9f1d828 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5fba395e14bbc3449b54fcec9142a8a2b01daada
2024-04-15 19:08:44 -07:00
Bill Yi e787a955ca Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I83baf6f86075e600d5bd49b8ffc15e8f24084f7d
2024-04-15 19:08:22 -07:00
Bill Yi 135c6edc3b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ideb49fa2e4ab8025d8044ad122968f247a7814f5
2024-04-15 19:07:38 -07:00
Vinit Nayak e8609736f4 Merge "Revert "Launch split tasks at beginning of animation instead of the end"" into main 2024-04-16 01:11:05 +00:00
Priyanka Advani 7d92102140 Merge "Revert^3 "Wait for LauncherModel loaded in waitForLauncherInitialized"" into main 2024-04-16 00:46:24 +00:00
Hongwei Wang 59fc94684a Add debugging information on PiP content overlay
Added the reason for creating the overlay. Updated
SwipePipToHomeAnimator constructor also due to the fact the source rect
hint from Builder class is never empty.

Bug: 330488822
Test: manually, follow the reproduce path
Flag: NA
Change-Id: Id98ce799d7c96fff3279c0df0fa49084a49d563a
2024-04-15 17:02:21 -07:00
Willie Koomson dcc2d82d4e Scroll to show WidgetCell when it is tapped.
Scroll to show WidgetCell when it is tapped in a widget sheet.
Otherwise, the add button may show/hide without the user seeing
it if the bottom is clipped.

Bug: 329861721
Test: manual- tap WidgetCell when top or bottom is scrolled out of view
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add TEAMFOOD

Change-Id: Ie21730c193e845cb1c1fa447b7c0a7e719984a8f
2024-04-15 22:32:48 +00:00
Priyanka Advani 4e97c94559 Revert^3 "Wait for LauncherModel loaded in waitForLauncherInitialized"
This reverts commit 503ce966ef.

Reason for revert: Culprit for test breakages in b/334995023. Will be verifying through ABTD for confirmation and before submitting the revert.

Change-Id: Id8707cb2074b4f00ec332ebb14deb7d143ff1bbb
2024-04-15 22:18:31 +00:00
Brandon Dayauon 14ec21748b Fix views being visible after closing private space.
Its possible views are still being binded before the app list is refreshed.
So instead make the views gone in that case (by making sure private profile is disabled).

Fixes:
- install app icon still showing because it is not identified as a private space item
- Divider still containing a decorator when collapsing before app list is refreshed.

bug: 334868779
Test video manualy:
before:https://drive.google.com/file/d/1IWdGsTSq7-xRZKOJso-5p9g-j7RTEkas/view?usp=sharing
after:https://drive.google.com/file/d/1IVNTksryFi5o4uHzZtzNC0Yz7-rxrje3/view?usp=sharing
Flag: ACONFIG com.android.launcher3.Flags.private_space_animation trunkfood

Change-Id: If93e39753352741fb6f0728f717a67b7f9315d0b
2024-04-15 14:40:58 -07:00
Saumya Prakash 9a520b6d96 Merge "Fix incorrect fragment in gesture tutorial when rotating the screen" into 24D1-dev am: ca987a3dff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26928398

Change-Id: Icc59824128910b4d80d6a2aea0d7e11e7f476eaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 21:39:52 +00:00
Saumya Prakash ca987a3dff Merge "Fix incorrect fragment in gesture tutorial when rotating the screen" into 24D1-dev 2024-04-15 21:22:26 +00:00
Vinit Nayak fb092a9a6c Revert "Launch split tasks at beginning of animation instead of the end"
This reverts commit 26c11f2c49.

Reason for revert: b/333937249

Change-Id: Ide851596f5be7cea28df18dc27701b3cc0104bf1
2024-04-15 20:39:00 +00:00
Shamali Patwa ed683046dd Merge "Fix issue that old search results list show up momentarily" into 24D1-dev am: 3e239309f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26912080

Change-Id: I622f49471bd785877cc31742ef6a1d0e6242350e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 20:23:47 +00:00
Shamali Patwa 3e239309f1 Merge "Fix issue that old search results list show up momentarily" into 24D1-dev 2024-04-15 20:06:32 +00:00
Schneider Victor-tulias 9d4fb2b5be Merge "Revert^2 "Wait for LauncherModel loaded in waitForLauncherInitialized"" into main 2024-04-15 19:30:38 +00:00