Commit Graph

78507 Commits

Author SHA1 Message Date
Luca Zuccarini 52545edb41 Add return animations to Toast search results.
This only applies to targets that already use the Animation library for
launch animations.

Bug: 336719605
Bug: 298089923
Flag: com.android.launcher3.enable_container_return_animations
Flag: com.android.systemui.shared.return_animation_framework_library
Test: tested manually with flag on and off
Change-Id: Ib824e78fa8b1b226b32d23d8325f06b496ba5deb
2024-06-20 10:25:57 +00:00
Jordan Silva 3d088e3899 Fix digital wellbeing banner position in portrait mode
The banner should be aligned to the start of the screen, not the center. This CL fixes DWB position for split tasks when device is unfolded.

Change-Id: I0544b4a8eb85b00196373c8a4368e680abab222b
Fix: 348200661
Bug: 345789862
Flag: EXEMPT bugfix
Test: Manual. Add a Digital Wellbeing (DWB) timer to 2 apps. Open these two apps in split mode. Unfold the device and go to Overview. The DWB banner should aligned correctly.
2024-06-20 09:46:30 +00:00
Tracy Zhou 1983e4fb13 Enable taskbar on phones when the flag is turned on
Bug: 348017501
Test: N/A
Flag: com.android.wm.shell.enable_taskbar_on_phones
Change-Id: I8f283609b24c49e4ecd37142b0d94e449d1dc118
2024-06-19 18:45:22 +00:00
Kevin Liu 97cbdbcfd3 Add strict_mode: false
As strict mode is in place, the default strict_mode is now set to true. We are encourage teams to write tests in strict_mode to make tests Bivalent (able to run on device and devicelessly)
For more info on strict mode: go/roboStrictMode
Also fixed some missing deps.

Flag: NONE
Test: atest Launcher3RoboTests
Bug: 334089788
Change-Id: I4b4f2ef9a21926eef63fcada81355b928bbe2870
Merged-In: I4b4f2ef9a21926eef63fcada81355b928bbe2870
2024-06-19 15:53:35 +00:00
Fengjiang Li 622a7e37c5 Merge "[Launcher Jank] Avoid LauncherWidgetHolder and QuickstepWidgetHolder calling IAppWidgetService$Stub$Proxy.setAppWidgetHidden from main thread" into main 2024-06-19 15:19:22 +00:00
Jordan Silva 6a4c142b5b Fix recents button not navigating to Overview
This CL prevents returning launcher in getVisibleLauncher method when isHomeVisible is true but Launcher is not started.

Bug: 337954957
Bug: 331947116
Flag: EXEMPT bugfix
Test: Manual. With 3-button-nav. Open a video from -1 scren (not in Youtube app), press recent button. More instructions in b/337954957#comment26.
Change-Id: I40edafdab5457666474de2c0368158a9c1c05fb0
2024-06-19 15:08:43 +01:00
Ivan Tkachenko f58d227f61 Fix back gesture navigation in Launcher with DW
The windows back functionality with the
`enable_desktop_windowing_wallpaper_activity` flag enabled works as
expected and doesn't require changes in `#updateDisallowBack`.

- Added the `enable_desktop_windowing_wallpaper_activity` flag check in
  `Launcher#updateDisallowBack`
- The early return statement will get removed after flag is fully rolled
  out (b/333533253)

Bug: 330183377
Test: manual
Flag: com.android.window.flags.enable_desktop_windowing_wallpaper_activity
Change-Id: I2eaaa44da82da6cbdfe534793830d0f44c4668ba
2024-06-19 11:57:06 +00:00
David Lin 7fdd393b06 [automerger skipped] Merge "Fix flickering issues with divider during split animation" into 24D1-dev am: 6ec11da650 -s ours
am skip reason: Merged-In I3b37f2b0478035d7a3181ae7c23962fe75a13b2c with SHA-1 91fb2f2e5e is already in history

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

Change-Id: I181b94e850d3cd9b866317f06ba3ebfaa1f26323
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-19 01:18:50 +00:00
Jeremy Sim 4f87501544 [automerger skipped] Fix flickering issues with divider during split animation am: fe9a7f3f38 -s ours
am skip reason: Merged-In I3b37f2b0478035d7a3181ae7c23962fe75a13b2c with SHA-1 91fb2f2e5e is already in history

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

