Commit Graph

76729 Commits

Author SHA1 Message Date
Bill Yi 095af980d9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I64669eeaa0d95dfc357636ff5e5b358ea4b30350
2024-03-21 20:26:03 -07:00
Bill Yi 183d5d0982 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I09d1660ae6518ec97787e854db0298dbf22fa8d8
2024-03-21 20:25:26 -07:00
Treehugger Robot a53f3ceb43 Merge "Debugging Logs for TaplTestsTransientTaskbar#testSwipeToStashAndUnstash" into main 2024-03-22 02:09:34 +00:00
wilsonshih 7130116894 Do not report finish in mergeAnimation...
...if the handler don't know how to process the transition.
So the Transitions can pass that transition to next handler.

Flag: NONE
Bug: 328619216
Test: manual, use alt+tab to relaunch a task where it's activity
is destroyed.

Change-Id: Idf3f78103a56e91806ec2f6e364c6e8e7f4e205c
2024-03-22 01:14:37 +00:00
Sebastian Franco 5103c551d3 Move test failing on presubmit to postsubmit
Bug: 316910614
Test: testResizeWidget
Flag: NA
Change-Id: I3fdc1aaab6d6479b04575f9e1540a36d5d563184
2024-03-21 17:24:27 -07:00
Android Build Coastguard Worker a72f546582 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26566289'] into 24Q2-release.
Change-Id: Ie5b177724fd43041dbe6c7fcf4d74e14f9887d44
2024-03-21 23:54:06 +00:00
Schneider Victor-tulias b24d4d5a8f Update KQS task view layouts to new specs
The small size of the screenshots and make text look odd. Implementing new UI specs to improve this.

- Updated icon position and size
- Added some blur to the thumbnail

Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 328259439
Fixes: 328692456
Test: opened KQS in dark and light mode
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dba7cbae1adfde615060598a55b5ee0edfedef9f)
Merged-In: I2b20100ddeb562291edf5f0bacbce916002eee45
Change-Id: I2b20100ddeb562291edf5f0bacbce916002eee45
2024-03-21 23:50:53 +00:00
Sukesh Ram 547bb092b2 Debugging Logs for TaplOverviewIconTest#testOverviewActionsMenu
Add logging for TaplOverviewIconTest#testOverviewActionsMenu.

Flag: NONE
Test: Manually tested in pixel 7.
Bug: 326073471
Change-Id: I54cd62ea38c28230418031fc7edb4ade1198ca7a
2024-03-21 16:07:00 -07:00
Saumya Prakash c028cc7699 Fix incorrect fragment in gesture tutorial when rotating the screen
This change makes the current fragment load on configuration changes for
the gesture navigation tutorial. Previously, the old fragment would be recreated causing inconsistencies when rotating the screen. Not marking a flag as this change is for both the previous gesture tutorial and the current one.

Fix: 317162126
Test: Run the tutorial and rotate the screen after each step. The
tutorial should progress like normal.
Flag: N/A

Change-Id: I09c40006dd0ef6e9e78fa44e36962a678918420a
2024-03-21 22:27:15 +00:00
Tony Wickham 04905805cb [automerger skipped] Merge "Cancel animations after reading MotionPauseDetector#isPaused()" into 24D1-dev am: 50d2fad5f2 -s ours
am skip reason: Merged-In I9e0982c18cc5264a1fab53077ac551d2880a6eae with SHA-1 77802d6da4 is already in history

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

Change-Id: Ibb54906849353e987a6b59d1742843a673608616
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-21 22:22:41 +00:00
Tony Wickham 885fd59968 [automerger skipped] Cancel animations after reading MotionPauseDetector#isPaused() am: 3c58551e12 -s ours
am skip reason: Merged-In I9e0982c18cc5264a1fab53077ac551d2880a6eae with SHA-1 77802d6da4 is already in history

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

