Commit Graph

72658 Commits

Author SHA1 Message Date
Vadim Tryshev
dcead30d1e Merge "Disabling strict activity leak check" into main 2023-11-11 00:35:33 +00:00
Vadim Tryshev
7df94cca65 Disabling strict activity leak check
Started seeing presubmit blockers like:
https://android-build.corp.google.com/test_investigate/?invocationId=I51800010216065294&testResultId=TR60829041305611993

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Ic88f67e54d2dec4b244784abd2a15fbdfdf9e711
2023-11-10 15:04:46 -08:00
Kevin Lim
c3909d970b Merge "[Tiger] Re-adding PlatinumTest annotation" into main 2023-11-10 21:56:12 +00:00
Bill Yi
0edcdb2943 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-10 21:15:38 +00:00
Bill Yi
72cef203b2 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-10 21:15:38 +00:00
Vadim Tryshev
d315ffcb8f Merge "Increasing wait time for Launcher restart after enabling test provider" into main 2023-11-10 19:58:20 +00:00
Vadim Tryshev
a333756f0c Increasing wait time for Launcher restart after enabling test provider
Of the the logcats indicates that Launcher gets killed eventually, but
it takes 17 sec, while the test waits for the Launcher restart to
compete in 10 sec.

Perhaps restart take longer than usual because the system is still busy
killing setup wizard.

Bug: 308489613
Test: presubmit
Flag: N/A
Change-Id: Idd576cacc300bce071bb40743209b4a111f18473
2023-11-10 10:31:14 -08:00
Pat Manning
da5baa981a Merge "Fix focus nav of AllApps when Searching." into main 2023-11-10 18:20:01 +00:00
Pat Manning
e7cb65009e Fix focus nav of AllApps when Searching.
- Do not focus the Icon in Small Icon Result Rows
- Use FocusIndicatorHelper when focusing search result icons

Flag: NONE
Bug: 296844600
Fix: 310173226
Test: Test: TaplKeyboardFocusTest
Change-Id: Icfc82ae41ffc8ef7c7ad42950f98f3d2dc805795
2023-11-10 16:48:21 +00:00
Kevin Lim
9bb62ee9c1 [Tiger] Re-adding PlatinumTest annotation
This undoes ag/24559527 as this test is no longer flaky.

Actual PlatinumTest presubmit restoration is done in cl/581071347

Bug: b/293944634
Flag: N/A
Test: Test only change
Change-Id: I605f8911fa3a3658c49642efee8d6166545ae89b
2023-11-10 01:37:15 +00:00
Bill Yi
edf4826a63 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6a7c7c137d375c77c1660371634aa0aa8ccc003f
2023-11-09 16:39:37 -08:00
Bill Yi
4dec607fec Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idf14fea5b132a4871252134e07263e7dd51feccd
2023-11-09 16:38:08 -08:00
Anushree Ganjam
af4f41b9dc Merge "Hide overlay if the overlay was shown when Meta key is tapped." into main 2023-11-09 22:14:41 +00:00
Brandon Dayauon
f30a048141 Merge "Create privateSpaceAnimation Flag" into main 2023-11-09 20:43:34 +00:00
Jordan Silva
767d484b27 Merge "Resize icon and text size for AllApps when it doesn't fit the cell" into main 2023-11-09 20:24:38 +00:00
Tracy Zhou
d66d114944 Merge "Make enableTaskbarNoRecreate() depend on ENABLE_TASKBAR_PINNING and ENABLE_TASKBAR_NAVBAR_UNIFICATION" into main 2023-11-09 18:47:59 +00:00
Brandon Dayauon
f7f607109b Create privateSpaceAnimation Flag
bug: 299294792
Test: Presubmit
Flag: ACONFIG com.android.launcher3.private_space_animation DEVELOPMENT
Change-Id: I8a5bd4f436e98a69d82cff1eb3efcf6b2c616a34
2023-11-09 10:24:37 -08:00
Federico Baron
b2cb1f87b7 Merge "Folder preview work badge theming fix" into main 2023-11-09 17:35:48 +00:00
Randy Pfohl
583e48d915 Merge "Adding insets to prevent back gesture from triggering status bar" into main 2023-11-09 16:44:05 +00:00
Uwais Ashraf
8e1e2a5155 Merge "Use instrumentation arg to prevent unnecessary delays in unit tests" into main 2023-11-09 16:03:20 +00:00
Uwais Ashraf
b5d08b246e Use instrumentation arg to prevent unnecessary delays in unit tests
Bug: 308792359
Flag: NA
Test: presubmits passing
Change-Id: Ib38db86057998fcf859a44fa190e6cc4d82263dd
2023-11-09 12:07:18 +00:00
Andreas Agvard
100b77e667 Merge "Translucent apps are kept in Recents while in the foreground" into main 2023-11-09 11:30:29 +00:00
Anushree Ganjam
99349f0819 [automerger skipped] [DO NOT MERGE] Change the LPNH flag to read from server flag "ENABLE_LONG_PRESS_NAV_HANDLE_MPR". am: 75183ceed5 am: 0b780abf31 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I28e653e4f65a2bca925196e93c169f29bc46727a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-09 07:52:44 +00:00
Anushree Ganjam
0b780abf31 [DO NOT MERGE] Change the LPNH flag to read from server flag "ENABLE_LONG_PRESS_NAV_HANDLE_MPR". am: 75183ceed5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/25303662

