Commit Graph
87505 Commits
Author SHA1 Message Date
Charlie Anderson ca261fda97 Merge "Do not set click listener for CellLayout during accessible drag, to prevent double tap to activate message." into main 2024-02-22 20:26:14 +00:00
Charlie Anderson a88605df5e Merge "Add additional debug logging for when Launcher cannot find a valid activity to launch an app with." into main 2024-02-22 19:20:47 +00:00
Vinit Nayak 56392d2f65 Merge "Move updating layoutParams outside of dispatchDraw()" into main 2024-02-22 19:02:32 +00:00
Sunny Goyal 72a74669e7 Adding support for async view inflation
Bug: 318539160
Test: atest AsyncBindingTest; atest ItemInflaterTest
Flag: aconfig enable_workspace_inflation DEVELOPMENT
Change-Id: I77a373db7a5805f68f4b8cbfa9b586b5674252de
2024-02-22 10:58:48 -08:00
Saumya Prakash 502f7b94f0 Merge "Increase taskbar edu Done button size to meet accessibility requirements." into main 2024-02-22 18:40:35 +00:00
Sebastián Franco 6a55a7b4b8 Merge "Remove the initialize method from setUp since is now on being called on the super method." into main 2024-02-22 18:38:50 +00:00
Jagrut Desai 08a4e68bae Merge "Handle SystemGestureRegion in TaskbarDragLayer" into main 2024-02-22 17:55:28 +00:00
Rohit Goyal de66327e47 Merge "Bugfix: Ensure archived app icons persist when app main activity name changes post unarchival." into main 2024-02-22 17:52:02 +00:00
Alex Chau acf37d29db In 3-button landscape/seascape, override nav insets to always present
- In 3-button landscape/seascape, Launcher should always have nav insets regardless if it's initiated from fullscreen apps
- This avoid inset to change mid-way during app->overview transition via recents button
- This bug doesn't happen in portrait because bottomNav is always overriden in WindowManagerProxy, we're now applying the same fix in landscape/seascape

Test: Recents button from fullscreen app in 3-button landscape/seascape, and launch adjacent fullscreen app in Overview
Test: Homescreen and widget picker in 3-button landscape/seascape
Fix: 316085856
Flag: None
Change-Id: Ia4ae7948fe794b71c49f89c43dd2d1d14031abb9
2024-02-22 17:35:22 +00:00
Charlie Anderson 79b8ed0b9e Do not set click listener for CellLayout during accessible drag, to prevent double tap to activate message.
This is because there is no click action for CellLayout during accessible drag, as only the individual cells need to be clickable.

Bug: 318312177
Test: locally
Flag: N/A
Change-Id: I26f18a948b77a0ee889dfafa626b9176d8481aeb
2024-02-22 12:27:52 -05:00
Sebastián Franco 747ee169ed Merge "Investigating test" into main 2024-02-22 17:25:15 +00:00
Orhan Uysal 6d73b0a201 Make taskbar visibilty change only in desktop.
Make the DesktopVisibilityController not change the taskbar visibility
when there are no freeform tasks visible.

Test: Go from freeform to fullscreen, observe taskbar doesn't pop up
Bug: 323129412
Flag: ACONFIG com.android.wm.shell.enable_desktop_windowing DEVELOPMENT
Change-Id: I67f246cfc2ddc198326c093fd0af83886de8b0a9
2024-02-22 17:13:42 +00:00
Eghosa Ewansiha-Vlachavas 80232ea229 [2/n] Replace read-only desktop windowing flag with runtime flag
Replace use of `enable_desktop_windowing` flag with
`enable_desktop_windowing_mode` flag

Flag: NONE
Bug: 304778354
Fixes: 326060018
Test: build & `adb shell device_config put lse_desktop_experience
com.android.window.flags.enable_desktop_windowing_mode true && adb
reboot` desktop windowing mode should be enabled.

