Commit Graph
87505 Commits
Author SHA1 Message Date
mpodolian 0786deaedc Fixed issue with shadow for overflow icon
Made icons elevation animates to flat state while bubble bar is being
expanded and animate to full elevation while bubble bar is being
collapsed.

Test: Visual
Fixes: 295027436
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Change-Id: I8286cd79904367654e319d6a84a307bd64c28d93
2024-04-25 20:16:55 +01:00
Shamali P 0dce4a0704 Re-enable the testDragCustomShortcut test in pre-submits
In follow up need to align the code that looks for widets to work for
two pane picker in tablets.

Bug: 322820039
Flag: N/A
Test: Presubmit enabled for test
Change-Id: If8a3a7867bbafd5a08ebaef6ed354105762a8a23
2024-04-25 19:13:53 +00:00
Treehugger Robot 2bed168c4d Merge "Reapply "add more unit tests for WorkspaceItemProcessor"" into main 2024-04-25 18:48:07 +00:00
Helen Cheuk b9ed7c152a Merge "Disable launcher focus outline animation" into main 2024-04-25 18:43:05 +00:00
Saumya Prakash 194403681b Only run search edu when enabled, also make code more generic.
We only need to run the Search edu if it is enabled on devices. The code
itself is also made more generic in terms of method and variable names.

Fix: 330401405
Test: Enable and disable the search function and check whether the edu tooltip shows
up for each specific use case.
Flag: ACONFIG com.android.launcher3.enable_taskbar_pinning NEXTFOOD

Change-Id: I1cea3ee56922c0b47ae7e8379aad4b36570daa17
Merged-In: I1cea3ee56922c0b47ae7e8379aad4b36570daa17
2024-04-25 18:37:02 +00:00
Brandon Dayauon 107ed23856 Enable transitioningToLocked_resetCallsExecuteLock and transitioningToUnlocked_resetCallsPostUnlock in presubmit
bug: 326206132
Test: presubmit
Flag: None
Change-Id: I2158116f9c02924cacd4e3f1d6adf920b68b973f
2024-04-25 10:58:29 -07:00
Daniel Akinola e91b4b52ee Merge "Revert "Force calculator to launch in fullscreen for taskbar tests"" into main 2024-04-25 17:56:47 +00:00
Daniel Akinola 2a19774bbe Merge "Revert "Force calculator to launch in fullscreen for quickswitch tests"" into main 2024-04-25 17:56:47 +00:00
Sebastián Franco 307bafc511 Merge "Adding screenrecord to get more information about the test" into main 2024-04-25 17:48:49 +00:00
Mykola Podolian cbc77c9818 Merge "Removed arrow animation on selected bubble closing." into main 2024-04-25 17:31:34 +00:00
Evan Rosky fa1b1332b6 Phase-out shell-transit flag
Shell-transit has been in production for a whole release
now, so disable the flag.

Bug: 294268547
Test: N/A - unused
Flag: NA
Change-Id: Idbc8ffc007b4d0aa01ecdfe47c846c05a937de70
2024-04-25 10:31:24 -07:00
Himanshu Gupta 578f1a474e Merge "Fix Accessbility bugs for PS." into main 2024-04-25 17:03:54 +00:00
Linus Tufvesson 371bd87e21 Turn off deprecated sdk dialog
.. for launcher3 tests

Flag: LEGACY RELEASE_PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION STAGING
Bug: 297603927
Test: atest NexusLauncherOutOfProcTests:com.android.quickstep.TaplTestsQuickstep
Change-Id: Ie8c62d66360e75892b0774314252def5a346199b
2024-04-25 18:38:35 +02:00
Charlie Anderson 9ac6f42610 Reapply "add more unit tests for WorkspaceItemProcessor"
Also, add more unit tests around Widgets.

This reverts commit d9ed5f301b.

Test: Added unit tests
Flag: N/A
Bug: 330906931
Bug: 294386159

Change-Id: I8de74bce8bddd06e5ce1399d26253cb936281bee
2024-04-25 12:35:14 -04:00
Daniel Akinola 56ccf74899 Revert "Force calculator to launch in fullscreen for taskbar tests"
This reverts commit 8771dfe3dd.

Reason for revert: was only a temporary fix while investigating issue, should be unnecessary after ag/27089675 is landed.

Change-Id: I5963dc77f31eb45c1cdd100788b045891de2d716
2024-04-25 15:49:06 +00:00
Daniel Akinola 4e955ed606 Revert "Force calculator to launch in fullscreen for quickswitch tests"
This reverts commit 41fcfc1f72.

Reason for revert: was only a temporary fix while investigating issue, should be unnecessary after ag/27089675 is landed.

Change-Id: Ic1ab614cfc0e7bf4b82c8d0eaa1662fd4129932a
2024-04-25 15:47:57 +00:00
mpodolian 1e7e52b923 Removed arrow animation on selected bubble closing.
We should first decide how we would like to animate dismissal of the
selected bubble, and than implement arrow animation. The issue exists
because background is shrinked without an animation.