Change-Id: If0f02ac646d61d16f54b43418946a827c64c9cbc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-19 01:18:46 +00:00
David Lin 6ec11da650 Merge "Fix flickering issues with divider during split animation" into 24D1-dev 2024-06-19 00:48:33 +00:00
Tony Wickham c5995c8f6d Load and draw Recent/Running tasks that aren't in Hotseat
- Re-support GroupTask as a tag on TaskbarView BubbleTextViews
- Can tap to launch (startActivityFromRecents) or drag and drop
- Move divider when enable_recents_in_taskbar is true

Behavior:
- While in Desktop mode, all open tasks show up in TaskbarView,
  either in the Hotseat section or the Running apps section
  past the divider. Each one also has a running line indicator.
- While in Fullscreen mode, up to 2 Recent apps that are not
  part of Hotseat will be added to the right of the divider.

Flag: com.android.launcher3.enable_recents_in_taskbar
Test: TaskbarRecentAppsControllerTest
Bug: 315354060
Change-Id: I2e2870cca434b51f276a701860edb32069109159
2024-06-19 00:27:30 +00:00
Tony Wickham 7c7c90528d Maintain Running Tasks order in Desktop mode
Fixes: 345034545
Test: TaskbarRecentAppsControllerTest
Flag: com.android.launcher3.enable_recents_in_taskbar
Change-Id: I4ab856c5293625c5279d4713450e5ea2d3b0ed85
2024-06-19 00:27:30 +00:00
Tony Wickham 2021727f1e Change running apps section to use GroupTask instead of AppInfo
- No longer bind All Apps to TaskbarRecentsController, and register
  RecentsModel.RecentTasksChangedListener instead
- The source of truth for "running tasks" in Desktop mode is the
  DesktopTask#tasks list itself, instead of
  RecentsModel.RunningTasksListener (which is no longer used)
- Added TaskInfo.TaskKey#isVisible to distinguish minimized running apps
- Next CL will hook up the UI for Recent/Running tasks that are
  not part of the Hotseat.

Flag: com.android.launcher3.enable_recents_in_taskbar
Test: TaskbarRecentAppsControllerTest
Fixes: 335398876
Bug: 315354060
Change-Id: I1313f97a791c5c0c1db7443a5d4f1d5bc761981f
2024-06-19 00:27:30 +00:00
Tony Wickham 4e1befb394 Handle running task launch properly in desktop mode
- Move logic from KeyboardQuickSwitchViewController to handle
  bringing desktop tasks to front, and still support recent
  tasks for non-desktop mode.

Flag: com.android.launcher3.enable_recents_in_taskbar
Test: manually launch tasks from the Recents section in both
Desktop mode and full screen mode (running vs recent)
Bug: 315354060

Change-Id: I0520351b4d0095a3538c6165acd82a7b4c45a5e2
2024-06-19 00:25:45 +00:00
Charlie Anderson df204b585e Merge "Only send new first screen broadcast on first load after restore" into main 2024-06-19 00:10:49 +00:00
Mady Mellor 58a6bbac4a Update bubble bar overflow to have a unique resId
This allows the overflow to be tested properly in end-to-end tests.

Flag: com.android.wm.shell.enable_bubble_bar
Test: atest OverflowBubbleTest (with other CL)
Bug: 347312208
Change-Id: Ice969434f9c40602c4b2d1a5baf6ba0509534a56
2024-06-18 16:43:32 -07:00
Fengjiang Li 880de362f1 [Launcher Jank] Avoid LauncherWidgetHolder and QuickstepWidgetHolder calling IAppWidgetService$Stub$Proxy.setAppWidgetHidden from main thread
Fix: 347991067
Test: manual - jank fix
Flag: NONE - jank fix
Change-Id: I881e5961ee4422d89e761c95ee8371902ded7ae6
2024-06-18 15:47:31 -07:00
Brian Isganitis d0261a8e57 Extract RoboApplication object caching to Launcher3 interface.
Multivalent tests in Launcher3 can use the interface to override
MainThreadInitializedObject instances.

