Commit Graph

78507 Commits

Author SHA1 Message Date
Schneider Victor-tulias ac8e132f2d Exclude home and recents activity types when overriding recents-excluded tasks
These tasks could point to overview itself, causing a very confusing screenshot. By excluding these tasks, we will default to using the task preview

Flag: NONE bug fix
Fixes: 336334715
Test: used circle to search from home, swiped to home, then pressed "select" overview action button. also checked temp logs
Change-Id: I0b0ca50585413b479e4830f06b57b8b5e19670a8
(cherry picked from commit 3eb4efac95)
2024-06-13 17:03:33 +00:00
Jagrut Desai 1c794082a7 Fixing TaplUninstallRemoveTest#uninstallWorkspaceIcon
Test: Presubmit
Bug: 319501259
Flag: TEST_ONLY
Change-Id: I69d64ac8a0a496c947acf7fdce142a37005aeedc
2024-06-13 09:30:55 -07:00
Mady Mellor f953c122fc Use main executor directly
In some tests runs mMainExector could be null, using it directly
resolves this.

Flag: com.android.wm.shell.enable_bubble_bar
Test: treehugger
Bug: 347010157
Change-Id: I05879da895739087971a5bfe920d8c1b190f0b44
2024-06-13 09:18:45 -07:00
Saumya Prakash d7820860f2 Merge "Fix gesture tutorial regression on tablets when rotating the screen" into main 2024-06-13 15:50:57 +00:00
Treehugger Robot 62b5e43d85 Merge "Use ktfmt.sh wrapper for ktfmt hook" into main 2024-06-13 13:57:04 +00:00
Michał Brzeziński f24e6ad602 Merge "Disabling touchpad gestures in launcher for SYSUI_STATE_TOUCHPAD_GESTURES_DISABLED state" into main 2024-06-13 10:19:30 +00:00
Sihua Ma 73c766d75d Migrate responsive tests to multivalent
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: TEST_ONLY
Fix: 325088640
Change-Id: I32cce09ff7ef070b6c86b6440723006b5cb503cf
2024-06-13 09:48:09 +00:00
Jordan Demeulenaere 3b7282e08c Use ktfmt.sh wrapper for ktfmt hook
This CL makes the ktfmt hook use the bash wrapper introduced in
ag/I8746885396c7837a2a6b2a42dca780da290ed582 instead of directly
executing the ktfmt.jar, now that gLinux is not able to execute
JAR files directly anymore.

Bug: 342153000
Test: Manual, verified that the ktfmt hook was working
Flag: EXEMPT repo hook
Change-Id: Ib3baec68951bb185e79638b5b3003f8403816b19
2024-06-13 11:20:06 +02:00
Sebastian Franco 6d200f63ac If the app is archived, do not remove in case of playstore install error
Fix: 339852615
Test: Manual
Flag: com.android.launcher3.enable_support_for_archiving
Change-Id: I675586d20d09f9e025dfe6a74cf7b79ddcb40cc2
2024-06-12 19:47:17 -06:00
Mykola Podolian c4111f06ff Merge "Add outline to the transient task bar background." into main 2024-06-13 01:00:32 +00:00
Brian Isganitis e2b79a499d Merge "Add more documentation explaining main thread requirements." into main 2024-06-13 00:02:22 +00:00
Brian Isganitis e54c1462a3 Test TaskbarAllAppsController non-search behavior.
Flag: TEST_ONLY
Bug: 230027385, 346394798
Test: TaskbarAllAppsControllerTest
Change-Id: Id97e1b82cb8fba48687b5e23222e3bba6695ac4c
2024-06-12 23:59:51 +00:00
Treehugger Robot 8a281ff7a6 Merge "Convert ENABLE_FLOATING_SEARCH_BAR to aconfig." into main 2024-06-12 23:50:20 +00:00
Android Build Coastguard Worker 6f61e0cf75 Snap for 11959661 from 8f2a4e0854 to 24Q3-release
Change-Id: I750873cb534e9e20aea871a8cda9a37da12315e6
2024-06-12 23:22:45 +00:00
Brian Isganitis 6e02de9c2b Merge "Add more tests for {request,hide}Window." into main 2024-06-12 22:30:39 +00:00
Fengjiang Li d89f9a8e03 [Launcher Jank] Avoid making ContentResolver binder calls from GestureNavigationSettingsObserver
Test: manual
Flag: NONE performance change
Bug: 333772683
Change-Id: Id6764315d9a2de959186785d4406a6b671e449f5
2024-06-12 22:17:57 +00:00
Himanshu Gupta cf3a0ef2f0 Merge "Prompting the user to set Pixel/Quickstep as default Home app." into main 2024-06-12 21:13:19 +00:00
Brian Isganitis e16fc827d3 Add more documentation explaining main thread requirements.
Flag: TEST_ONLY
Test: n/a
Bug: 230027385
Change-Id: Iad38f946c2e75a3372253e57abb4df2f52e62ca5
2024-06-12 16:23:14 -04:00
Brian Isganitis a76fcaf5b4 Add more tests for {request,hide}Window.
Flag: TEST_ONLY
Fix: 346394585
Test: TaskbarOverlayControllerTests
Change-Id: I59ed58d7f3a4d46bccfb34ef6923f1bf4f5bf2c1
2024-06-12 15:53:33 -04:00
Saumya Prakash 6b234217eb Fix gesture tutorial regression on tablets when rotating the screen
This change addresses a regression that would incorrectly show the
rotation prompt in the gesture navigation tutorial on tablets.

