Commit Graph

72755 Commits

Author SHA1 Message Date
Andreas Agvard ef8df12ff8 Merge "Makes deep press for LPNH toggelable" into main 2023-11-17 07:51:16 +00:00
Winson Chung 8a7b54ad7c Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: b1b41673c9 am: d2e41da381
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I90e374e7c49584e595410a3cdd3b71ab94676b88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 00:30:38 +00:00
Winson Chung 92851c5030 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: f3eb5388d1 am: d127c1108b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I48a134a3545eb190c4ef085641d0233e68660046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 00:29:58 +00:00
Winson Chung d2e41da381 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: b1b41673c9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I301749219071f0c3c008c4951f0322113b5c0383
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:59:33 +00:00
Winson Chung d127c1108b Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb am: f3eb5388d1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: If62d1d831854acf9b5ec2e8c27458594e72bba27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:58:07 +00:00
Winson Chung b1b41673c9 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: Ice293810a5e1cceea3978f6db6efb4ec710ea7fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:26:01 +00:00
Winson Chung f3eb5388d1 Merge "Don't open PiP when freeform is opened from recent" into main am: 0c531d5dbb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2743811

Change-Id: I41d412ee0c6d5c6dacd875c549b724b439e1d542
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 23:24:23 +00:00
Winson Chung 0c531d5dbb Merge "Don't open PiP when freeform is opened from recent" into main 2023-11-16 22:53:56 +00:00
Vinit Nayak 7056e2d2e4 Merge "Add logs for move pointer" into main 2023-11-16 20:16:44 +00:00
Alex Chau 5fc3b8ca9f Merge "Add ScreenRecord for TaplTestsQuicksteptestOverviewForTablet" into main 2023-11-16 19:57:36 +00:00
Vadim Tryshev 02a9f44ae1 Merge "Demoting testAllAppsExitSearchAndFocusSearchResults from presubmit" into main 2023-11-16 19:37:36 +00:00
Vadim Tryshev f450938474 Merge "Removing obsolete ScreenRecord annotations" into main 2023-11-16 19:36:28 +00:00
Vadim Tryshev 070ca176c3 Merge "Removing obsolete ScreenRecord annotation" into main 2023-11-16 19:16:42 +00:00
Vadim Tryshev 620a826e40 Demoting testAllAppsExitSearchAndFocusSearchResults from presubmit
It's a 35% presubmit blocker