Change-Id: I434c26d48094e2b8e2a3caec365bfd2fc589cd92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-21 22:22:37 +00:00
Anushree Ganjam b29daf5722 Merge "Add FastScrollSectionInfo with "info icon" when work educard exists." into main 2024-03-21 22:14:26 +00:00
Tony Wickham 50d2fad5f2 Merge "Cancel animations after reading MotionPauseDetector#isPaused()" into 24D1-dev 2024-03-21 22:03:18 +00:00
Sukesh Ram b332ff54d1 Debugging Logs for TaplTestsTransientTaskbar#testSwipeToStashAndUnstash
Add logging for TaplTestsTransientTaskbar#testSwipeToStashAndUnstash.

Flag: NONE
Test: Manually tested in pixel 7.
Bug: 324940434
Change-Id: If20937ef63c07981ff708e7b50ee682201dcedfc
2024-03-21 15:00:54 -07:00
Sihua Ma 9b1a028bd4 Revert^2 "Move FastBitmapDrawableTest to Robolectric"
393477ca54

Change-Id: I051d2456c6930336c92ffe4c6101e6dd77a502c0
2024-03-21 21:50:20 +00:00
Sihua Ma 444b8e6d0f Revert^2 "Include AndroidX test rules in Robolectric tests"
c041b5c625

Change-Id: I0b93613ff8544cbe2a0a108da53bc085a532b074
2024-03-21 21:50:20 +00:00
Sukesh Ram 541c5d272d Revert "Call setOverviewDragState() whenever taskbar is recreated"
This reverts commit 0adca26744.

Reason for revert: potential cause of presubmit failures

Change-Id: I102d92f86afc7fa21c806d3cf1642e343dc91d45
2024-03-21 21:25:30 +00:00
Vadim Tryshev 2b9047a931 Merge "Removing SecondaryDisplayLauncherTest that are all @Ignored" into main 2024-03-21 21:06:42 +00:00
Andy Wickham 88972311a2 Consolidate settings for Assist.
Now there is just 1 toggle for all entrypoints.

Bug: 324036308
Test: Manual and unit tests
Flag: NA
Change-Id: Id4463345c44fa4daba4eac67b5ad00aff7f3a606
Merged-In: Id4463345c44fa4daba4eac67b5ad00aff7f3a606
2024-03-21 20:27:54 +00:00
Priyanka Advani 34c6253778 Merge changes from topic "revert-26605558-robolectric-enable-androidx-rules-OWMAZEJUYZ" into main
* changes:
  Revert "Include AndroidX test rules in Robolectric tests"
  Revert "Move FastBitmapDrawableTest to Robolectric"
2024-03-21 20:08:08 +00:00
Anushree Ganjam 6dadf21a7f Add FastScrollSectionInfo with "info icon" when work educard exists.
Before: https://b.corp.google.com/issues/325490294#comment1

After: https://b.corp.google.com/issues/325490294#comment5

Bug: 325490294
Test: Manual
Flag: NA
Change-Id: I557971cddd5829f46697004159d62a9343e75f69
2024-03-21 12:29:47 -07:00
Priyanka Advani c041b5c625 Revert "Include AndroidX test rules in Robolectric tests"
Revert submission 26605558-robolectric-enable-androidx-rules

Reason for revert: Droid-monitor created revert due to build breakages in b/330752689.

Reverted changes: /q/submissionid:26605558-robolectric-enable-androidx-rules

Change-Id: I7737d713be09faff78327df80232d084e836b500
2024-03-21 19:07:50 +00:00
Priyanka Advani 393477ca54 Revert "Move FastBitmapDrawableTest to Robolectric"
Revert submission 26605558-robolectric-enable-androidx-rules

Reason for revert: Droid-monitor created revert due to build breakages in b/330752689.

Reverted changes: /q/submissionid:26605558-robolectric-enable-androidx-rules

Change-Id: I7cb746baffc9bec3315dd324173fd9bde100e4cf
2024-03-21 19:07:50 +00:00
Holly Sun 44d2299ee7 [PS] Use onSurface for tint.
Screenshot:
https://screenshot.googleplex.com/6WSZJGdT9hY2Ww5
https://screenshot.googleplex.com/AiTX4JJjfRyfvPc

