Commit Graph

78507 Commits

Author SHA1 Message Date
Vadim Tryshev 341e5598b5 Workarounding setup wizard non-disappearance only in presubmit
In postsubmit, we want to see the actual behavior to be aware of real e2e issues.

Bug: 309008042
Test: presubmit
Flag: N/A
Change-Id: Icedf381545dda32ea1dbdd8d215581265627bf3f
2023-11-07 12:33:21 -08:00
Vinit Nayak 38dc539f84 Merge "Unignore split tests" into main 2023-11-07 18:19:11 +00:00
Federico Baron bc1d5791cd Merge "Ensure shortcuts show up in widget picker screenshot test" into main 2023-11-07 16:53:53 +00:00
Federico Baron 8bd0aac27f Merge "Remove white background from shortcuts in widget picker" into main 2023-11-07 16:53:53 +00:00
Sebastian Franco 974cc94839 Moving some constants in Launcher.java to a separate file for ease of readability
Part of  go/launcher_SoR

Flag: N/A
Bug: 306465626
Test: compiling, no-op change
Change-Id: I5ea40acb2ba1ea5840021e297516a511b032a043
2023-11-07 10:12:26 -06:00
Robin Lee b0ed620d42 Merge "Exit Recents with HOME instead of WCT when locked" into main 2023-11-07 15:07:10 +00:00
Jordan Silva d7c7eaf837 Update Responsive Grid tests with aspect ratio group
Adding aspect ratio group and updating the responsive grid tests to match the refactored classes.

Bug: 299889733
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: AllAppsSpecsTest
Test: CalculatedAllAppsSpecTest
Test: HotseatSpecsTest
Test: CalculatedHotseatSpecTest
Test: WorkspaceSpecsTest
Test: CalculatedWorkspaceSpecTest
Test: ResponsiveFolderTest
Test: CalculatedFolderSpecTest
Change-Id: I918f4e28eb310bc9300fc6cc2b5b2af67d758a96
2023-11-07 11:51:28 +00:00
Jordan Silva f2402e25f1 Refactoring Responsive Grid XML specs for more flexibility
It merges portrait and landscape XML specs for responsive grid. This update allows the responsive grid to rely on other properties like aspect ratio and not solely the orientation from resource qualifiers.

Bug: 299889733
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: CalculatedAllAppsSpecTest
Test: CalculatedFolderSpecTest
Test: CalculatedHotseatSpecTest
Test: CalculatedWorkspaceSpecTest
Test: AllAppsSpecsTest
Test: FolderSpecTest
Test: HotseatSpecsTest
Test: WorkspaceSpecsTest
Change-Id: I39ee54d49c9d2a54fcbe91c8a1327a21a8126032
2023-11-07 11:51:28 +00:00
Riddle Hsu 5d4127ae43 Update current rotation of recents to task transform
The RemoteTargetHandle are created with default orientation state.
So it also needs to be initialized to apply correct transform.

Bug: 304408369
Bug: 308520924
Test: Enable home rotation. Put device in landscape.
      Launch Settings and press home key. And then launch
      a portrait only app and use recents to switch to Settings.
Change-Id: I489957acdaa76c689aa94dd1e5ad8824b430760c
2023-11-07 18:20:10 +08:00
Johannes Gallmann 9173fa39cf Catch SecurityException in SystemUIProxy
Bug: 305121245
Flag: NONE
Test: presubmit
Change-Id: I6e43d8c55b2fe3089254137213caefd42182fd4a
2023-11-07 10:47:09 +01:00
Himanshu Gupta 7d56e6ea23 Merge "Adding Prework for Private Space integration in Launcher" into main 2023-11-07 08:45:41 +00:00
Winson Chung fce687e699 Merge "Handle long press directly if recents transition is deferred" into main 2023-11-06 23:55:49 +00:00
Bill Yi e2bba5b8d0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c0ab803dfd -s ours am: 60ec6cf4ea -s ours
am skip reason: subject contains skip directive

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

Change-Id: I788f9d706af65df9f701fabf25c736723b187365
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-06 22:47:05 +00:00
Vinit Nayak 8ef38b0f9e Unignore split tests
* With the fix of b/302551868, let's
see if that fixes this issue as well