Bug: 295939967
Test: presubmit
Flag: N/A
Change-Id: I004112093d830bdf8586d0f10327355400d08103
2023-11-16 10:14:18 -08:00
Sebastián Franco 9739ad2ec8 Merge "Modify getViewsIntersectingRegion to returns rects instead of view since we don't use the views after only the rects." into main 2023-11-16 17:48:02 +00:00
Andreas Agvard 0fc7d52863 Makes deep press for LPNH toggelable
By default when deep press is detected (https://developer.android.com/reference/android/view/MotionEvent#CLASSIFICATION_DEEP_PRESS)
during LPNH triggers the long press action immediately. This change makes this toggelable.

Flag is set to enabled by default, which leads to the default behavior.

Fix: 310952290
Test: Manual
Flag: LEGACY ENABLE_LPNH_DEEP_PRESS ENABLED
Change-Id: I970fed697979ee528e54b8be0139d842f3a64c43
2023-11-16 17:55:34 +01:00
Sebastian Franco 5c8f86815c Modify getViewsIntersectingRegion to returns rects instead of view since we don't use the views after only the rects.
Intermidiate step for b/270395274

Bug: 270395275
Flag: NA
Test: ReorderAlgorithmUnitTest
Test: atest ReorderWidgets
Change-Id: I505372ccd61e954de19852427abe0b54fc06aa57
2023-11-16 10:32:51 -06:00
Sebastián Franco da18b9e435 Merge "Use the number of shown hotseat icons instead of database items to store into the DB" into main 2023-11-16 15:33:51 +00:00
Bill Yi cc9ae30a91 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-16 12:38:15 +00:00
Bill Yi a9ee67bde5 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-16 12:38:15 +00:00
Alex Chau 0f1be48319 Add ScreenRecord for TaplTestsQuicksteptestOverviewForTablet
Bug: 309820115
Test: None
Flag: None
Change-Id: I03eba051bc766482ff27b63487e9587d58770619
2023-11-16 10:21:57 +00:00
Sergey Pinkevich 172eb5896b Merge "Show split screen action for each task" into main 2023-11-16 10:03:44 +00:00
Sebastian Franco 2d023e26c6 Use the number of shown hotseat icons instead of database items to store into the DB
It seems this issue was originated from ag/14129534 and we should no
longer use numDatabaseHotseatIcons form IDP and use numShownHotseatIcons
from the DP.

Fix: 305119735
Flag: NA
Test: manuall testing, we don't have this test for landscape
Change-Id: Ie530748f9b77d89ac3298c187ae767643d505cb3
2023-11-15 21:34:38 -06:00
Vinit Nayak b39abc99cd Add logs for move pointer
* Appears in the flaky case we're getting a
long-press instead of a move.
Suspect performance might be an issue? Hopefully
the log between ACTION_DOWN and subsequent move can
show how long that is taking

Flag: None
Test: None
Bug: 311099513
Change-Id: I305dfdf7c6b64ef24ee5fec34a3f827ce6fbe2af
2023-11-15 16:42:40 -08:00
Hyunyoung Song 647be66c38 Merge "Enabling Private Space Container in Launcher." into main 2023-11-15 23:14:34 +00:00
Fengjiang Li 1da44348cf Merge "Add unit test for RecentsAnimationDeviceState.java" into main 2023-11-15 23:05:32 +00:00
Anushree Ganjam f6e1c01b6b Merge "Move the cursor to the end of the text in edit text." into main 2023-11-15 22:57:26 +00:00
Vadim Tryshev ab30ebdafc Merge "Having longer period of waiting for Launcher restart only in Launcher test suites" into main 2023-11-15 22:53:39 +00:00
Achim Thesmann daca6d0747 Merge "Opt in recents PendingIntent for BAL" into main 2023-11-15 22:27:27 +00:00
Vadim Tryshev 057f1817c4 Removing obsolete ScreenRecord annotation
Bug: 242163205
Test: presubmit
Flag: N/A
Change-Id: I6adc0612b3daa13fce73e610cc1017d484a21a2e
2023-11-15 13:41:53 -08:00
Vadim Tryshev d70bd21271 Removing obsolete ScreenRecord annotations
Bug: 231615831
Test: presubmit
Flag: N/A
Change-Id: I85060757a11c9737ee9f6128da1f055f5056fe98
2023-11-15 13:39:19 -08:00
Anushree Ganjam c3bf394009 Move the cursor to the end of the text in edit text.
Before fix: https://b.corp.google.com/issues/301625831#comment9

After fix: https://b.corp.google.com/issues/301625831#comment10

Bug: 301625831
Test: Manual
Flag: NA, Fixing for hardware keyboard.
Change-Id: I817836a0a76b8677eb65c65720f436882fe6431f
2023-11-15 13:31:26 -08:00
Fengjiang Li b3007a9e3d Add unit test for RecentsAnimationDeviceState.java
Bug: 299466828
Flag: N/A
Test: test device boot without issue
Change-Id: Iaa1a7cff547e03eaacc950702c2e7cd34846e987
2023-11-15 13:01:51 -08:00
Vadim Tryshev ebf08d8b75 Having longer period of waiting for Launcher restart only in Launcher test suites
This will help to avoid breaking other test suites by this increase.

Bug: 311023703
Test: presubmit
Flag: N/A
Change-Id: Ia91b03b72fa6592684e7a1673b9b56448f637dd4
2023-11-15 13:00:37 -08:00
Vadim Tryshev d940da38be Merge "Revert "Increasing wait time for Launcher restart after enabling test provider"" into main 2023-11-15 18:08:15 +00:00
Andreas Agvard 0b78b488a7 Merge "Enables server side control of search hint haptic parameters" into main 2023-11-15 17:38:38 +00:00
Andreas Agvard b36bcff974 Enables server side control of search hint haptic parameters
Fix: 309972570
Test: Manual
Flag: LEGACY ENABLE_SEARCH_HAPTIC_HINT ENABLED
Change-Id: I342a86546601b092b6eb40b8d00d94ee4cf1127a
2023-11-15 17:23:40 +00:00
Pat Manning 8c6dc7368e Merge "Delete flag-based test now that flag is on by default in staging where tests run." into main 2023-11-15 15:45:59 +00:00
Sergey Pinkevich ead5259f9a Show split screen action for each task
Remove previous condition:
1. `taskView.containsMultipleTasks()` - there is already a check to filter out "Split screen" item: https://googleplex-android.googlesource.com/platform/packages/apps/Launcher3/+/refs/heads/main/quickstep/src/com/android/quickstep/TaskOverlayFactory.java#68

Edit previous condition:
2. `notEnoughTasksToSplit` - condition saying if there is less than 2 recent tasks. We still should give the possibility to split the screen if Taskbar is not presented

Bug: 305958994
Flag: NONE
Test: manual - took a photo (https://screenshot.googleplex.com/7doU5z9AjxxETUo)

Change-Id: I3fdfea987c426d557a91b0a25af368069e8af3f8
2023-11-15 15:14:50 +00:00
Himanshu Gupta 739b3c9f22 Enabling Private Space Container in Launcher.
This CL adds the following:
1. Adds filtering and addition of Private Profile apps in main user
all apps recycler view
2. Enables decoration of Private Profile apps
3. Enables hiding Private Space container based upon a settings entry.

Flag: ACONFIG com.android.launcher3.Flags.enable_private_space DEVELOPMENT
Bug: 289223923
Test: Ran Launcher3 tests
Change-Id: I33dc55a3a39e75d3fc336ca6a488b282e2dd322c
2023-11-15 15:08:59 +00:00
Pat Manning dc24da900f Delete flag-based test now that flag is on by default in staging where tests run.
Fix: 309921805
Test: None.
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Change-Id: I19339253487c6cb30ab02ee6f824efa520f878b9
2023-11-15 14:18:36 +00:00
Alex Chau 013af87a10 Merge "Use WindowConfiguration to match DeviceProfile in IDP.getDeviceProfile" into main 2023-11-15 10:06:53 +00:00
Robin Vinterbladh 018edc452d Don't open PiP when freeform is opened from recent
When opening freeform window from recents menu PiP should not
be started at the same time since the PiP transition can cause
freeform to not work as intended.

Bug: 299505542
Change-Id: I6392089b3ac9ce914fb37cc84780f28aa3fc75f8
2023-11-15 09:41:10 +01:00
Tracy Zhou 3c08695e6e Fix wrong TOUCHPAD_NATURAL_SCROLLING setting string
Bug: 301966246
Bug: 301966690
Test: manual
Change-Id: I535e451293c50c3c7a09ca2641092a181deda922
2023-11-14 21:44:02 -08:00
Bill Yi 054a6560e5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I00b42aca4203585fc25d1f4df8e1cb958807e09b
2023-11-14 19:32:24 -08:00
Bill Yi 66e843c8d0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2bf597eaf2c3fc4abb5b701974cc95b1e1d2ec6d
2023-11-14 19:31:01 -08:00
Achim Thesmann a1b0b31e77 Opt in recents PendingIntent for BAL
With BAL hardening in V PendingIntent creator's need to expliciitly opt
in to grant their BAL privileges.
The change is a noop unless the `bal_require_opt_in_by_pending_intent_creator` flag is enabled.

Bug: 296478951
Flag: NA
Test: atest NexusLauncherTests:com.android.quickstep.FallbackRecentsTest NexusLauncherTests:com.android.quickstep.StartLauncherViaGestureTests
Change-Id: I7f2f4f3613f70b6ec0c398803a140ab93dcf1a03
2023-11-15 02:57:29 +00:00
Tracy Zhou bf021974f4 Merge "[Trackpad] Do not reverse two-finger gestures on the homescreen when reverse scrolling is on" into main 2023-11-15 02:22:20 +00:00
Vadim Tryshev 98a0efd2dc Revert "Increasing wait time for Launcher restart after enabling test provider"
This reverts commit 47bcb2b6c5.

Reason for revert: b/311023703

Change-Id: Ib0fea7682c8499c1e900c04e818db67363af311b
2023-11-14 22:16:00 +00:00
Vadim Tryshev 8ed8d67d63 Merge "Increasing wait time for Launcher restart after enabling test provider" into main 2023-11-14 19:48:39 +00:00