Commit Graph
87505 Commits
Author SHA1 Message Date
Hongwei Wang 81a637089e Merge "Apply cutout offset when applicable" into main 2024-07-02 18:20:46 +00:00
Vinit Nayak e04ca157e2 Merge "Make quickswitch splash reveal animation split aware" into main 2024-07-02 17:57:38 +00:00
Pat Manning 0e89070e1a Show tooltip for AppPairs in taskbar on hover.
Fix: 350744397
Test: TaskbarHoverToolTipControllerTest
Flag: EXEMPT bugfix
Change-Id: Ic2273f17d01d1068ceaddca8a5c115b551b35856
2024-07-02 18:22:44 +01:00
Federico Baron f4aa900009 Merge "Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible" into main 2024-07-02 15:31:50 +00:00
Liran Binyamin 13895f1be2 Don't animate the bubble that was dismissed by drag
This change stores the bubble that was dismissed by drag temporarily
in BubbleBarView so that when we remove the bubble, we can avoid
updating it as part of the animation.

This is step 1 in this change. Next I'll look into removing the
bubble immediately after dismissing it from the menu, and lastly
update sysui to not send the removal event back to launcher.

Flag: com.android.wm.shell.enable_bubble_bar
Bug: 349826879
Test: manual
       - have bubbles in the bubble bar and expand it
       - drag a bubble to dismiss it
       - observe the bubble does not reappear in the bar during
         the animation