Test: n/a
Flag: TEST_ONLY
Bug: 230027385
Change-Id: I9c7c4fd004ca573a003fb11cd0a19a400e95afe4
2024-06-18 18:36:53 -04:00
Charlie Anderson 30a3acc779 Only send new first screen broadcast on first load after restore
Flag: EXEMPT launcher_broadcast_installed_apps
Bug: 322314760
Test: manually tested

Change-Id: I28a3ee1fb2c5c382ea8789b6e966c80db1abf0e0
2024-06-18 18:19:46 -04:00
Jagrut Desai 5074ef975a Merge "Fixing TaplUninstallRemoveTest#uninstallWorkspaceIcon" into main 2024-06-18 21:52:33 +00:00
Fengjiang Li 52c8595224 Merge "[Launcher Jank] Avoid making IWindowManager$Stub$Proxy.registerCrossWindowBlurEnabledListener bind calls from DepthController" into main 2024-06-18 21:48:07 +00:00
Xin Li 020c6204dd Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: I5059553cb9b6c02810e9638bfaf29dde9ab6140f
Change-Id: I924cc14ed3c2cee644125b91fa498cf5dc7865f8
2024-06-18 14:13:43 -07:00
Fengjiang Li 05ad8912bc [Launcher Jank] Avoid making IWindowManager$Stub$Proxy.registerCrossWindowBlurEnabledListener bind calls from DepthController
Fix: 347965970
Test: manual - jank fix
Flag: NONE - jank fix
Change-Id: I59605d22ebc215e171c3b93fb1efc3becf2a4ade
2024-06-18 20:18:55 +00:00
Treehugger Robot b47bed0fe6 Merge "Add logging and error detection around quick switching" into main 2024-06-18 16:24:34 +00:00
Jagrut Desai 66dfe90240 Fixing TaplUninstallRemoveTest#uninstallWorkspaceIcon
Test: Presubmit
Bug: 319501259
Flag: TEST_ONLY
Change-Id: I4a2af445fe51f4f3ffcc11748ff921baf6be9bd0
2024-06-18 09:19:22 -07:00
Schneider Victor-tulias 78e5bab45a Add logging and error detection around quick switching
Also adding a fallback case for when quick switch could otherwise fail

Flag: NONE debug logs
Bug: 320215753
Test: checked logs
Change-Id: I2c6b6d2c6beee77d8c2bf9e81329c4b16839c328
2024-06-18 10:49:37 -04:00
Xin Li f6d91d2d37 [automerger skipped] Merge "Merge Android 14 QPR3 to AOSP main" into main am: cc71aa83e1 -s ours am: e9c9245de6 -s ours
am skip reason: Merged-In Ib58ffbc33000d37eb9066354f217c95ca56091ac with SHA-1 667b7f5d7a is already in history

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

Change-Id: I1323b1afb1b48ff8d7ff62766f0c93ee8a4f7b43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:57:09 +00:00
Xin Li 294dccb604 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: f39ebbd606 -s ours am: db6763feca -s ours
am skip reason: Merged-In Ib58ffbc33000d37eb9066354f217c95ca56091ac with SHA-1 667b7f5d7a is already in history

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

