Commit Graph
87505 Commits
Author SHA1 Message Date
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
SuperDragonXD d3bc221322 Clarify some strings 2024-08-20 06:36:27 +08: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
renovate[bot] 30f5fefffe Update plugin com.gradle.develocity to v3.18 (#4672)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 19:56:29 +08:00
SuperDragonXD 4c71a0ff84 Disallow disabling app results on app search algorithm 2024-08-19 05:42:36 +08:00
SuperDragonXD 97a62efbe7 Drawer search fixes
Fix #4662
2024-08-18 20:57:23 +08: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
SuperDragonXD 4ed6d80a63 Minor prefs UX improvements
This commit does the following:
* Remove spacer when announcement is inactive
* Improve drag/drop animation for recents quick action preferences
* Improve permission request UI for SearchSuggestionPreference
* Shorten wording of maximum entry count (fix #4547, fix #4548)
2024-08-18 20:01:58 +08:00
SuperDragonXD df1afab50e Rename toM3ColorScheme to toComposeColorScheme 2024-08-18 16:39:10 +08:00
SuperDragonXD 4c33d346df Improve jetpack compose edge-to-edge handling 2024-08-18 16:39:10 +08:00
MrSluffy a96634f975 Fix resetting layout when changing grid
- Closes : #4506
2024-08-18 13:35:18 +08:00
MrSluffy fcef4a6d3e Add option folder background opacity
- Closes : #4522
2024-08-18 13:29:55 +08:00
MrSluffy a8055385bb Fixed null object treference on A10
- Closes : #4553
2024-08-18 12:26:49 +08:00
MrSluffy 8ce6907285 Add toggle app icons shadow
- Closes : #4570
2024-08-18 12:19:38 +08:00
MrSluffy b4d45f7a7d Fix crashed on boot in A12
- Closes : #4661
2024-08-18 11:28:23 +08:00
MrSluffy 5f425944d8 Fix smartspacer padding
- Closes #3949
2024-08-18 11:03:45 +08:00
Lawnchair BotandCrowdin Bot c33d115d8c New Crowdin translations by GitHub Action (#4664)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-08-18 03:50:11 +03:30
Android Build Coastguard Worker 2278cb97c8 Snap for 12243189 from cafe06f63d to 24Q4-release
Change-Id: I523112a0c4f65a4df456950362ad03742c573040
2024-08-17 21:21:02 +00:00
Goooler d9b42bf09f Fix style 2024-08-17 23:30:49 +08:00
MrSluffy d20ef2a164 Allow handle READ_MEDIA_IMAGES permission 2024-08-17 10:53:37 +08: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
MrSluffy 8b035f70d2 Lower app drawer HD default value 2024-08-17 09:15:38 +08:00
MrSluffy 93cb189b40 Align widget padding to icons 2024-08-17 09:12:50 +08: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
Shamali Patwa accd0f68c8 Merge "Update the scale on corner radii on scaled image drawable." into main 2024-08-16 20:37:57 +00:00
mpodolian 9367722dbc Fixed issue when hotseat icons are not touchable
The issue existed because of taskbar insets where set to the full height
of bubble and task bars. Added check that only adds bars touch area if
the user is currently not on the launcher home screen. Commented failing
tests.

Bug: 358301278
Bug: 359277238
Flag: com.android.wm.shell.enable_bubble_bar
Test: Manual.
http://recall/-/gx8ASgewUeUS3QYohfrd1J/hcgYuHUJwfbhlvPRsvdWYf
The touch area is within the red rectangle.

Change-Id: I3c2ad3633a049972b93fe5c5e45efd557c220e1f
2024-08-16 13:00:03 -07:00
Luca Zuccarini 0ad76ac07d Merge "Move some Shell utils to the Shared package." into main 2024-08-16 16:32:37 +00:00
Pat Manning 0c6e17020d Merge "Show and hide taskbar tooltips immediately." into main 2024-08-16 14:45:10 +00:00
Helen Cheuk 76b2dad620 Merge "Fix stuck focus outline after returning to home" into main 2024-08-16 10:51:56 +00:00
Zongle Wang 6914b493c1 Fix edge-to-edge on three-button nav bar (#4659) 2024-08-16 18:47:01 +08:00
Treehugger Robot a21058eb88 Merge "Move TouchEventGenerator to multivalent" into main 2024-08-16 06:04:22 +00:00
Winson Chung 5db6d3dd8e Detach the nav bar from the app when going home
- Nothing currently detaches the nav bar from the app until the recents
  animation completes if onAnimationStart() happens after the end
  target is set

Flag: EXEMPT bugfix
Fixes: 343457097
Test: Artificially introduce delayed onRecentsAnimationStart and verify
      detachNavFromApp is called
Change-Id: I1ec0d8821d61f9fad9a811d6a12ce21e8417252f
2024-08-16 00:27:31 +00:00
Android Build Coastguard Worker 86e89f7c3b Snap for 12235414 from a1a6f2fef1 to 24Q4-release
Change-Id: Ib01b4d475e35ce2fe343e44011a8cfb8589a78f9
2024-08-15 23:20:49 +00:00
Brandon Dayauon 109f516e3e Merge "Add logs for when sectionInfo is computed or added for bugreport." into main 2024-08-15 23:10:18 +00:00
Andrew Cole a1a6f2fef1 Merge "IconCacheUpdateHandlerTest" into main 2024-08-15 20:23:02 +00:00