Change-Id: I6628ce779db4aac8d82edd4ecf2a25dedf8feef9
2024-07-02 10:48:22 -04:00
HarmfulBreeze f2e07d0fe5 Clarified web suggestion provider icon string (#4534)
"show" seems more appropriate than "use" in this case
2024-07-02 18:02:25 +08:00
Saumya Prakash 66364f9657 [automerger skipped] Prevent Taskbar edu dismissal from touching outside of the window. am: 443d0600d5 -s ours
am skip reason: Merged-In I9c456b9efddc6de5f292d6a14b1ce9daee7efaa3 with SHA-1 17339843e7 is already in history

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

Change-Id: If0e82b8b41c3b0503664bc6513aa4daf08569b4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-02 09:37:03 +00:00
Treehugger Robot 6bf444c3c9 Merge "Only commitRunningAppsToUI if shownTasks changed" into main 2024-07-02 09:07:41 +00:00
Tracy Zhou 30de75309d Merge "Fix task bar transitions applied to unfolded task bar" into main 2024-07-01 23:33:29 +00:00
Android Build Coastguard Worker ae4a496e67 Snap for 12037182 from 035a25c9a7 to 24Q4-release
Change-Id: I44056cdb73542f82d5cb3f5f34f65bac0b98f098
2024-07-01 23:27:55 +00:00
Hongwei Wang 27df26a798 Apply cutout offset when applicable
Removed the check on safeInsets#top and apply the offset.
Updated also the comment.

Flag: EXEMPT bugfix
Bug: 331128612
Test: Hold unfolded foldable in different orientation, enter PiP
Test: Hold folded foldable in different orientation, enter PiP
Change-Id: I56442ab2c4bfb1bf7ac68561aee8c0cc1fb183a8
2024-07-01 16:09:23 -07:00
Saumya Prakash 98d8094688 Merge "Add developer option to reset taskbar search edu" into main 2024-07-01 22:33:24 +00:00
Kevin Lim 9baf064a9a Merge "[E2E] Re-enable stable widget tests." into main 2024-07-01 20:30:12 +00:00
Vinit Nayak 1381196565 Make quickswitch splash reveal animation split aware
Bug: 309059057
Test: Quickswitched with split and fullscreen apps in
portrait and landscape
Flag: EXEMPT bugfix

Change-Id: If175d2d3008b71372610cf380d44bad7a07aa255
2024-07-01 13:01:42 -07:00
Tracy Zhou c97138e93d Fix task bar transitions applied to unfolded task bar
Bug: 350102824
Test: Task bar scrim doesn't happen
Flag: com.android.wm.shell.enable_taskbar_on_phones
Change-Id: Ib0510d9e01b30b50bd5d295b23688547b1decef3
2024-07-01 13:00:46 -07:00
Saumya Prakash 1465e37dcb Add developer option to reset taskbar search edu
This change allows you to view taskbar search edu again by tapping the
"Taskbar Search Edu" option in launcher developer options.

Fix: 350537725
Test: Go to developer options and reset the taskbar search edu. Check
that it shows up the next time an app is launched (and if the taskbar is pinned)
Flag: EXEMPT bugfix

Change-Id: I5a0e992ef3b3d62c62998a7bbe648e4598cdde54
2024-07-01 19:13:48 +00:00
fbaron 347b408f90 Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible
Bug: 344982276
Test: TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible
Flag: TEST_ONLY
Change-Id: I2f02b769aaae353d48501b8e3551a8d0939064c6
2024-07-01 10:25:27 -07:00
Brian Isganitis 035a25c9a7 Merge changes I18245c22,I4c7a6085,I1c17b7f0,I663e5ad7,I9199fd92 into main
* changes:
  Completely destroy Launcher's Taskbar.
  Add context for sandboxing Taskbar window contexts.
  Add tests for TaskbarUnitTestRule.
  Have recreateTaskbar perform recreate on UiThread.
  Move test rules to subpackage.
2024-07-01 16:41:17 +00:00
Lawnchair BotandCrowdin Bot fd044c507f New Crowdin translations by GitHub Action (#4528)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-06-30 03:49:52 +03:30
SuperDragonXD 5f452738e9 Cleanup code 2024-06-29 15:41:31 +08:00
SuperDragonXD 6699071476 Make suggestions link to the respective search provider 2024-06-29 15:39:02 +08:00
SuperDragonXD de46c1c3be Add UI for choosing web suggestion provider
As of now, we will hardcode the available options until we merge qsb/drawer search bar common functionality to a helper class
2024-06-29 14:57:48 +08:00
Android Build Coastguard Worker 4fb91f2221 Snap for 12032182 from b15dce1ec3 to 24Q4-release
Change-Id: Ib89bc9382067c158890d3546dcc062df318865a4
2024-06-29 03:22:09 +00:00
SuperDragonXD 36c27e8c89 Fix quick launch highlighting SPACE target in app search 2024-06-29 11:21:50 +08:00
Brian Isganitis 326ae5e3d1 Completely destroy Launcher's Taskbar.
Just removing it temporarily from the window manager is insufficient.
Taskbar can attempt to recreate itself due to many callbacks being
invoked during tests such as the settings changing. After the tests
finish, the launcher process will restart anyways so taskbar will come
back automatically.

Flag: TEST_ONLY
Test: TaskbarUnitTestRule tests
Bug: 230027385
Change-Id: I18245c224f6d2ffc78d8bf80d30275429074f9b5
2024-06-28 18:38:23 -04:00
Liran Binyamin b15dce1ec3 Merge "Animate the dot with the bubble bar" into main 2024-06-28 22:31:27 +00:00
Tony Wickham 7829a1ced2 Only commitRunningAppsToUI if shownTasks changed
- Add GroupTask and DesktopTask equals() (with tests)
- Add tests to verify multiple onRecentTasksChanged
  doesn't commitRunningAppsToUI if there's no change
- Add tests to verify commitRunningAppsToUI is still
  called if minimized or running apps set changes

Bug: 348802109
Bug: 348787176
Test: TaskbarRecentAppsControllerTest
Test: GroupTaskTest
Test: log TaskbarView#onMeasure() locally, ensure it is called
much less despite noisy onRecentTasksChanged callbacks
Flag: com.android.window.flags.enable_desktop_windowing_taskbar_running_apps

Change-Id: I3efff7f4492272f88aa2bdbd7cc45bd2bf8156f6
2024-06-28 21:54:37 +00:00
Saumya Prakash 7250663fab Merge "Prevent Taskbar edu dismissal from touching outside of the window." into main 2024-06-28 21:24:46 +00:00
Saumya Prakash 443d0600d5 Prevent Taskbar edu dismissal from touching outside of the window.
In an effort to encourage users to look at Taskbar edu more thoroughly,
this change makes it so users have to press the 'Done' button explicitly
to close the taskbar edu window. This change also adds the ability for
it to be dismissed by the back gesture. It only applies to the features
edu, and not other taskbar educations.

Fix: 349612575
Test: Manually run all versions of taskbar edu and ensure that the edu only goes away with back gesture, swipe up or clicking on the DONE button
Flag: EXEMPT bugfix
Change-Id: I9c456b9efddc6de5f292d6a14b1ce9daee7efaa3
Merged-In: I9c456b9efddc6de5f292d6a14b1ce9daee7efaa3
2024-06-28 21:23:09 +00:00
Kevin Lim 188202f927 [E2E] Re-enable stable widget tests.
Bug: b/310242894
Flag: EXEMPT E2E test re-enabling
Test: http://android-build/test_hub/search/?filter=lowFailureRate&invfilter=unhealthyInvocations&invfilter=staleInvocations&query=branch%3Agit_main+target%3A%28cf_x86_64_phone-trunk_food-userdebug%7Ccf_x86_64_phone-trunk_staging-userdebug%29+testsub%3A%28testPendingWidget_withConfigScreen%7CtestPendingWidget_notRestored_brokenInstall%29
Change-Id: I25c48e07d6cebcc3b5bb61f1583a3859c4c0eb80
2024-06-28 21:11:59 +00:00
Kevin Lim 174e95921a Merge "[UniversalSearchInput] Create flag for multi-line search bar" into main 2024-06-28 21:03:47 +00:00
Saumya Prakash 17339843e7 Prevent Taskbar edu dismissal from touching outside of the window.
In an effort to encourage users to look at Taskbar edu more thoroughly,
this change makes it so users have to press the 'Done' button explicitly
to close the taskbar edu window. This change also adds the ability for
it to be dismissed by the back gesture. It only applies to the features
edu, and not other taskbar educations.

Fix: 349612575
Test: Manually run all versions of taskbar edu and ensure that the edu only goes away with back gesture, swipe up or clicking on the DONE button
Flag: EXEMPT bugfix
Change-Id: I9c456b9efddc6de5f292d6a14b1ce9daee7efaa3
2024-06-28 19:43:24 +00:00
Brandon Dayauon d93b76b7ce Merge "Adding logs to Privateprofile animation." into main 2024-06-28 16:29:00 +00:00
SuperDragonXD 8fba2aacd8 Fix style in Web.kt 2024-06-28 22:39:22 +08:00
SuperDragonXD 4826650eef Add initial support for custom search engines
Will expose pref UI later
2024-06-28 22:16:32 +08:00
SuperDragonXD 4565d48ea3 Use channelFlow to further improve search performance
TODO: Remove the jumpy UI
2024-06-28 22:16:12 +08:00
SuperDragonXD 788c6de315 Cleanup code 2024-06-28 21:03:58 +08:00
SuperDragonXD 6b6b5ae7ee Add maximum width to ComposeBottomSheet.kt 2024-06-28 21:03:58 +08:00
SuperDragonXD 8649c7f213 Simplify ColorStyles.kt 2024-06-28 21:03:58 +08:00
SuperDragonXD e09f395768 Fix color selector tab index 2024-06-28 21:03:58 +08:00
SuperDragonXD 986f8d2413 Update drawer colors 2024-06-28 21:03:58 +08:00
SuperDragonXD 524724c6a7 Use kotlin flows for local search algorithm 2024-06-28 21:03:58 +08:00
SuperDragonXD 6147f2b5f3 Revert tertiary color change 2024-06-28 21:03:58 +08:00
SuperDragonXD fc9efa9bd1 Fix quick launch item (again) 2024-06-28 21:03:58 +08:00
Alex Chau 50293c5227 Merge "Extract TaskContainer to its own class" into main 2024-06-28 12:16:17 +00:00
renovate[bot]andGoooler 085da18333 Update dependency com.github.topjohnwu.libsu:service to v6 (#4523)
* Update dependency com.github.topjohnwu.libsu:service to v6

* Add allowDependency

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Goooler <wangzongler@gmail.com>
2024-06-28 09:13:18 +00:00
Brandon Dayauon 46c542e5b7 Adding logs to Privateprofile animation.
Provide logs at the end state to see if alpha/visibility is showing or not to indicate any reasons the issue may happen
because of the animation.

bug: 341053089
Test: N/A
Flag: com.android.launcher3.enable_private_space
Change-Id: Ib94bc955e2d061d1799040ac6180d150b24118fe
2024-06-27 20:24:27 -07:00
Hongwei Wang 9fec21871c Merge "Disable gesture nav while PiP anim is running" into main 2024-06-28 02:03:10 +00:00
Federico Baron 447a4a7efb Merge "Fix folder clipping bug" into main 2024-06-27 23:42:38 +00:00
Android Build Coastguard Worker fd09776e58 Snap for 12025384 from 8c307e249c to 24Q4-release
Change-Id: I00ab3a0f99e1888957e3ecabad84f778cc9ed765
2024-06-27 23:22:12 +00:00