Change-Id: I2089df7d0611ba93c5b3e5363f264579c56be81b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:55:19 +00:00
Mykola Podolian 490858bfba Merge "Added return before the animation is started." into main 2024-06-18 05:45:53 +00:00
Fengjiang Li 76b1669a48 Merge "[Launcher Jank] Avoid making binder call IContentService$Stub$Proxy.registerContentObserver from SettingsCache" into main 2024-06-18 03:17:52 +00:00
Riddle Hsu d76b06359f Merge "Let sender permission allow background launch when starting recents" into main 2024-06-18 01:48:41 +00:00
Liran Binyamin ad2f15c5b2 Merge "Implement new bubble animation when collapsed" into main 2024-06-18 00:16:08 +00:00
Shamali Patwa 0fb4cce4a7 Merge "Consider WidgetSections for suggestions in standalone picker" into main 2024-06-17 23:55:16 +00:00
Fengjiang Li 56bf7ad33b [Launcher Jank] Avoid making binder call IContentService$Stub$Proxy.registerContentObserver from SettingsCache
Fix: 347789110
Test: manual
Flag: NONE - jank fix
Change-Id: Ib1409d6c856439455aa08eeb0cfbc8075a222d45
2024-06-17 16:50:49 -07:00
Fengjiang Li 54fb3b6af7 Merge "Log stacktrace for binder call tracer" into main 2024-06-17 23:31:26 +00:00
Treehugger Robot a2fe67108f Merge "Update All Set screen background colors to match specs" into main 2024-06-17 22:16:41 +00:00
Fengjiang Li f1727ac69e Log stacktrace for binder call tracer
Fix: 347752352
Flag: NONE - gated by studio build config
Test: Manual - record picture
Change-Id: I72f8fe62858a231ca5c996d880227337dccdd7a7
2024-06-17 14:35:58 -07:00
Treehugger Robot 017aad5417 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-17 21:32:37 +00:00
Treehugger Robot b1eb420c9e Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-17 21:32:37 +00:00
Xin Li e9c9245de6 [automerger skipped] Merge "Merge Android 14 QPR3 to AOSP main" into main am: cc71aa83e1 -s ours
am skip reason: Merged-In Ib58ffbc33000d37eb9066354f217c95ca56091ac with SHA-1 667b7f5d7a is already in history

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

Change-Id: I47c3fe33535f754dcb2b7de70038f04b059c6105
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:43:08 +00:00
Xin Li db6763feca [automerger skipped] Merge Android 14 QPR3 to AOSP main am: f39ebbd606 -s ours
am skip reason: Merged-In Ib58ffbc33000d37eb9066354f217c95ca56091ac with SHA-1 667b7f5d7a is already in history

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

Change-Id: Ibda235d26fb29f10bba70f9566cf7c76a847695f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:41:12 +00:00
Jagrut Desai 18087d8b6f Merge "Add orientation logic to taskbar icon specs" into main 2024-06-17 20:28:33 +00:00
Liran Binyamin 9e15f07c1c Implement new bubble animation when collapsed
Bounce the bubble bar when a new bubble is received while the bubble
bar is collapsed.

Demo: http://recall/-/bJtug1HhvXkkeA4MQvIaiP/fn7NWNY3htuR6K3wxhfcK2

Flag: com.android.wm.shell.enable_bubble_bar
Bug: 280605790
Test: atest BubbleBarViewAnimatorTest
Change-Id: I4c622454fd99f6bb5a332b3fe4aa2764c8af93af
2024-06-17 16:24:59 -04:00
Shamali P 77e42868da Consider WidgetSections for suggestions in standalone picker
This cl address the problem for standalone picker (follow up to match
ag/27720721) to ensure widgets that aren't in section of their owning
package didn't appear in suggestions

Bug: 345520128
Test: Unit tests
Flag: EXEMPT bugfix
Change-Id: Ia0ef96c5be77db56b84c76ace498125d07f4be42
2024-06-17 20:02:18 +00:00
Treehugger Robot 66d18b98dd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: c44c004e1b -s ours
am skip reason: contains skip directive

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

Change-Id: Ie69438992cca7ecaa21e4095237770571ef0900c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 18:54:30 +00:00
Bill Yi fafb1a8129 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d06eb8a29d -s ours
am skip reason: contains skip directive

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

Change-Id: Ib49d57bd2f3b56de57b1204dbfd2b63ff67ed1fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 18:54:26 +00:00
Bill Yi 835506e275 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4645316a61 -s ours
am skip reason: contains skip directive

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

Change-Id: I6f31c1cefe9ab41596f1553fef9076ff4b7ce218
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 18:54:16 +00:00
Xin Li cc71aa83e1 Merge "Merge Android 14 QPR3 to AOSP main" into main 2024-06-17 18:51:28 +00:00
Jagrut Desai 67b8de56ce Add orientation logic to taskbar icon specs
Test: Presubmit
Bug: 341146605
Flag: NONE Taskbar Customization
Change-Id: Ia86d61fd6ac38d03e45b23ea2a424a5b0b33c12b
2024-06-17 11:43:04 -07:00
Treehugger Robot 97e7166bc8 Merge "Fix icon flash on app launch" into main 2024-06-17 18:34:33 +00:00