Commit Graph

83004 Commits

Author SHA1 Message Date
Daniel Chapin cd958b38ac Revert "Shape screen communication with the Launcher's app (2/2)"
Revert submission 29934361-launcher-communication

Reason for revert: b/376371559 

Reverted changes: /q/submissionid:29934361-launcher-communication

Change-Id: I26b2339fdb4da11312d4587ab31c23880ef0d746
2024-10-30 14:56:08 +00:00
Charlie Anderson 859bbaa718 Merge "Convert PackageManagerHelper to use Dagger" into main 2024-10-30 14:24:15 +00:00
Schneider Victor-tulias de739c226d Merge "Fix launcher crash on configuration changed" into main 2024-10-30 14:08:49 +00:00
Johannes Gallmann 600c1af779 Use FlingOnBackAnimationCallback for predictive back
Use FlingOnBackAnimationCallback to get automatically interpolated progress and out-of-the-box support for back gesture flings.

Bug: 362938401
Test: Manual, i.e. testing launcher predictive back cases (all apps, widget-picker)
Flag: com.android.window.flags.predictive_back_timestamp_api
Change-Id: I35806dbf005eb6fce97327d26c1e75bca60c2c77
2024-10-30 13:32:15 +00:00
samcackett 3ae3d297e6 Don't allow Desktop tasks to go outside Overview task bounds
Wrap TaskThumbnailView's in a new DesktopTaskContentView. This is in order to correctly crop the thumbnail children contained in the DesktopTaskView, otherwise any freeform task screenshots at the edges of the DTV leak outside the bounds.

We need a new container to do this, otherwise we will cut off the icon
or the hover border if we apply an outline to the DesktopTaskView itself.

Fix: 376206104
Flag: com.android.window.flags.enable_desktop_windowing_mode
Test: OverviewDesktopTaskImageTest
Change-Id: Ic51438e63aaf671a0a8156815d11fc7fa12beac0
2024-10-30 07:22:45 +00:00
Vinit Nayak d626cdd727 Merge "Disable OrientationEventListener in RotationTouchHelper#destroy()" into main 2024-10-30 01:38:32 +00:00
Toshiki Kikuchi c6b29e374c Merge "Handle display windowing mode change in onConfigChanged" into main 2024-10-30 01:25:23 +00:00
Ana Salazar Maldonado 9c907b5d4f Merge "Revert "Add flag for launcher pill"" into main 2024-10-30 01:00:29 +00:00
Cosmin Băieș a8190abb3a Merge "Cleanup ENABLE_HIDE_IME_CAPTION_BAR flag" into main 2024-10-30 00:19:01 +00:00
Android Build Coastguard Worker 2eef2f8e39 Snap for 12573674 from 4f5a78a9bf to 25Q1-release
Change-Id: I87f09321d775a493db70610a2e6e8562defcbb1e
2024-10-29 23:23:40 +00:00
Yuichiro Hanada ca23e23655 Merge "Move the animator for the minimization to WMShell" into main 2024-10-29 23:19:09 +00:00
Brian Isganitis bab87b1551 Stop suspending Launcher Taskbar in tests.
The Taskbar under test should now be sufficiently isolated from
Launcher, so we no longer have to suspend it.

Flag: TEST_ONLY
Bug: 230027385
Test: go/testedequals
Change-Id: I20cff11c90208b59f1dca3730ec3978913c43a50
2024-10-29 19:15:58 -04:00
Brian Isganitis 722d7b8dc9 Sandbox SettingsCache for Taskbar tests.
Flag: TEST_ONLY
Bug: 230027385
Test: go/testedequals
Change-Id: I751cdab5cca443111c28e5f752c8abb06410dc2c
2024-10-29 19:15:58 -04:00
Wen-Chien Wang c16a6394e4 Add margins to KQS view that is triggered from transient taskbar
This cl adds additional bottom margins to the KQS view for the
transient taskbar. Also adds a behavior that when the KQS view is
showing, the transient taskbar won't be stashed.

Screenshots with the new layout after this cl is uploaded to the
buganizer.

Bug: 368119679
Test: open KQS via transient taskbar and observe the bounds change
Flag: com.android.launcher3.taskbar_overflow
Change-Id: Ie50e768f828a24f0111df4cdba474a6482a4e1c7
2024-10-29 22:44:31 +00:00
Tracy Zhou 9b18ec739a Merge "Tuning gesture nav params for trackpad 3-finger gestures" into main 2024-10-29 22:12:28 +00:00
Treehugger Robot 331c3e3bef Merge "[Dagger] Make SystemUiProxy provided by DaggerSingletonObject" into main 2024-10-29 21:57:58 +00:00
Charlie Anderson 480b42f833 Convert PackageManagerHelper to use Dagger
Bug: 372012340
Test: presubmit
Flag: EXEMPT Dagger change
Change-Id: Ic0636fa086c9d846f7b38665a552fc4b2d12faa3
2024-10-29 16:42:19 -04:00
Treehugger Robot 4674c3bb2b Merge "Fix NPE in QuickstepTestInformationHandler#getWindowInsets" into main 2024-10-29 20:34:54 +00:00
Brandon Dayauon 0b2acd6516 Merge changes from topic "AddWorkSchedulerInWorkProfileFlag" into main
* changes:
  Add work_scheduler_in_work_profile flag.
  Remove layoutTransitions for current FAB and use custom animation.
