Commit Graph

78507 Commits

Author SHA1 Message Date
Orhan Uysal f38d739130 Merge "Revert "Fix activity leak"" into main 2024-05-28 12:10:40 +00:00
Orhan Uysal e0e5460066 Revert "Fix activity leak"
This reverts commit 67c807a1fe.

Reason for revert: <Setting the SplitSelectStateController to null causes NPE in launcher>

Fix: 342553715
Bug: 332339792
Change-Id: I10433e468948c4ba826e79baa06925fdf7dfbe5d
2024-05-28 10:17:53 +00:00
Bill Yi 704883eafa Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I523a0d159594ad847c7c6bcbcbc295755e5c8f73
2024-05-27 20:48:12 -07:00
Bill Yi 3c591d797a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9e2e52d9495d8276e53ee31600224b9a7ddab113
2024-05-27 20:47:40 -07:00
Tracy Zhou db295670fd Register input monitor for trackpad only when trackpad is attached
Fixes: 335146977
Test: Use logging to make sure that input monitor isn't registered in 3 button mode when trackpad is not attached. When it's attached, it's registered upon attachment
Change-Id: I89fc249546945b3adfc4c804eefd53808138168d
2024-05-26 17:42:30 -07:00
Android Build Coastguard Worker d49fc73de2 Snap for 11890778 from 1b973c068d to 24Q3-release
Change-Id: I4bdd468ef73f7061fc9b39a5372e5bcc05c4d67c
2024-05-26 21:21:50 +00:00
Brian Isganitis 1b973c068d Merge "Use phone handlebar size for tiny taskbar." into main 2024-05-25 21:31:28 +00:00
Android Build Coastguard Worker f25ac10378 Snap for 11890100 from b03d274375 to 24Q3-release
Change-Id: I3bf1128f799d14274a6ab8bb3da177671c496fef
2024-05-25 21:21:57 +00:00
Brian Isganitis e25ce33ab8 Merge "Prototype tiny taskbar all apps." into main 2024-05-25 19:15:35 +00:00
Sunny Goyal b03d274375 Merge "Fixing some missing swipecancelled events" into main 2024-05-25 08:11:56 +00:00
Android Build Coastguard Worker 6828ea2010 Snap for 11889377 from 92b73a4f09 to 24Q3-release
Change-Id: I012fe5c7ede6a9c3ee72f46a7836d2cc738c08cd
2024-05-25 03:21:32 +00:00
Sunny Goyal 97ceed42e6 Fixing some missing swipecancelled events
Updating NavBarPosition to expose more constructor and getters

Flag: com.android.launcher3.use_activity_overlay
Test: atest SwipeTransitionTest
Bug: 340432854
Change-Id: I86193fa26c0337d50e366cecb2d7debf37940fe1
2024-05-24 17:34:36 -07:00
Jagrut Desai 0214b921aa Revert "[omni] Handle touch slop for LPAA."
This reverts commit 49dc99abb0.

Reason for revert: Failing Nexus Launcher Tests

Change-Id: I145dadaef4ff1959b7e617d7b832150579145725
2024-05-24 21:06:07 +00:00
Brian Isganitis 8f6e33714a Use phone handlebar size for tiny taskbar.
Flag: com.android.wm.shell.enable_tiny_taskbar
Test: Manual
Bug: 341784466
Change-Id: I8dbe04e221ada4d01f9525f62a257a1d983f86f0
2024-05-24 19:12:59 +00:00
Brian Isganitis 92b73a4f09 Merge "Revert "Add flag for Tiny Taskbar"" into main 2024-05-24 19:12:07 +00:00
Brian Isganitis 7317e42b47 Merge changes I340485ed,Iba07382d into main
* changes:
  Disable taskbar EDU for tiny taskbar.
  Initial prototype of tiny taskbar.
2024-05-24 19:11:55 +00:00
Treehugger Robot f02bafdc07 Merge "Remove multivalentTestsForDeviceless symlink and make deviceless default" into main 2024-05-24 19:08:52 +00:00
Winson Chung ff728284b4 [automerger skipped] Merge "Report gesture height for mandatory system gestures" into 24D1-dev am: 6e71bffae7 -s ours
am skip reason: Merged-In Ie4d56b62c903c273db95c19c9d34fcfe6c9ce486 with SHA-1 05682a059f is already in history

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

Change-Id: I238e022e377a3bbd8f5a9ad1319f7d70c23eeead
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 17:09:49 +00:00
Winson Chung 5ad482f208 [automerger skipped] Report gesture height for mandatory system gestures am: 21bb36fa66 -s ours
am skip reason: Merged-In Ie4d56b62c903c273db95c19c9d34fcfe6c9ce486 with SHA-1 05682a059f is already in history

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

Change-Id: I8e9f000fb4a6d7fb4ee88f17e053f4c42bad82b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 17:09:46 +00:00
Winson Chung 6e71bffae7 Merge "Report gesture height for mandatory system gestures" into 24D1-dev 2024-05-24 16:39:11 +00:00
Bill Yi dfa4b82cf1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b9487c16ce -s ours
am skip reason: contains skip directive

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