Change-Id: I9ef5d303c1c0ed30a02e56e039699de44307201c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-09 07:10:52 +00:00
Chris Li
6c2681049c Merge "Update PipContentOverlay usage" into main 2023-11-09 03:41:43 +00:00
Vadim Tryshev
572b5b09fd Merge "Allowing ACTION_CANCEL events to come from device 0" into main 2023-11-09 01:42:16 +00:00
Vadim Tryshev
fd13b2c650 Merge "Demoting a couple of flaking tests from presubmit" into main 2023-11-09 01:40:36 +00:00
Vadim Tryshev
a3f581d733 Merge "Diagnosing when Launcher is in invalid state" into main 2023-11-09 01:40:03 +00:00
Anushree Ganjam
b736982bab Hide overlay if the overlay was shown when Meta key is tapped.
Before fix : https://b.corp.google.com/issues/300492676#comment13
When Meta key is tapped in -1 screen, the toggleAllAppsFromIntent is called and
AllApps Drawer is shown in home screen. But the user is still in -1 screen.

After fix: https://b.corp.google.com/issues/300492676#comment15
When meta key is tapped in -1 screen, we hide -1 screen and transition
to 0 screen and then show AllAppsDrawer.

Bug: 300492676
Test: Manual, https://b.corp.google.com/issues/300492676#comment15
Flag: NA

Change-Id: I1234e4defdd0b53be35271b9f7567b0719eec7ac
2023-11-08 17:08:57 -08:00
Anushree Ganjam
75183ceed5 [DO NOT MERGE] Change the LPNH flag to read from server flag "ENABLE_LONG_PRESS_NAV_HANDLE_MPR".
Flag: ENABLE_LONG_PRESS_NAV_HANDLE_MPR
Test: Manual
Bug: 309689303
Change-Id: Ib695b3d6ac3f40ee53b6b64bb6b121e7b34d4b07
2023-11-08 23:43:49 +00:00
randypfohl
640e65888c Adding insets to prevent back gesture from triggering status bar
Flag: NONE

Test: Built locally verified back gesture doesn't trigger status bar

Bug: 279252552

Change-Id: I3ad325b1937b5f26278354bc8cef0c94066eed25
2023-11-08 14:53:15 -08:00
Tracy Zhou
f2d7be1cec Make enableTaskbarNoRecreate() depend on ENABLE_TASKBAR_PINNING and ENABLE_TASKBAR_NAVBAR_UNIFICATION
We want to turn on the flag when either of the dependent features is on

Bug: 299193589
Test: N/A
Change-Id: I7b48ff2be0cf9da3b6bc00d75370fa585ce4140d
2023-11-08 14:52:58 -08:00
Vadim Tryshev
7a1beb559f Allowing ACTION_CANCEL events to come from device 0
Tests assert that input events come to Launcher only from tests, which
sets deviceId to 0. This way, we spot when a cable touches a lab device
and breaks the tests, in which case deviceId will be != -1.

But CANCEL event, which is programmatic, now can legitimately come from
device 0.

Bug: 308489875
Test: presubmit
Flag: N/A
Change-Id: I84ee9ed8e008043f83e82d57b17b64a10677ee8d
2023-11-08 13:20:57 -08:00
fbaron
1e360c1a92 Folder preview work badge theming fix
Currently the preview apps in a folder icon have the work badge with theming even when themed icons is off