2024-10-29 20:17:02 +00:00
Tracy Zhou 21bb53ff08 Tuning gesture nav params for trackpad 3-finger gestures
It's harder to slow down in trackpad swipes than finger swipes on the screen, so the deceleration required to be considered pause for swiping from app should be less strict (set the number for trackpad to 0.85f instead of 0.6f for on-screen). Also added a speed_trackpad_somewhat_fast for the case of swiping up to overview, so that we can be a little bit more lenient to the users for the end speed.

Bug: 375688524
Test: play with 3-finger swipe to home / overview. Make it easier to go to overview, but fast swipe from app still takes user to home
Flag: EXEMPT bugfix
Change-Id: I196a92163fd36e9b7013f4893876b79c9c2c9de0
2024-10-29 13:10:49 -07:00
Schneider Victor-Tulias 716a154211 [Dagger] Make SystemUiProxy provided by DaggerSingletonObject
Test: presubmit
Bug: 361850561
Flag: EXEMPT dagger migration
Change-Id: I00cb14ec5d7e423a34c88e75d1bcf9db4f0ae229
2024-10-29 16:01:36 -04:00
Treehugger Robot 7112a56ede Merge "Tapping overflow button toggles KQS" into main 2024-10-29 19:56:33 +00:00
Ana Salazar Maldonado 64d5ccdbb0 Revert "Add flag for launcher pill"
This reverts commit f607018261.

Change-Id: I3446b0b800297a8699adc69f507d39a5681293b5
2024-10-29 19:16:55 +00:00
Schneider Victor-Tulias 3736f44f8e Fix NPE in QuickstepTestInformationHandler#getWindowInsets
Flag: EXEMPT fixing NPE
Fixes: 28555142
Test: TAPL tests
Change-Id: I722dfe196b93861723ef3de9961f0a30b9056583
2024-10-29 14:27:25 -04:00
Treehugger Robot 4f5a78a9bf Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-29 18:17:34 +00:00
Treehugger Robot 62962e65cf Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-29 18:17:34 +00:00
Brandon Dayauon 586df9898a Add work_scheduler_in_work_profile flag.
bug: 361589193
Test: NONE, presubmit
Flag: NONE flag not submitted yet
Change-Id: Iedc9513110f1a2ec4efaf5454987ff86051cda90
2024-10-29 09:50:16 -07:00
Brandon Dayauon a7123472ce Remove layoutTransitions for current FAB and use custom animation.
Have background contain left and right padding of 16dp.
That way upon collapse, its easier to animate so that every other view's space but the icon is removed.
Spec when expanded/collapsed: https://www.figma.com/design/uMzPkNMZpb7EyfHDo8usIa/V-%E2%80%A2-Toast-Butter?node-id=2839-365095&node-type=text&m=dev

bug: 361589193
Test: manually - video:https://drive.google.com/file/d/1K7HCpayZBa_oo9p3XV10QQX4miTy_d3q/view?usp=sharing
withRTL: https://drive.google.com/file/d/1NfUEyEvzjfQamujv4EqLNBqB47mPNG1Y/view?usp=sharing
Flag: NONE just changing expandedFAB to use custom animations from layoutTransition

Change-Id: I7948633850a1010175eb4f0248daff22cf2f2c87
2024-10-29 09:50:13 -07:00
Brandon Dayauon c34ba5ad01 Fix crash when pausing work profile.
The issue happens when bindFastScrollbar is called during switching to a paused work tab and since there are no
letters to display (no sections in work tab because workProfile is paused) createVerticalChain complains because it needs two views to be
present when there are none. So just early check if there are sections existing will fix this.

bug:373533884
Test manually video: https://drive.google.com/file/d/1K9zdZthHNj4Gbdn-m30KINm3VFfwFfiM/view?usp=sharing
Flag: com.android.launcher3.letter_fast_scroller

Change-Id: I7a8501fa5e7d048fe5a2fe4525f96cc9809cfbfd
2024-10-29 08:41:26 -07:00
Vinay Joglekar 9859982e0a Merge "Fix icon during split task which is inside DW from taskbar." into main 2024-10-29 14:29:50 +00:00
vinayjoglekar f6a773a476 Fix icon during split task which is inside DW from taskbar.
We don't animate DesktopTaskView into split placeholder to avoid having desktop icon as the split placeholder, which isn't accurate as we're only splitting with a single task rather than the whole desktop.