Change-Id: I20fdc4fa9bdc29c411ce0cbd19773cd84040eee7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 16:11:06 +00:00
Uwais Ashraf ba4fd32789 Remove multivalentTestsForDeviceless symlink and make deviceless default
Bug: 342146813
Test: Ran tests in studio
Flag: EXEMPT test build files
Change-Id: I0971a5b25a09069157bae51d518ddde502bd4e74
2024-05-24 15:51:04 +00:00
Uwais Ashraf e497456547 Merge "Add TasksRepository" into main 2024-05-24 15:49:46 +00:00
Uwais Ashraf f6f34ca441 Add TasksRepository
Bug: 334825222
Test: TasksRepositoryTest
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Change-Id: I3e08dea7b205df54f8bef456ead6466aa2ce45c6
2024-05-24 12:06:59 +00:00
Pierre Barbier de Reuille 2de842b558 Merge "Update desktop mode to identify minimized tasks" into main 2024-05-24 08:26:48 +00:00
Winson Chung 21bb36fa66 Report gesture height for mandatory system gestures
- We are currently reporting the content insets for the mandatory system
  gestures in taskbar, but for button nav we should actually be
  reporting zero, and for gesture nav we should either report the
  content height if the taskbar is pinned, or the gesture height
  otherwise as the bottom mandatory gesture inset

Fixes: 340134342
Test: atest android.systemui.cts.WindowInsetsBehaviorTests
Change-Id: Ie4d56b62c903c273db95c19c9d34fcfe6c9ce486
Merged-In: Ie4d56b62c903c273db95c19c9d34fcfe6c9ce486
(cherry picked from commit 05682a059f)
2024-05-24 07:15:17 +00:00
Winson Chung 0131a2757f Merge "Report gesture height for mandatory system gestures" into main 2024-05-24 04:32:12 +00:00
Bill Yi b9487c16ce Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I621e54f11fe617f515d5a68af4dc0555c4f12236
2024-05-23 20:52:20 -07:00
Liam Lee Pong Lam 1f5e8c6e77 Merge "[Launcher3] Hide keyboard when fastscroller scrolling down and keyboard shown" into main 2024-05-23 23:35:36 +00:00
Android Build Coastguard Worker 919673cea0 Snap for 11881322 from ebcd2e5cd5 to 24Q3-release
Change-Id: I20c81ebbb8c0f0b4c25784b9f0849a38d8509643
2024-05-23 23:21:14 +00:00
Vinit Nayak f08e1afa37 Disable gestures when split apps are animating in from shell
Bug: 286509643
Test: See other CL in topic
Change-Id: Ic770bdf5ae6f847b1deca3b1d7e5a389ddd6663e
Merged-In: Ic770bdf5ae6f847b1deca3b1d7e5a389ddd6663e
2024-05-23 22:54:55 +00:00
Winson Chung 05682a059f Report gesture height for mandatory system gestures
- We are currently reporting the content insets for the mandatory system
  gestures in taskbar, but for button nav we should actually be
  reporting zero, and for gesture nav we should either report the
  content height if the taskbar is pinned, or the gesture height
  otherwise as the bottom mandatory gesture inset

Bug: 340134342
Test: atest android.systemui.cts.WindowInsetsBehaviorTests
Change-Id: Ie4d56b62c903c273db95c19c9d34fcfe6c9ce486
2024-05-23 22:43:02 +00:00
Brian Isganitis 6fd271bb8a Revert "Add flag for Tiny Taskbar"
This reverts commit 1a57e08d84.

Reason for revert: ag/27470277 flag instead
Flag: com.android.wm.shell.enable_tiny_taskbar
Test: None
Bug: 341784466

Change-Id: I1a36c66eabb9c2ddac4595cec6836da222182351
2024-05-23 22:31:07 +00:00
Brian Isganitis 7c96392d25 Prototype tiny taskbar all apps.
Makes the scrim opaque for phones so that it looks like the launcher
phone all apps layout.

Flag: com.android.wm.shell.enable_tiny_taskbar
Test: Manual
Bug: 341784466
Change-Id: I0352bf7c13c4ea0a5e1bdecf8b4573fd2008d44b
2024-05-23 16:55:30 -04:00
Brian Isganitis 4aa0b3f261 Disable taskbar EDU for tiny taskbar.
The tooltips are generally too large for phone mode, and since this is a
prototype, let's disable them when in tiny mode :)

Flag: com.android.wm.shell.enable_tiny_taskbar
Test: Manual
Bug: 341784466
Change-Id: I340485edf8bedc6b5d9501cb7c74b0864ae79630
2024-05-23 16:49:24 -04:00
Brian Isganitis e1eaefd537 Initial prototype of tiny taskbar.
Introducing isTinyTaskbar and using in a few places to show Taskbar on
phones.