Bug: 297135374
Change-Id: I817307dbb5e70d8c8534627499d429529e33de4a
2023-11-06 14:25:35 -08:00
Vadim Tryshev 06de17be39 Merge "Adding a TODO to productize killing/dismissal of setup wizard" into main 2023-11-06 22:19:23 +00:00
Vinit Nayak b16e4d8e18 Merge "Cleanup logs" into main 2023-11-06 22:16:48 +00:00
Bill Yi 60ec6cf4ea [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c0ab803dfd -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibdc47a9d0c4219b844b14e88aae44a61da176485
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-06 22:12:03 +00:00
Robin Lee 6b558e4aae Exit Recents with HOME instead of WCT when locked
We need to merge the next incoming transition (KEYGUARD_UNOCCLUDING) to
get a smooth transition. Sending a WCT at the end makes merging the
two transitions together difficult because the WCT is missing and may
even generate a third transition afterwards if the end result doesn't
match.

Bug: 293862576
Change-Id: Ifd19f0d445ffe21f3bb068882321a55091377173
2023-11-06 23:08:01 +01:00
Bill Yi a7f7258c32 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-06 21:25:36 +00:00
Vadim Tryshev 7b2ed1a004 Merge "Removing assert that setup wizard is visible" into main 2023-11-06 21:01:34 +00:00
Vinit Nayak cca9148c68 Cleanup logs
Flag: None
Test: None
Fixes: 302551868
Change-Id: I617358b8c9ed3293efacff47ad3b1d7b275d5865
2023-11-06 12:45:56 -08:00
Vadim Tryshev ca90b8d7d9 Removing assert that setup wizard is visible
Bug: 309496273
Test: presubmit
Flag: N/A
Change-Id: Ie6b77673c120a94d211662c71467635923dda622
2023-11-06 12:38:35 -08:00
Catherine Liang 7059799ac6 Merge "Update launcher preview icons on themed icon update" into main 2023-11-06 19:08:10 +00:00
Vadim Tryshev a7e283b605 Adding a TODO to productize killing/dismissal of setup wizard
Bug: 309471958
Test: presubmit
Flag: N/A
Change-Id: I8ef3a7310829333132b03453dbb6f3c37b88c364
2023-11-06 10:31:29 -08:00
Vadim Tryshev 8b1881223b Merge "Waiting for the setup wizard to go away" into main 2023-11-06 18:17:46 +00:00
Jagrut Desai a0c9db6dce Merge "Remove TaplTestsQuickstep#testPressBack from PlatinumTest" into main 2023-11-06 17:32:43 +00:00
Andreas Agvard 0ddc984353 Merge "NavHandleLongPressInputConsumer now cancels long press detection on intercept." into main 2023-11-06 08:43:28 +00:00
Andreas Agvard d103d230a9 Merge "Enabled haptics during long press nav handle" into main 2023-11-06 08:40:58 +00:00
Himanshu Gupta 9aab4d4603 Adding Prework for Private Space integration in Launcher
This Cl adds the following:
1. Fixes for Quite Mode check maintained by Launcher
2. Addition of new Quite Mode broadcasts
3. Fixes for determining work profile user correctly.

Flag: ACONFIG com.android.launcher3.Flags.enable_private_space DEVELOPMENT
Bug: 289223923
Test: Ran Launcher3 tests
Change-Id: I5f6158b213723339e70ff99e66c5f439f5879e12
2023-11-05 12:31:10 +00:00
Vadim Tryshev 0fe753af2a Waiting for the setup wizard to go away
This is a workaround for b/309008042 where it appears that after being
dismissed by the test infra, setup wizard doesn't immediately go away.

This CL will wait 2 minutes for the dismissal, and provide a better
diags when the wizard doesn't go away after 2 min.

Bug: 309008042
Test: presubmit
Flag: N/A
Change-Id: I26eb2f202842702af08c424929d74fbd21eb872d
2023-11-04 21:37:25 -07:00
Andy Wickham 402ca3e3e5 Merge "Add animateNavBarLongPress to SystemUiProxy and ANIMATE_LPNH flag" into main 2023-11-04 19:57:39 +00:00
Thales Lima e9b5e14a2b Use new icon stepping logic for Folders
Bug: 307694237
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Test: ResponsiveFolderImageTest
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Change-Id: Ifbfb714e48c2e0851ef55ac60cadafbb6358d074
2023-11-04 17:10:13 +00:00
Fengjiang Li 7bfdf5048a Merge "Move android.view.IWindowManager#registerSystemGestureExclusionListener to background thread and inline SystemGestureExclusionListenerCompat in RecentsAnimationDeviceStatet" into main 2023-11-04 06:34:39 +00:00
Treehugger Robot 45d5589336 Merge "Move the "IntFlag:" dump under "DeviceFlag:" section" into main 2023-11-04 00:22:33 +00:00
Andreas Agvard cb016243c7 Enabled haptics during long press nav handle
Flag: LEGACY ENABLE_SEARCH_HAPTIC_HINT ENABLED
Test: Manual
Bug: 303023676
Change-Id: Ia792fc6d00bf06320f51d56c43ed59c6dd23d456
2023-11-03 23:44:13 +01:00
Andreas Agvard 15ddc16b53 Merge "Tweak lpnh haptics based on UX input" into main 2023-11-03 22:41:02 +00:00
Priyanka Advani ebc9a3b5e1 Merge "Revert "Change TAPL to swipe to stash taskbar (instead of deprec..."" into main 2023-11-03 22:10:27 +00:00
Anushree Ganjam 8e2a62e6a9 Move the "IntFlag:" dump under "DeviceFlag:" section
Bug: 309033453
Test: Manual by capturing bug report.
https://screenshot.googleplex.com/5q7fHrxEhC8zZxY.png

Flag: None, adding more print to appear in bug report

Change-Id: I18244d4fcf85fbae0e3f48082606c7d46166c311
2023-11-03 15:00:46 -07:00
Priyanka Advani 9aed56096c Revert "Change TAPL to swipe to stash taskbar (instead of deprec..."
Revert submission 24877128-cherrypick-tapl-transient-swipe-owubvwrsw6i

Reason for revert: Likely culprit for b/309158105

Reverted changes: /q/submissionid:24877128-cherrypick-tapl-transient-swipe-owubvwrsw6i

Change-Id: I8ee560f7e599bcfde09eff53f049309ba25ce77f
2023-11-03 21:31:45 +00:00
Anushree Ganjam df9d94a97c Merge "Add the IntFlags too in bugreport in dump() method." into main 2023-11-03 20:14:45 +00:00
Bill Yi c0ab803dfd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibdeded5c211f9ff20c88ac0ff5b7c4fa9975524f
2023-11-03 11:48:27 -07:00
Bill Yi 120fae10fa Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id637c87364e0302060119c5af94f0eff0fe64205
2023-11-03 11:48:01 -07:00
Pat Manning 89bd90927d Merge "Fix focus navigation of All Apps when using external keyboard." into main 2023-11-03 18:42:37 +00:00
Tony Wickham 075a67da15 Merge "Change TAPL to swipe to stash taskbar (instead of deprecated long press)" into main 2023-11-03 18:35:54 +00:00
Kevin Lim ab242020a2 Merge "[Settings] Remove logic to restore highlight to 0th item in SettingsActivity." into main 2023-11-03 18:12:09 +00:00
Charlie Anderson a2d85dec47 Fixing polish issues with the U app shortcut popup design
Test: locally verified against design
Flag: NONE
Bug: 304807548

Change-Id: Iff22b3515b638700fb66e856944ec4aa1287e401
2023-11-03 11:46:44 -04:00
Schneider Victor-tulias 3baa1e0905 Merge "Fix unresponsive swipe up after launching the running app from live tile overview" into main 2023-11-03 15:45:58 +00:00
Andreas Agvard 3221a9235f Tweak lpnh haptics based on UX input
Flag: LEGACY ENABLE_SEARCH_HAPTIC_HINT DISABLED
Test: Manual
Bug: 303023676
Change-Id: I7c96ac82358059418665dfe569705e745da7b1d8
2023-11-03 14:11:41 +01:00
Michael Stokes f5a83e56e0 Merge "Revert "Fix the badge in badge (triple badging), by simply remov..."" into main 2023-11-03 12:36:10 +00:00
Andreas Agvard 1fff24df5f NavHandleLongPressInputConsumer now cancels long press detection on intercept.
Before handling a touch event NavHandleLongPressInputConsumer now checks
mDelegate.allowInterceptByParent() to ensure a parent has not intercepted the
touch event.

Flag: LEGACY ENABLE_LONG_PRESS_NAV_HANDLE DISABLED
Bug: 305924072
Test: Manual
Change-Id: I0d7bcceba881a21ad00e56c3e18b4ebde878ee89
2023-11-03 13:29:57 +01:00