Test: Manual, split app from taskbar which is in desktop window
Fix: 376002803
Flag: com.android.launcher3.enable_large_desktop_windowing_tile
Change-Id: Ib62d831b1f0c0ca5ee8f355a15f14baff8ec67ee
2024-10-29 14:29:15 +00:00
Treehugger Robot 9c062e472d Merge "Add a feature flag to toggle DW carousel detach" into main 2024-10-29 14:21:13 +00:00
Shamali Patwa a01ae91369 Merge changes from topic "sheader-a11y" into main
* changes:
  Fix issue that expanding only search result led to weird scroll
  Fix issue that items were invisible in 2-pane picker with talkback.
2024-10-29 12:45:38 +00:00
Federico Baron 43cc25b64b Merge "Fix grid migration tests with grid migration refactor flag on" into main 2024-10-29 07:01:16 +00:00
Bill Yi 69a8022769 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0d4b964477ba5067abc1c27d9560110595b8e192
2024-10-28 22:57:24 -07:00
Bill Yi 11d7806cdd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic07e472cbad23a039bb8a9d8a3db2fd22e08d6b4
2024-10-28 22:56:31 -07:00
Sebastián Franco 8b871a329a Merge "Migrating LauncherDbUtils to kotlin" into main 2024-10-29 02:53:20 +00:00
Treehugger Robot 5e77702197 Merge "Prevent tap in swipe up zone from closing KQS" into main 2024-10-29 01:57:55 +00:00
Android Build Coastguard Worker 712da2cf48 Merge cherrypicks of ['googleplex-android-review.googlesource.com/30068451'] into 24Q4-release.
Change-Id: If21861e06be4781ab4af912129eadb7483554fe5
2024-10-28 23:33:36 +00:00
Jagrut Desai 72417bb06c Fix Taskbar Touchable Region when overview is in split select mode
The problem: when Overview is in split slect mode second split app pick from taskbar take you back home. Why, because upon touch the taskbar touch region get
 set to empty and then we later don't meet any conditions to set default touch region to something.

The solution: change the condition of checking overview in onTaskbarOrBubblebarWindowHeightOrInsetsChanged so that we check that taskbar is in any overview s
tate and we don't rely on the stash controller flag alone. we follow similar logic in updateInsetsTouchability, but we gate that only behind transient taskba
r hence this was not an issue for transient taskbar.

Test: Manual
Bug: 373559050
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9aa005b657bebe60867b2c2961c2f5deac8cf359)
Merged-In: Ia507354f42959ce9d320114a313bfc533186b524
Change-Id: Ia507354f42959ce9d320114a313bfc533186b524
2024-10-28 23:33:02 +00:00
Sebastian Franco b402c0f081 Migrating LauncherDbUtils to kotlin
Bug: 364711814
Flag: EXEMPT refactor
Test: DatabaseHelperTest
Change-Id: I140689fd16d3dbb373fd267448dce3fd4094e0ec
2024-10-28 16:25:30 -07:00
Treehugger Robot e6b473a284 Merge "Delete Unused Flag related to Altering how the workspace is loaded." into main 2024-10-28 21:42:56 +00:00
Sukesh Ram 4781b26bf4 Merge "Revert "Fix Taskbar Y-Translation with Visible Bottom Sheet"" into main 2024-10-28 21:42:54 +00:00
Liran Binyamin 6fc00481ab Merge "Allow updating the flyout message" into main 2024-10-28 20:48:45 +00:00
Treehugger Robot 3ea2e2f887 Merge "Remove dependencies on the 1-variant fallback" into main 2024-10-28 20:46:33 +00:00
Treehugger Robot 84b2583695 Merge "Cleaning up unused flag." into main 2024-10-28 20:18:56 +00:00
George Lin 54c3ab841a Merge "Shape screen communication with the Launcher's app (2/2)" into main 2024-10-28 20:15:40 +00:00
Cole Faust cfa4fe7e2b Remove dependencies on the 1-variant fallback
When adding a dependencies, if the variants don't match, but the
dependency only has 1 variant anyways, soong will always use that
variant. This makes it hard to add new variants to soong, because the
1-variant fallback stops being used and you start getting missing
variant errors. Make changes to bp files such that all dependencies
correctly specify the variant to use.

Bug: 372091092
Flag: EXEMPT refactor
Test: m nothing
Change-Id: Ifa43c0488e4cd40d6195fe2af3de5faa4f5996ea
2024-10-28 12:20:53 -07:00
Charlie Anderson b021c32c89 Merge "Fix flagging for LoaderTask broadcast tests and add more coverage" into main 2024-10-28 18:55:43 +00:00
Treehugger Robot 5e4d5704de Merge "Focus search container by default" into main 2024-10-28 17:55:59 +00:00