Fix: 339735651
Test: Run the gesture navigation tutorial in different types of devices
and ensure the rotate device prompt only shows up when necessary (ex.
portrait mode on a tablet).
Flag: EXEMPT bugfix

Change-Id: I82d90313917e4ffe478ee2babdc8dc0cb306504c
2024-06-12 19:49:52 +00:00
Brian Isganitis e59b640ffc Merge "Initial TaskbarUnitTestRule with example overlay controller tests." into main 2024-06-12 19:26:17 +00:00
mpodolian b8eb034271 Add outline to the transient task bar background.
Added outline to the transient task bar background.
Demo: http://recall/-/gx8ASgewUeUS3QYohfrd1J/gmJKD6VAuGXP8KOP1vLwad

Fixes: 330785041
Flag: NONE Trivial UI update
Test: Manual. Open transient task bar with the light and the dark
themes.

Change-Id: I69db4b40a1bd101471c2a2556a0621ac4494b8ec
2024-06-12 19:16:28 +01:00
Treehugger Robot ec942d5711 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 42ddcb5e14 -s ours
am skip reason: contains skip directive

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

Change-Id: I873f135d456379edf83e38bbaa6ec2650cf7a54d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 17:56:03 +00:00
Bill Yi 7a549a4fe0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: bb038c1e56 -s ours
am skip reason: contains skip directive

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

Change-Id: Id2c48e1c0087a6cbb79e96b44ea7662adf06d727
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 17:55:58 +00:00
Bill Yi 4997e01e4d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ffbadc5404 -s ours
am skip reason: contains skip directive

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