Bug: 325068252
Test: manual
Flag: aconfig enable_private_space trunkfood
Change-Id: I36bcf1156149630450ca3dfc063984e3deb6851f
2024-03-21 11:52:26 -07:00
Vadim Tryshev 9ae560d247 Removing SecondaryDisplayLauncherTest that are all @Ignored
Bug: 241166788
Test: presubmit
Flag: N/A
Change-Id: I2288bb0178b86517c44f5c6b572eb63236bb2986
2024-03-21 11:39:12 -07:00
Brandon Dayauon 65e373912b Remove applyBackground param in decorator
- This applyBackground() internally calls setBackground which is something that should not be
done in onDraw. Not needed anymore since privateprofile doesn't use the recyclerViewAnimationController anymore.
If it is still needed, when applyingBackground it should be done probably during onBind().
- When setBackground() is called during onDraw() there's a cyclic situation that ends up blocking the thread
and thats why you cannot see the privatespace be deleted.

bug: 329317904
Test: manual:
before: https://drive.google.com/file/d/1vAaA_juK8Bg2QB3oHhRmtiZxcHzEHHP1/view?usp=sharing
after: https://drive.google.com/file/d/1vAR6Okw17uskruHre8RrhsKa7-GiqE6k/view?usp=sharing
Flag: None
Change-Id: I06d31abb31496994d12b96fe6c0ca8cb26c93f69
2024-03-21 11:24:44 -07:00
Stefan Andonian 83578d13fa Explicitly set the Hotseat to not long or short clickable.
Bug: 318316718
Test: Verified this is no longer selected by switch access.
Flag: NA
Change-Id: I45a815ab816f9835e297d06eb1f5d0edcb29d837
2024-03-21 17:54:41 +00:00
Stefan Andonian e38a890b20 Make "Undo" button not be long-clickable explicitly.
This is causing accessibility bot issues for the switch access
feature.

Bug: 319369664
Flag: NA
Test: Verified via go/web-hv that this is no longer long-clickable.
Change-Id: I8a90d7093b60ddecdecc3374a34ce6828c1b7468
2024-03-21 17:46:55 +00:00
Ats Jenk ee7a069467 Merge "Set bubble bar alpha to 0 and collapse if it bubbles are hidden" into main 2024-03-21 17:15:45 +00:00
Sihua Ma f62002bb7d Merge "Include AndroidX test rules in Robolectric tests" into main 2024-03-21 17:06:45 +00:00
Sihua Ma cc54051d12 Merge "Move FastBitmapDrawableTest to Robolectric" into main 2024-03-21 17:06:45 +00:00
Federico Baron 09ec3e2623 Merge "Add screenrecord for simple reorder widgets test" into main 2024-03-21 16:12:31 +00:00
Treehugger Robot 3323296f0a Merge "Remove DesktopTaskView.isDesktopModeSupported" into main 2024-03-21 15:46:03 +00:00
Alex Chau 59781a7d79 Remove DesktopTaskView.isDesktopModeSupported
- Use Flags.eanbleDesktopWindowingMode directly
- Also clean up unnecessary and improper flag usage

Bug: 309008406
Flag: ACONFIG com.android.window.flags.enable_desktop_windowing_mode DEVELOPMENT
Test: presubmit
Change-Id: I86ce317ce577f279d2ce819d6dc1738204c2631e
2024-03-21 14:05:27 +00:00
Helen Cheuk 8944afda32 Merge "Disable default focus highlight for Folder to fix the incorrect border issue" into main 2024-03-21 12:30:46 +00:00
Helen Cheuk 8896580b58 Merge "Change single stroke focus outline to double stroke" into main 2024-03-21 12:09:19 +00:00
Andreas Agvard 0e9901ebc0 [automerger skipped] Merge "Adds new AssistStateManager settings" into 24D1-dev am: eccda6f363 -s ours
am skip reason: Merged-In Ie5cbae55452cf283a0ffde18e5237cebae6ee40e with SHA-1 d78d9bb5e2 is already in history

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