Fix: 306665193
Test: Verify that folder with work icons has non-themed work badge when themed icons is off
Flag: NONE
Change-Id: I78ca7cb2361f6e590742fa64c88397d1ea80be68
2023-11-08 12:30:58 -08:00
Vadim Tryshev
f0732e73d5 Merge "Workarounding setup wizard non-disappearance only in presubmit" into main 2023-11-08 20:29:00 +00:00
Vadim Tryshev
1c8e30b54c Merge "Making keyguard dismissal a permanent solution" into main 2023-11-08 20:24:11 +00:00
Vadim Tryshev
e494c1b6e7 Demoting a couple of flaking tests from presubmit
Bug: 288939273, 309820115
Test: presubmit
Flag: N/A
Change-Id: Iea7dd435c4f6461ceb9e45ce6b3942ddc2d11347
2023-11-08 12:01:00 -08:00
Tony Wickham
f57204c0dd Merge "Only run InputConsumerProxy callback for touch event" into main 2023-11-08 18:26:34 +00:00
Tracy Zhou
f6fdcf10c4 Merge "Migrate HIDE_NAVBAR_WINDOW to aconfig and rename is to enable_taskbar_navbar_unification" into main 2023-11-08 18:25:48 +00:00
Charlie Anderson
ee78d44eb2 Merge "Fixing polish issues with the U app shortcut popup design" into main 2023-11-08 18:08:30 +00:00
Jordan Silva
376036a36e Resize icon and text size for AllApps when it doesn't fit the cell
Bug: 287975993
Fix: 309489796
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: DeviceProfileDumpTest
Test: DeviceProfileResponsiveDumpTest
Test: ResponsiveHomeScreenImageTest
Test: ResponsiveFolderImageTest
Test: ResponsiveAllAppsImageTest
Change-Id: I1dda073b558a7f4540d5fe5c438fa796a70b6ddd
2023-11-08 18:05:59 +00:00
Thales Lima
55fcfacd1a Merge "Center AllApps on the screen" into main 2023-11-08 18:02:16 +00:00
Andreas Agvard
a71e664a61 Translucent apps are kept in Recents while in the foreground
Translucent apps that are exluded from Recents are not kept in Recents
while they are the foreground. This is to prevent jank while going to
Recents and thus morphing to another app, and to prevent confusion as
going back to an app might end you back into the excluded app experience
in case of an app like Omnient that is "on-top" of another application.

Fix: 305650114
Test: Manual
Flag: LEGACY INVOKE_OMNI_LPH DISABLED
Change-Id: I24d583434ce62c68436e8928cf3a47a5ce73ecaf
2023-11-08 17:04:31 +00:00
Liran Binyamin
4d9157be73 Merge "Adds content description to the overflow bubble." into main 2023-11-08 15:52:58 +00:00
Thales Lima
d94993ed9e Merge "Use new icon stepping logic for Folders" into main 2023-11-08 15:50:41 +00:00
Schneider Victor-tulias
b55971202e Merge "Fix unresponsive swipe up after launching a non-running app from overview" into main 2023-11-08 15:11:22 +00:00
Thales Lima
a25cd90b5e Center AllApps on the screen
AllApps used workspace paddings which are unbalanced in verticalBar. This changes it to always be centered. In dynamic grid AllApps now uses the whole width for the layout. In responsive grid it keeps the cell width and center the layout.

Note that this is centered on the screen but nothing could be done regarding the camera inset at this time, as it would need a refactor of how AllApps QSB is layout as well.

Bug: 269632571
Test: NexusLauncherTest
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Change-Id: I326d041bcef211d398d1a5c3210958b689414d49
2023-11-08 14:39:52 +00:00
Jordan Silva
72bc6f53f7 Merge changes from topic "comet-landscape" into main
* changes:
  Update Responsive Grid tests with aspect ratio group
  Refactoring Responsive Grid XML specs for more flexibility
2023-11-08 11:16:21 +00:00
Johannes Gallmann
b503e27ae2 Merge "Catch SecurityException in SystemUIProxy" into main 2023-11-08 10:33:17 +00:00
Riddle Hsu
d5512fa401 Merge "Update current rotation of recents to task transform" into main 2023-11-08 08:11:39 +00:00