Change-Id: Idc44e2b7a8b738f15f8d3812a0c4fc1a4b4861c1
2024-02-22 17:02:45 +00:00
Jagrut Desai 8715639c69 Merge "Fix CellContentDimensionsTest" into main 2024-02-22 15:55:48 +00:00
Jagrut Desai 2a0c1e4f61 Merge "Adjusting weight of taskbar all apps icon or action key" into main 2024-02-22 15:55:33 +00:00
Charlie Anderson d11c24e750 Add additional debug logging for when Launcher cannot find a valid activity to launch an app with.
Test: local
Flag: N/A
Bug: 298342929
Change-Id: I90582de2dd52a82648f31f894fffce71c146376a
2024-02-22 10:09:24 -05:00
fbaron 1dcf5b2ef7 Update renamed util function M3HCTToColor in launcher code
Bug: 288120001
Test: none
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:911be164b34224b503fbdd230beddf5046d0dabf)
Merged-In: If4c6783472d7fa05a1162e2f176a613d28f7bec3
Change-Id: If4c6783472d7fa05a1162e2f176a613d28f7bec3
2024-02-22 14:48:09 +00:00
Sam Cackett becd601c68 Merge "Translate IconMenu to top / left of thumbnail view" into main 2024-02-22 08:59:42 +00:00
Stefan Andonian 21ab3b979b Remove Unused parts of LauncherPrefs causing cyclical dependency.
This "migration" feature was planned as an effort to reduce latency upon
startup. That being said, now that there is a loading screen being added
to pixel startup time, it doesn't make sense to perform a risky data
migration just to save a 100ms or so of startup time. Therefore, I am
removing this code as a clean up effort to make LauncherPrefs simpler.
Also, there was a cyclical dependency introduced in b/324670265 that
makes this cleanup effort especially worthwhile, as it resolves a bug
for other developers.

Bug: 324670265
Test: Installed this on a device and tested that nothing was broken.
Flag: NA
Change-Id: I81df710057d80fbd071bc26a53cb191d453e7dee
2024-02-22 05:50:15 +00:00
bvineeth 4d38783106 Fix taskbar_expand/collapse jank monitor
Issue : Currently opposite jank is being reported taskbar expand and taskbar collapse


Test: Checked the trace
Fixes: b/326333977
Flag: None
Change-Id: Ib5adeb33506717ee28d669c5d46557087ebf7e60
2024-02-22 04:12:45 +00:00
Treehugger Robot a5e8751f0d Merge "Merging multiple implementations of CancellableTask" into main 2024-02-22 02:54:30 +00:00
renovate[bot] 9d70a50f67 Update dependency composeOptions to v1.5.10 (#4088)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 10:13:11 +08:00
renovate[bot] b64a76f673 Update dependency androidx.test.uiautomator:uiautomator to v2.3.0 (#4089)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 10:12:58 +08:00
Sebastian Franco 5ab4a49594 Investigating test
Flag: NA
Bug: 322823478
Test: waiting for falkes to see results
Change-Id: Ifc24d4681f71d3e89943b312044012443e787d29
2024-02-21 17:31:42 -08:00
Sebastian Franco 51231ee5c2 Remove the initialize method from setUp since is now on being called on the super method.
Bug: 324261526
Test: most Tapl test
Flag: NA
Change-Id: Icbf9883613069101a3c8428e8e3b02b1eb01dcd0
2024-02-21 17:24:12 -08:00
Vinit Nayak 3a8d4f518d Move updating layoutParams outside of dispatchDraw()
* LayoutParams are more single states and don't need to
be updated on each cycle of drawing
* Curious if this might also fix b/323128163

Fixes: 323128163
Test: Used logging, no more infinite calls to dispatchDraw()
Flag: None
Change-Id: Ic7211b26a7365e3fbbeef3768e4d6d9254e14ee7
2024-02-21 17:01:28 -08:00
Bill Yi e599d65d99 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2158617abd9cc208726b0d22a5ef177c930f164c
2024-02-21 16:47:49 -08:00
Bill Yi 7b7cc7bd2e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I744b4a25d6da2f0226c0cc4be308664e2c9dc4a6
2024-02-21 16:47:23 -08:00
Bill Yi 50923131e3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia3d3dd28d407fb8f9f4947acc40028863faa78c9
2024-02-21 16:46:54 -08:00
Bill Yi 6b59916978 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib559702a688a9ec6b776196b67f0c2efc9332c89
2024-02-21 16:46:31 -08:00
Bill Yi d7c8a65c7d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3d8660dd1a5ce67718f8b2643212ddbc254e4d13
2024-02-21 16:46:08 -08:00
Bill Yi def24aa88d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I543d305f3f7587d6459fb1a926872bea5cf6ab1d
2024-02-21 16:45:43 -08:00
Android Build Coastguard Worker 5c736f8c15 Snap for 11479750 from 1c6c7346db to 24Q3-release
Change-Id: I983e0f43e5c8c2f469fe746b51483f523ff805c2
2024-02-22 00:21:47 +00:00
Android Build Coastguard Worker 405c77cb44 Snap for 11479893 from b03d58ff12 to 24Q2-release
Change-Id: I1933980491cef98646e8869487c9261c7e93d944
2024-02-22 00:21:41 +00:00
Vadim Tryshev 809869c0da Merge "Demote unstable test testQuickSwitchFromApp from presubmit" into main 2024-02-21 23:33:28 +00:00
helencheuk 00ddb5e3a9 Stash taskbar when software keyboard is docked
Stash taskbar when
1) Software keybaord is docked
2) Input toolbar is placed at the taskbar area (stash so toolbar and taskbar would not overlap)