Test: Visual
Fixes: 293350516
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Change-Id: Ia0cf04671bf9e93c98c45c99a21865055462e6df
2024-04-25 15:21:57 +00:00
Alex Chau 2db50a8545 Merge "Avoid adding unnecessary topMargin to TaskThumbnails in DesktopTaskView" into main 2024-04-25 14:45:59 +00:00
Liran Binyamin 4f35ee9968 Don't animate new bubble when already expanded
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Bug: 280605846
Test: manual
Change-Id: I2fe4eb1ad05cfe693630c3a4a8493fecba81965c
2024-04-25 09:58:17 -04:00
Jeff DeCew 854b8781ad Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()
Test: atest
Bug: 336802415
Flag: none
Change-Id: Ic3e189983b30ef60c5be61aaeefb1641a5651bf9
2024-04-25 13:54:43 +00:00
renovate[bot] 63bd8c3837 Update dependency io.nlopez.compose.rules:ktlint to v0.3.18 (#4326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 19:47:38 +08:00
Himanshu Gupta 42e3196011 Fix Accessbility bugs for PS.
This Cl contains:
1. Alt text for Lock/Unlock button as per state.
2. Alt text for Header when Locked.
3. Removing Header from accessibility target when unlocked.

Bug: 328024119
Test: Manual
Flag: NA
Change-Id: I791176afdae4fc6eb9387080aa036c1aed2a03a9
2024-04-25 11:57:53 +01:00
Alex Chau 191f4de96e Merge "Use BaseContainerInterface.getTaskDimension for windowSize in DesktopTaskView" into main 2024-04-25 10:09:58 +00:00
Alex Chau fa402d1da9 Avoid adding unnecessary topMargin to TaskThumbnails in DesktopTaskView
- TaskThumbnails in DesktopTaskView already take into account topMarign during onMeasure, we should avoid adding double margin
- mTaskThumbnailViewDeprecated's visibility is always GONE, so no need to set margin either

Fix: 336968808
Test: manual, image test to follow-up
Flag: ACONFIG com.android.window.flags.enable_desktop_windowing_mode DEVELOPMENT
Change-Id: I6a7cb128ead0b042974b95199ab720cafc3bcc18
2024-04-25 10:57:30 +01:00
Holly Jiuyu Sun 96d8b02cf9 Merge "[omni] Read haptic bit from AGSA." into main 2024-04-25 06:09:03 +00:00
Jagrut Desai 52442466e8 Merge "Promote TaplTestsPersistentTaskbar to Presubmit" into main 2024-04-25 00:55:07 +00:00
Treehugger Robot b1037fb3ca Merge "Put Receiver unregistration on Background thread." into main 2024-04-25 00:24:59 +00:00
Sunny Goyal fdae170684 Fixing robolectric tests not running on UI thread after changing looper mode
Bug: 297950111
Flag: None
Test: Presubmit
Change-Id: I9351474ba4d377e8e9539f9b3d22d5ba15ac6a44
2024-04-24 16:42:30 -07:00
Android Build Coastguard Worker daec8b8c29 Snap for 11760402 from 545fe2496b to 24Q3-release
Change-Id: Ib83c46af19b918a6f238b8626542f6f31c50bb96
2024-04-24 23:21:29 +00:00
Jagrut Desai 884dbdac37 Promote TaplTestsPersistentTaskbar to Presubmit
Test: Presubmit
Bug: 320490387
Flag: NONE
Change-Id: Ib09ac5d3e909864b9ef2c20a6dda79e4ed857227
2024-04-24 16:12:56 -07:00
Brandon Dayauon 98e150ba7a Make all apps text focusable by accessibility.
From b/330638194, the requirement is that
1. "all apps" can be focusable with talkback
2. "all apps" text is persisted when in accessibility mode.

bug:330638194
Test: manual video: https://drive.google.com/file/d/1QI_F4dUijfnU2ahE2Mg6yrmRJfOVyuVJ/view?usp=sharing
Flag: None

Change-Id: Ibabb92bd9d202221fdc9cfacb585755167898187
2024-04-24 16:10:38 -07:00
Brian Isganitis b9d8cdd95f [automerger skipped] Merge "Reset allAppsVisible if folding to phone upon recreateTaskbar." into 24D1-dev am: ac43b02549 -s ours
am skip reason: Merged-In I53c38c8b4df477191be3c21b7750c55a71c7336f with SHA-1 6d63e7796d is already in history

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

Change-Id: Ice27b566d85b85c98276050f5b4d99485e356938
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 22:21:30 +00:00
Brian Isganitis 708c2aae7e [automerger skipped] Reset allAppsVisible if folding to phone upon recreateTaskbar. am: 86b5755178 -s ours
am skip reason: Merged-In I53c38c8b4df477191be3c21b7750c55a71c7336f with SHA-1 6d63e7796d is already in history

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

Change-Id: Idc34f51ed0a94ef7e2022194681c1088fcc714ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 22:21:28 +00:00
Vadim Tryshev b63fd9b7e1 testDragToFolder is stable; promoting to presubmit
Bug: 187761685, 233075289
Test: presubmit
Flag: N/A
Change-Id: I303ea378cef3e05dfc19ce10c0fc3698a66ecf4c
2024-04-24 15:19:05 -07:00
Brian Isganitis 79d0569d49 Remove nav button controller dependency on TIS.
This refactor will make it easier to initialize TaskbarManager in a test
environment. Se go/taskbar-controller-tests for context.

Test: TaskbarNavButtonControllerTest
Bug: 230027385
Flag: N/A
Change-Id: I157649ff93b5e1751e6774e2cba2f76750792292
2024-04-24 18:17:00 -04:00
Vadim Tryshev b21fea471c Revert "Demote unstable test testUninstallFromAllApps from presubmit"
This reverts commit 7959a851b1.

Reason for revert: The test is stable now

Change-Id: Id40475cf64a2faddbdddfb8d3657a56c2e9c20dd
2024-04-24 22:13:12 +00:00
Brian Isganitis ac43b02549 Merge "Reset allAppsVisible if folding to phone upon recreateTaskbar." into 24D1-dev 2024-04-24 21:58:49 +00:00
Treehugger Robot f484664590 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-24 21:24:35 +00:00
Shamali Patwa 587c3ce049 Merge changes from topic "bottomsheet-with-insets" into main
* changes:
  Align the margins between handle, text, and container with main picker.
  Update the app-specific picker to have a container like the main picker
2024-04-24 21:16:28 +00:00
Shamali Patwa 2dfe2e3532 Merge "Limit number of items grouped on a row to 3." into main 2024-04-24 20:52:31 +00:00
Tracy Zhou a06b40c1c4 Merge "Revert "Hide task bar when folding before the new config renders the correct task bar"" into 24D1-dev am: efec76c861
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27085795

Change-Id: I84aa81f41b522ef8b2e2cb478ea63374bed6eccb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 20:26:38 +00:00
Stefan Andonian 1f9bb1372c Put Receiver unregistration on Background thread.
Bug: 336722585
Test: Verified manually this doesn't break the build.
Flag: NA
Change-Id: If083d5c4ca7749946b50f5d4b64a5ea87f5651ce
2024-04-24 20:25:17 +00:00
Tracy Zhou efec76c861 Merge "Revert "Hide task bar when folding before the new config renders the correct task bar"" into 24D1-dev 2024-04-24 20:09:38 +00:00
Shamali P d4997cf063 Align the margins between handle, text, and container with main picker.
Also aligns style to match main picker which doesn't set header style.

Requested by Jane / UX.

Bug: 328812171
Flag: N/A
Test: Manual - need to build a SS test for this opened - 336284716
Change-Id: I15fb82e807fdaa55bbfaaf73872273d1d6e84f97
2024-04-24 19:15:11 +00:00
Shamali P 9478a40898 Update the app-specific picker to have a container like the main picker
This is to ensure widgets are displayed with same container across the
two pickers.

* http://screencast/cast/NDYxNjMzNDExNjY1MTAwOHwwMTBlYzkwZC0wNg
* http://screencast/cast/NjY1NzAyNzY5NzgwMzI2NHwyYTg3ZWIzNS0wNw
* http://screencast/cast/NTYyMzcwMTc4NDQ5NDA4MHw3Y2JlZDEwZS04Mw

Bug: 328812171
Flag: N/A
Test: Manual - need to build a SS test for this opened - 336284716
Change-Id: I42b743b99cf6f47b7bade57de01b130df78ac1e9
2024-04-24 19:14:50 +00:00
Shamali P 3132947812 Limit number of items grouped on a row to 3.
With shortcuts this allows for more space to display two word title
below without ellipsizing it. (screen/4pJvcFFKJhooqZU)

Also let widget description show upto 3 lines to more of it to show
when stacked (screen/7xv8ng4H7iRLU79)

Bug: N/A
Flag: N/A
Test: Screenshot
Change-Id: Ia4e30f943f602b811e607d9cb52152f78cdc20e5
2024-04-24 19:14:23 +00:00
Sukesh Ram 545fe2496b Merge "Fix Taskbar Background Visibility After Entering IME then Overview." into 24D1-dev am: 31b7966a6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27070584

Change-Id: Id4f7eec58196caaf18b3b9bac4afaa097dbaa9f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 18:26:44 +00:00
Sukesh Ram 31b7966a6d Merge "Fix Taskbar Background Visibility After Entering IME then Overview." into 24D1-dev 2024-04-24 18:08:28 +00:00
Bill Yi e0d81cb351 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iec1f86e7d253eef8d040c6e257d1704b9b1dbc19
2024-04-24 09:50:58 -07:00
Holly Sun 430fdee946 [omni] Read haptic bit from AGSA.
Bug: 335475048
Flag: legacy OVERRIDE_LPNH_LPH_THRESHOLDS disabled
Test: manual
Change-Id: I8e4ebd9f7faecc236763db367be63cc47e7c0e31
2024-04-24 09:43:58 -07:00