Change-Id: Ib39280ca58c3eb4ae88431a750892e876dcd8985
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 17:55:55 +00:00
Bill Yi afc6e24d4c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-12 17:43:47 +00:00
Bill Yi 27ee06f9a2 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-12 17:43:47 +00:00
Treehugger Robot 1666229452 Merge "Add debug logs to BaseOverview#isActionsViewVisible" into main 2024-06-12 17:37:29 +00:00
Treehugger Robot 42ddcb5e14 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-12 17:35:45 +00:00
Mykola Podolian 590e662d70 Merge "Add outline to the bubble bar background view." into main 2024-06-12 16:46:55 +00:00
Jon Miranda 1e0ec5ebeb Merge "Delay taskbar background fade in animation - Taskbar background will fade in based on 1. Velocity threshold 2. End target gesture destination" into main 2024-06-12 16:02:20 +00:00
Schneider Victor-tulias c4ed677501 Merge "Exclude home and recents activity types when overriding recents-excluded tasks" into main 2024-06-12 15:46:56 +00:00
Schneider Victor-tulias 11eaec69f4 Add debug logs to BaseOverview#isActionsViewVisible
Flag: NONE debug logs
Bug: 336660988
Test: TaplTestsQuickstep#testQuickSwitchFromHome
Change-Id: If241cd732cfce83d4799895f5e43048d775d72ed
2024-06-12 15:43:16 +00:00
Orhan Uysal 8f2a4e0854 Merge "Use RecentTasksListener to trigger TopTaskTracker" into main 2024-06-12 12:30:13 +00:00
Pragya Bajoria 837953afa9 Merge "Update the flag check for back gesture to include tablet filtering to reduce the scope of desktop windowing logic." into main 2024-06-12 12:21:07 +00:00
Treehugger Robot 3f1e1a139f Merge "Enable UtilitiesKtTest for multivalent. Remove test resource" into main 2024-06-12 11:04:46 +00:00
Brian Isganitis 9eaae4b6a4 Initial TaskbarUnitTestRule with example overlay controller tests.
Flag: TEST_ONLY
Bug: 230027385
Test: TaskbarOverlayControllerTest
Change-Id: I858906ece7e67677962ec8b4432bfcca5ec30283
2024-06-11 23:48:13 -04:00
Bill Yi bb038c1e56 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8e7c673b15469c477edbba5f411be7651397ded1
2024-06-11 18:41:11 -07:00
Bill Yi 27425d6623 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1ddf23b707c50d756a14f677e57da5b0a008cbd0
2024-06-11 18:40:44 -07:00
Bill Yi ffbadc5404 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1750b036138658c8abe54de9bea4f35b56fe230f
2024-06-11 18:39:45 -07:00
Bill Yi 1ef246359e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6f155a2ed120e75dfcd3ed5257c63fd6c0805550
2024-06-11 18:39:18 -07:00
Andy Wickham cfafb55331 Convert ENABLE_FLOATING_SEARCH_BAR to aconfig.
Flag: com.android.launcher3.floating_search_bar
Test: Build (existing code unchanged)
Bug: 346408388
Fix: 346406981
Change-Id: Ia8d15ceb1b2b4754657844d602cb95b9555a4ece
2024-06-12 01:24:36 +00:00
Tracy Zhou 80dbe9ae3e Merge "Initialize mRotationTouchHelper before onInputDeviceAdded" into main 2024-06-12 00:56:38 +00:00
Android Build Coastguard Worker 8e06ff5694 Snap for 11954976 from a8f0155c89 to 24Q3-release
Change-Id: Ic44cd683f66940661c2a6d3a7274b1438ed3098c
2024-06-11 23:23:15 +00:00
Jon Miranda 4a4b7a8059 Delay taskbar background fade in animation
- Taskbar background will fade in based on
  1. Velocity threshold
  2. End target gesture destination

Bug: 298089923
Bug: 345768019
Test: swipe up fast to go home, note no taskbar bg
      swipe up slow to reveal taskhome, note taskbar bg shows immediately
Flag: com.android.launcher3.enable_scaling_reveal_home_animation DISABLED

Change-Id: I2c16352e1c0c52a8afc49900a39b80383bacde62
2024-06-11 15:39:55 -07:00
Uwais Ashraf eecadb0432 Enable UtilitiesKtTest for multivalent. Remove test resource
Fix: 325088427
Test: UtilitiesKtTest in studio and presubmit
Flag: EXEMPT test-only
Change-Id: I71b77c4633b1075f643ed479f8224f9b80811f54
2024-06-11 22:38:34 +00:00
Saumya Prakash f9c602d1d9 Change Pinned taskbar corners to be fixed.
Based on new UX guidelines, the corners for the pinned taskbar should be 16 dp.

Fix: 337872323
Test: Put device in 3 button mode and pinned taskbar and observe
sharper, fixed corners. Transient taskbar remains unchanged.
Flag: EXEMPT bugfix

Change-Id: I2130e91dcdc0afb007fde93438f3fa603bc15af8
2024-06-11 22:18:09 +00:00
Jagrut Desai ec772f4995 Merge "Fix Taskbar All Apps Button to be Fixed in Minimal Taskbar State" into main 2024-06-11 21:27:27 +00:00
Tracy Zhou 16b2656ecf Merge "Fix crash from isTrackpadDevice" into main 2024-06-11 21:22:35 +00:00
Orhan Uysal c948537a82 Use RecentTasksListener to trigger TopTaskTracker
Currently launcher gets task stack updates through WM core. Ideally we
would like to migrate into a model where launcher gets these updates
through shell instead.

Test: Manually check that the correct task info is delivered to launcher
from shell
Bug: 341932484
Bug: 344684650
Flag: NONE Just adding a listener, no logic added

Change-Id: Iaf534a4bfee968138d4a4ff282a66e62759af2c0
2024-06-11 21:00:22 +00:00