Change-Id: Ib17e9ead4f0b9d79a0ed1b787032ec55754b155d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-21 11:11:01 +00:00
Andreas Agvard 3e10a0aac2 [automerger skipped] Adds new AssistStateManager settings am: efbd882a99 -s ours
am skip reason: Merged-In Ie5cbae55452cf283a0ffde18e5237cebae6ee40e with SHA-1 d78d9bb5e2 is already in history

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

Change-Id: I2e374249dd0440f0b08e554b8657a21766999949
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-21 11:10:57 +00:00
Andreas Agvard eccda6f363 Merge "Adds new AssistStateManager settings" into 24D1-dev 2024-03-21 10:55:01 +00:00
Treehugger Robot 362050932e Merge "Making some classess accessible in multivalent tests" into main 2024-03-21 10:38:08 +00:00
Tony Wickham 3c58551e12 Cancel animations after reading MotionPauseDetector#isPaused()
Otherwise, it clears MotionPauseDetector so isPaused returns false.

Fixes: 330186943
Flag: none
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:77802d6da48320e5f5cf5c420fe31a1aa14e478e)
Merged-In: I9e0982c18cc5264a1fab53077ac551d2880a6eae
Change-Id: I9e0982c18cc5264a1fab53077ac551d2880a6eae
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-03-21 07:57:56 +00:00
Fengjiang Li 76f148b919 Merge "Revert accidental removal of PURPOSE_BUGFIX of flag enable_add_app_widget_via_config_activity_v2" into main 2024-03-21 03:19:55 +00:00
Vinit Nayak 05c6f5b6ae Merge "Call setOverviewDragState() whenever taskbar is recreated" into 24D1-dev am: 41e0e65bd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26648914

Change-Id: I49eb26300d018b0142a1626001c5eb3cd926ef5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-21 03:08:19 +00:00
Shamali Patwa f8cd95314c Merge "Update the available size for suggestions in small landscape heights." into main 2024-03-21 02:55:58 +00:00
Vinit Nayak 41e0e65bd4 Merge "Call setOverviewDragState() whenever taskbar is recreated" into 24D1-dev 2024-03-21 02:43:11 +00:00
Treehugger Robot 6a8662c560 Merge "Increase IME switcher Left Margins to meet spec" into main 2024-03-21 02:17:05 +00:00
Sukesh Ram aad306396e Increase IME switcher Left Margins to meet spec
Increase IME switcher Left Margins to meet specifications for taskbar. Result: https://screenshot.googleplex.com/5Ab33jnZiDY5tqm

Flag: NONE
Test: Manually tested in Felix Landscape mode.
Bug: 324269623
Change-Id: Ife3714c4d22d96851618a88ed217009c4f9c3929
2024-03-21 01:04:28 +00:00
Jeremy Sim 7675cc3c91 [automerger skipped] Prevent Save App Pair from showing up on 3p launcher am: c22b39a319 -s ours
am skip reason: Merged-In I60d6fd3b3eb39921edafb12faace743d16de270f with SHA-1 2b2d8cc90b is already in history

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

Change-Id: I98469def8cbbe4bfe662fdf1a8022b7133109138
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-21 00:35:22 +00:00
Jeremy Sim c22b39a319 Prevent Save App Pair from showing up on 3p launcher
This CL adds a check so that app pairs can't be saved on 3p launchers. This affects the Overview icon dropdown menu and the Overview Actions Bar.

Fixes: 326155701
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD
Test: Manual, option does not show up when Nova Launcher is set as default home app, and shows up again for Pixel Launcher.
Change-Id: I60d6fd3b3eb39921edafb12faace743d16de270f
(cherry picked from commit 2b2d8cc90b)
Merged-In: I60d6fd3b3eb39921edafb12faace743d16de270f
2024-03-20 23:35:29 +00:00
Sihua Ma c53a0bc25b Fix out-of-sync updates during grid change am: f0518bb89f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26645777

Change-Id: Icaaa311e42cdddd44aec6d50fdce847a87dc2b5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-20 22:20:19 +00:00