Disabling for three button mode since the buttons will take up most of
the space. Could also prototype adding meta key as a 4th button in
this case if we feel like it.

Flag: com.android.wm.shell.enable_tiny_taskbar
Test: Manual
Bug: 341784466
Change-Id: Iba07382d9bd5d14fc29ef080a390db561f6fd454
2024-05-23 16:40:58 -04:00
Pierre Barbier de Reuille f60dd5471c Update desktop mode to identify minimized tasks
When a task is minimised, it becomes invisible but is still running.
WMShell now signals to the launcher when a task's visibility changes.
The task bar takes the visibility into account to know if a running task
is, in fact, minimised.

Test: atest NexusLauncherTests:DesktopTaskbarRunningAppsControllerTest
Flag: com.android.window.flags.enable_desktop_windowing_taskbar_running_apps
Bug: 333872717
Change-Id: Iaff6b1240d354bb3c4de8e4884948acf9bf40112
2024-05-23 20:59:16 +01:00
Alex Chau c228dbd2c1 Reset RecentsView when detached from window
- onDetachedFromWindow is a sign RecentsView or even activity will be destroyed, if we don't reset RecentsAnimationController will be stuck without finsihing, causing live tile to be stuck on screen

Bug: 339747262
Test: Swithcing apps (recents button, quick switch, OVerview) from Maps driving mode, live tile not stuck
Flag: EXEMPT bugfix
Change-Id: I990cfe0fc814c9125dbfbaf8a298f1b871e0194e
2024-05-23 11:34:41 +01:00
Alex Chau ebcd2e5cd5 Merge "Don't call onModalnessUpdated if modalness stays the same" into main 2024-05-23 09:18:59 +00:00
Johannes Gallmann 6b078336fb Merge "Add shanh and gallmann to Launcher owners for predictive back" into main 2024-05-23 06:45:27 +00:00
Johannes Gallmann 364f912da0 Add shanh and gallmann to Launcher owners for predictive back
Bug: NONE
Flag: NONE owners-file only
Test: NONE
Change-Id: I3614b8ca279d9c81a4c3dd3f93c35beff6f6f179
2024-05-23 06:44:57 +00:00
Android Build Coastguard Worker 31969d91f1 Snap for 11876238 from 59fd8cbfaf to 24Q3-release
Change-Id: Ie40f6268b6bf52fbd295b44a657d0cfede69d5bc
2024-05-22 23:22:40 +00:00
Liam, Lee Pong Lam 883a79db71 [Launcher3] Hide keyboard when fastscroller scrolling down and keyboard
shown

Implement keyboard hiding logic: Hide keyboard when scrolling down (y > mLastY) unless already requested (mRequestedHideKeyboard). Track hide request state to prevent redundant calls.

result video: https://photos.app.goo.gl/e4dYUUiUN3BujNUz9

Bug: 333967597
Flag: EXEMPT bugfix
Test: Manual
Change-Id: I42b9d05dd5368b021577f12541248d434ee22495
2024-05-22 23:17:28 +00:00
Treehugger Robot 014a17ee58 Merge "Animate scrim within open/close PendingAnimation." into main 2024-05-22 23:13:47 +00:00
Charlie Anderson 3483b8e0cc Makes testDragAppIconToMultipleWorkspaceCells more concise to avoid test timout.
Removed part of test that is mostly covered already by testDragAppIcon

Bug: 340281870
Test: passing presubmit
Flag: NONE

Change-Id: I64f4db54ca89dedf4f8e5874bd72ae6d287a812c
2024-05-22 18:54:03 -04:00
Winson Chung 1ed3536146 [automerger skipped] Merge "Add multi-instance state to item infos" into 24D1-dev am: f13fa37d0f -s ours
am skip reason: Merged-In I565b4bee4ab5f7040910306b1fd60a4fc3bf9a1c with SHA-1 94e8ad0731 is already in history

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

Change-Id: I9708ffa9ce3153c701e193d91503f97f0ee4ec83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 22:39:46 +00:00
Winson Chung ade6941799 [automerger skipped] Add multi-instance state to item infos am: ab8e999f81 -s ours
am skip reason: Merged-In I565b4bee4ab5f7040910306b1fd60a4fc3bf9a1c with SHA-1 94e8ad0731 is already in history

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

Change-Id: Ib02fc4f3e6250f536711844a8ded309877caec32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 22:39:43 +00:00
Winson Chung f13fa37d0f Merge "Add multi-instance state to item infos" into 24D1-dev 2024-05-22 22:21:24 +00:00
Sihua Ma 26d9b9c696 Merge "Reapply "Move widget picker tests to Robolectric"" into main 2024-05-22 21:56:02 +00:00
Brandon Dayauon bd3eaa898e Merge changes I64e9a228,I300e8513 into main
* changes:
  Update private space divider thickness and padding per spec.
  Update install app icon colors to spec:
2024-05-22 21:22:00 +00:00