Commit Graph

83004 Commits

Author SHA1 Message Date
Treehugger Robot ae34d3c464 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: f82981703e -s ours
am skip reason: contains skip directive

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

Change-Id: Ifb9c284edddfbedd5e847cbe82b1cb96b36288c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-21 08:28:18 +00:00
Bill Yi a352bd13cd [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 918ad70120 -s ours
am skip reason: contains skip directive

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

Change-Id: I30e5f85a57ef90f3b8b1f58f8b16110f49bbb6ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-21 08:28:15 +00:00
Bill Yi 3210b83a7b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6fdcc2c9ae -s ours
am skip reason: contains skip directive

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

Change-Id: I1fd7ae63234799bd7fa7ba8cf7dd4a646cb3e779
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-21 08:28:07 +00:00
Treehugger Robot 2f79414090 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-21 07:56:17 +00:00
Treehugger Robot 0e5173361a Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-21 07:56:17 +00:00
Treehugger Robot f82981703e Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-08-21 07:54:24 +00:00
Treehugger Robot f4a0244648 Merge "Dismiss the setup wizard for both presubmit and post submit tests." into main 2024-08-21 06:08:11 +00:00
Anushree Ganjam 77aed7422a Dismiss the setup wizard for both presubmit and post submit tests.
In the past we have faced setup wizard not dismissed issue but eng prod
team has not fixed this issue. See b/309008042 for more details.

Bug: 359658695
Bug: 359658158
Bug: 356695093
Bug: 355718051
Flag: TEST_ONLY
Test: Manual
Change-Id: Ief020483fa167946193875f9d6c089d1cfd55124
2024-08-20 17:07:30 -07:00
Android Build Coastguard Worker 303c57f2d5 Snap for 12253386 from ab06202228 to 24Q4-release
Change-Id: Icd4113a9c49044753d13e7d351f174d1f94caf87
2024-08-20 23:21:12 +00:00
Tracy Zhou ee87fb8940 Merge "notifyTaskbarStatus in taskbar phone mode" into main 2024-08-20 22:38:06 +00:00
Shamali Patwa e4262972cc Merge changes from topic "sug-a11y" into main
* changes:
  Adjust tap target of the profile tabs in picker
  Focus on first item to match the behavior with widgets list
2024-08-20 21:50:44 +00:00
Mady Mellor c15fe691e7 Merge changes I964d213d,I95085fd1 into main
* changes:
  Make an input consumer for bubble bar
  Include bubbles in the dragged items of taskbar UI controller
2024-08-20 21:34:54 +00:00
Shuming Hao ee49cb2e26 Merge "Remove unused resources for split screen handle" into main 2024-08-20 21:16:16 +00:00
Treehugger Robot 85b03a9f78 Merge "Add logs to check if onLayout is ever not called." into main 2024-08-20 21:09:38 +00:00
Tracy Zhou a54e490eb1 notifyTaskbarStatus in taskbar phone mode
This fixes notification shade not being able to swipe up to the edge during animation because it listens to the task bar visibility signal

Fixes: 352365691
Test: https://b.corp.google.com/issues/352365691#comment28
Flag: com.android.wm.shell.enable_taskbar_on_phones
Change-Id: I10d6f49d087dd85b3a8bc5894f76f5d46ba4a865
2024-08-20 20:39:41 +00:00
Winson Chung ab06202228 Merge "1/ Remove unused legacy recents paths" into main 2024-08-20 20:02:50 +00:00
Alex Chau fdbfd3410b Clean-up debug logs
Fix: 336660988
Test: presubmit
Flag: TEST_ONLY
Change-Id: Ie66a34134881e4333f610d8979b2ac443d54a1cb
2024-08-20 19:01:19 +01:00
Treehugger Robot d064e58ff0 Merge "Handle multithreading in ActiveGestureLog" into main 2024-08-20 17:07:35 +00:00
Treehugger Robot 5f6f4b4342 Merge "Remove manual call to stash takbar from within onTaskbarIconLaunched." into main 2024-08-20 15:51:18 +00:00
Schneider Victor-tulias cb8b3f27d2 Handle multithreading in ActiveGestureLog
ArrayList.add is not thread-safe. Attempting rapid calls across threads is the only way for it to throw ArrayIndexOutOfBoundsException.

Flag: EXEMPT bug fix
Fixes: 360619084
Test: checked TIS logs
Change-Id: I66e5f2e13d5237717abcf42e56efa2942f317676
2024-08-20 11:10:09 -04:00
Liran Binyamin 873fbaaebf Merge "Check bubble count for initial state animation" into main 2024-08-20 14:08:14 +00:00
Treehugger Robot eda0a92d52 Merge "Read task size info from RecentsView directly" into main 2024-08-20 11:46:03 +00:00
Alex Chau 6d00b4b014 Read task size info from RecentsView directly
- Automatically determine the Overivew component to use the correct RecentsViewContainer
- Also added log on both pre-computed taskSize and newly calculated task size

Bug: 336660988
Test: presubmit
Flag: TEST_ONLY
Change-Id: Ic0adfba35af513e731007241416fc85760135f07
2024-08-20 10:56:52 +01:00
Sihua Ma 58e8573085 Migrate model tests to multivalent
Also migrating some other tests that have been verified

Test: SysUI studio
Test: atest NexusLauncherRoboTests
Flag: TEST_ONLY
Change-Id: I072201b8e7b98945ca88657fe813fef4727f16e4
2024-08-20 07:28:35 +00:00
Jeremy Sim bfb29a2e3f Merge "Add a contentDescription to splitscreen's first staged task" into main 2024-08-20 05:05:50 +00:00
Jeremy Sim 2e59268f3b Add a contentDescription to splitscreen's first staged task
Currently, when we stage the first app in a split, the floatingTaskView has no contentDescription and is announced by screen readers as "unlabeled".

This CL allows FloatingTaskView to copy a contentDescription from the underlying task or ItemInfo when it is created.

Also changes SplitConfigurationOptions#itemInfo to a private field with a public getter for mockito compatibility.

Fixes: 319783133
Test: Confirmed with TalkBack on Overview, contextual and Intent splits
Flag: EXEMPT bugfix
Change-Id: Ia5a95e403bfe8623e17d2ceac9073ef15c7bb476
2024-08-20 03:19:58 +00:00
Treehugger Robot e418ad51ce Merge "Add logs for getFocusedTaskHeightForTablet" into main 2024-08-20 01:19:29 +00:00
Sebastian Franco 8898fc4d09 Adding debug logs for Test event emitter
Bug: 352569050
Test: IntegrationReorderWidgetsTest
Flag: EXEMPT bugfix
Change-Id: Ib906f9a5ee74150aee331181c30145da9958baf2
2024-08-19 18:07:49 -07:00
Shamali P 8c965c67dc Adjust tap target of the profile tabs in picker
Uses insets on background drawable to maintain visual size.

Bug: 360245807
Test: Accessibility scanner
Flag: EXEMPT bugfix
Change-Id: I1fbc7c2c782a1e331dd1ba77b0a3bf8aad277792
2024-08-20 00:42:32 +00:00
Shamali P 64b0ad623a Focus on first item to match the behavior with widgets list
On opening suggestions, was focusing on entire right pane, instead,
focusing now on first item to match with the widget apps list below.

Bug: 359795405
Test: Talkback
Flag: EXEMPT bugfix
Change-Id: I4aaefc7642910b544f56522ac0b3cb10454626c7
2024-08-20 00:12:29 +00:00
Jon Miranda 173c218366 Remove manual call to stash takbar from within onTaskbarIconLaunched.
Taskbar does not know if the icon clicked will result in a translucent
activity. After this change, taskbar app stashing logic is now the same
between taskbar and home launches.

We should still stash after split screen, because in the case of
translucent activity the background becomes opaque.

Fixes: 354627538
Test: Pause app in hotseat, go to overview, launch paused app
      note that taskbar does not go away
Flag: EXEMPT bugfix
Change-Id: I3d3ed7a6ca10090c7207b45d0b272dc4fc928e32
2024-08-19 16:41:36 -07:00
Android Build Coastguard Worker 46a4784d45 Snap for 12247339 from bdd23572a7 to 24Q4-release
Change-Id: I471c15691f794f4bfad0c1ba6f4d9a1e94b38a4b
2024-08-19 23:21:25 +00:00
Federico Baron 89306a057d Merge "Add screenrecording for testOverview" into main 2024-08-19 23:14:53 +00:00
Jagrut Desai 0f59383c62 Do not register Taskbar System Action when device is in phone mode
Bug: 359880840
Test: Presubmit
Flag: NONE bug fixing for taskbar system action

Change-Id: Idf34bd677a96cf711e80df1561d49441824ae4ba
2024-08-19 16:00:26 -07:00
Mady Mellor 788a6ebb74 Make an input consumer for bubble bar
Instead of unstashing bubble bar in TaskbarUnstashInputConsumer
handle it in its own input consumer instead. This is a nicer
separation of concerns and simplifies the logic in both places.

Additionally, this fixes issues where swiping up the bubble bar
handle might initiate / be handled by gesture nav (or all apps) when
really any events originating on bubble UI should be managed by
bubbles instead.

Adds some mostly mock'd tests to check that the static method used
to indicate if bubbles should take the event or not works correctly.

Flag: com.android.wm.shell.enable_bubble_bar
Test: manual - test swipe up on bubble bar handle in an app
             - test swipe up on bubble bar on home - it should
               open & all apps / launcher transition shouldn't happen
             - longpress to drag bubbles around on home and overview,
               try the collapsed bar & individual bubbles in the
               expanded bar
             - test dragging on the bubble bar after it's revealed
               in an app
Test: atest BubbleBarInputConsumerTest
Bug: 345488529
Change-Id: I964d213d71de15e4350cff5202dfb9343de1af14
2024-08-19 15:26:37 -07:00
Bill Yi 918ad70120 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I723ac0d2235ee0f7d7228f8546293db7cf84e59b
2024-08-19 14:43:11 -07:00
Bill Yi f81a5125f8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9e1c3f5d14d60f9c8c37dfcb217ba39ba992ed14
2024-08-19 14:42:43 -07:00
Bill Yi 6fdcc2c9ae Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I05984a6e13a206231cf60be7e40776f35c603258
2024-08-19 14:41:39 -07:00
Bill Yi 5777ef5e21 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic8bc2a63d441cfa44b342e07c84c922e71de3bef
2024-08-19 14:41:14 -07:00
Winson Chung 69062b75b6 1/ Remove unused legacy recents paths
- We no longer support the legacy recents animation cancel path
  (it was already a no-op)
- Use the shell recents transition path instead of the legacy recents
  animation for remaining use cases

Flag: EXEMPT cleaning up unused code
Bug: 359608026
Test: Test both kb shortcut and desktop split invocation paths
Change-Id: I2726d52b3b4f3533afc4286b155c71eadcb57909
2024-08-19 20:28:51 +00:00
Alex Chau d326e17fe2 Add logs for getFocusedTaskHeightForTablet
Bug: 336660988
Bug: 360724626
Test: presubmit
Flag: TEST_ONLY
Change-Id: I67d4fc8211f24b77566bd24525d23054dfdded6e
2024-08-19 20:39:41 +01:00
Liran Binyamin bdd23572a7 Merge "Deflake BubbleViewScreenshotTest" into main 2024-08-19 19:19:03 +00:00
Shuming Hao f1d0df2867 Remove unused resources for split screen handle
Bug: 338079912
Test: Manually
Flag: EXEMPT cleanup
Change-Id: I09c02de82186f2080ce10ee75ecb75f9d7f8859a
2024-08-19 09:54:25 -07:00
Mady Mellor d22a0b84cb Include bubbles in the dragged items of taskbar UI controller
Flag: com.android.wm.shell.enable_bubble_bar
Test: manual - test dragging bubbles with the other CL
Bug: 345488529
Change-Id: I95085fd18f2710cd36a2d47640641da047aa48c7
2024-08-19 09:52:57 -07:00
fbaron 01fc975288 Add screenrecording for testOverview
Flag: EXEMPT TEST_ONLY
Bug: 355042336
Test: FallBackRecentsTest#testOverview
Change-Id: Ic512e3a1ce887f8d4e8158f6650d99dfb8121650
2024-08-19 09:47:07 -07:00
Liran Binyamin 63ef8cf1e7 Deflake BubbleViewScreenshotTest
Hiding the dot runs an animation which is flaky.
Instead the bubble is created with the suppress notification flag.

Flake: https://android-build.corp.google.com/abtd/run/L87700030005824088

ABTD 50x: https://android-build.corp.google.com/abtd/run/L03700030005851578

Flag: EXEMPT test only
Bug: 355454021
Test: atest BubbleViewScreenshotTest
Change-Id: I635eafb44a3e0ffb9b38fd83c8cc7b36822cce75
2024-08-18 08:39:30 -04:00
Android Build Coastguard Worker 2278cb97c8 Snap for 12243189 from cafe06f63d to 24Q4-release
Change-Id: I523112a0c4f65a4df456950362ad03742c573040
2024-08-17 21:21:02 +00:00
Android Build Coastguard Worker 9d52f5e860 Snap for 12241618 from accd0f68c8 to 24Q4-release
Change-Id: Ib63fffcab8b850f0705bd7f3ab9599d042e98c1f
2024-08-17 01:21:23 +00:00
Winson Chung cafe06f63d Merge "Detach the nav bar from the app when going home" into main 2024-08-16 22:42:44 +00:00
Mykola Podolian 3bae9ff981 Merge "Fixed issue when hotseat icons are not touchable" into main 2024-08-16 22:26:56 +00:00