Testing result:
https://drive.google.com/file/d/1NMDexHl0FgyHFaOUh_GSEEUU2k08STJH/view?usp=sharing

Bug: 317251202
Test: TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet
Flag: N/A

Change-Id: I90662bc6e68f644e919f5c702059476b02519ed6
2024-02-21 23:03:03 +00:00
Saumya Prakash 0e126d5550 Increase taskbar edu Done button size to meet accessibility requirements.
Touch targets have to meet a minimum of 48 dp to meet accessibility
requirements. The Done button in taskbar education was previously too short.

Fixes: 320600718
Test: Manual
Flag: N/A
Change-Id: I5fae302b82585e9793d7ede42dbcc6e6395254da
2024-02-21 22:21:49 +00:00
Vadim Tryshev b4af57a9a6 Merge "Demote unstable test testSessionUpdate_updates_pending_apps from presubmit" into main 2024-02-21 21:46:42 +00:00
Jagrut Desai 4ff2e24704 Adjusting weight of taskbar all apps icon or action key
Test: Presubmit
Bug: 320478286
Bug: 325529964
Flag: NONE
Change-Id: I0f9a8d340638464cf3a79279b3cbb27d60fcf93d
2024-02-21 13:37:10 -08:00
Treehugger Robot b03d58ff12 Merge "Demote unstable test testUninstallFromAllApps from presubmit" into main 2024-02-21 21:35:07 +00:00
Sebastián Franco 1c6c7346db Merge "Make sure to make WidgetResizeFrame is not accessible" into main 2024-02-21 21:03:02 +00:00
Jagrut Desai e5d9f5e436 Fix CellContentDimensionsTest
- due to comment font scale issue we were failing. applying fontscale to 1.0f

Test: Presubmit
Bug: 324910285
Flag: NONE
Change-Id: Id2bd12f5b8bb1249e6adba647fceaa0b581bc897
2024-02-21 13:02:30 -08:00
Andrew Cole ee8d92a943 Merge "Folder Previews Show Grey Pending Icon" into main 2024-02-21 20:37:17 +00:00
Jagrut Desai c8a5176bfc Handle SystemGestureRegion in TaskbarDragLayer
- Currently user can tap on taskbar icons when in persitent mode when a popup is visible on screen.
we are making it so that touch event is not performed at view level and get dismissed before at drag layer.

Test: Presubmit, Manual
Bug: 320229858
Flag: NONE
Change-Id: I9a76faa0e282317d808ba0f55b49741dc7b750a3
2024-02-21 11:35:29 -08:00
Vadim Tryshev 7959a851b1 Demote unstable test testUninstallFromAllApps from presubmit
Bug: 326130648
Test: presubmit
Flag: N/A
Change-Id: I65aca445568b1ce73a800ee30c1763b23312b08f
2024-02-21 11:05:03 -08:00
Vadim Tryshev 67c85d8fc2 Demote unstable test testQuickSwitchFromApp from presubmit
Bug: 325659406
Test: presubmit
Flag: N/A
Change-Id: I997fb09c93400a706c08235ad6d1a6dd910398fd
2024-02-21 10:49:06 -08:00
Vadim Tryshev 4bc503ca6d Demote unstable test testSessionUpdate_updates_pending_apps from presubmit
Bug: 325283522
Test: presubmit
Flag: N/A
Change-Id: I4a75f18c2d178508cb98b4c2e7decc5cca7f6562
2024-02-21 10:39:08 -08:00
Brandon Dayauon 0fa9113028 Merge "Add home settings toggle featureflag for enablingTwoLineText" into main 2024-02-21 18:14:21 +00:00
Luca Zuccarini df33f361b0 Move remote animation utils to the Animation lib.
This is so that they can be used within the Animation lib itself, while
remaining available to all current users, since the SysUI shared lib
also depends on Animation lib.

Bug: 323863002
Flag: NA
Test: still builds, tests still pass, manually tested areas that depend
on these utils.

Change-Id: I10de17b51c05054efe957ed1073a1cbe6baf05c5
2024-02-21 15:03:51 +00:00
Rohit Goyal b6b27a497e Bugfix: Ensure archived app icons persist when app main activity name changes post unarchival.
* In case app main activity changes, archived app icon should not disappear.
* We need to make sure the corresponding new intent is applied correctly to the app icon on activity name change.

Test: verified bugfix locally.
Bug: 324545643
Bug: 325458020
Flag: ACONFIG com.android.launcher3.enable_support_for_archiving DEVELOPMENT
Change-Id: I0134e57e3536d05fc96c8cfcf5f57fd8f4df5f1f
2024-02-21 13:12:02 +00:00