summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)Author
2025-04-22[res] Fix a crash for the apps doing a bad thing Yurii Zubrytskyi
Some apps started crashing after the CL that changed one of the parameters of ZipAssetsProvider constructor from time_t to timespec. Apparently they dlsym() and call that constructor, even when it's not a public or somehow supported API. This CL puts one back for them so they at least don't stop working all at once, and instead it just logs an error so the developers could at least know they're doing a BAD THING. + fix the timespec operator== to actually compare nanoseconds. Bug: 406670650 Test: run the app and ensure it launches Flag: EXEMPT bugfix - a dummy symbol that's unflaggable (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:481f13eaff6a88cbe9b8b9da65f52bc26ba440bd) Merged-In: I85e03985d7303f4e0f943441da57cf0f50230db6 Change-Id: I85e03985d7303f4e0f943441da57cf0f50230db6
2025-04-16Revert "Update SCVH InputTransferToken when available" Android Culprit Assistant
This revert was created by Android Culprit Assistant. The culprit was identified in the following culprit search session (http://go/aca-get/78a373af-3d5f-4015-a25e-bcb24843f6a9). Bug: 405254118 Signed-off-by: boq-android-culprit-assistant@system.gserviceaccount.com (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c77468cfe08273d1d568e71e17b5fc4e20b8f6ff) Merged-In: Id09afebdfdb16d58c17da55c070a023e9aca9a1a Change-Id: Id09afebdfdb16d58c17da55c070a023e9aca9a1a
2025-04-02Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Bug: 406841318 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6c7fbb50873b0be2d063900750e9b66a644dc62a) Merged-In: I231edec263f7a417bf1965f617a32b9f76dde3fb Change-Id: I231edec263f7a417bf1965f617a32b9f76dde3fb
2025-03-24Merge "Clean up unnecessary bubble task bounds update" into main Liran Binyamin
2025-03-24Merge "Fix sysui studio build" into main Johannes Gallmann
2025-03-24Merge "Import translations. DO NOT MERGE ANYWHERE" into main Bill Yi
2025-03-24Merge "Move SimulatedConnectedDisplayTestRule from WM lib to ↵ Steven Ng
platform_testing" into main
2025-03-24Merge "[res] A bit more efficient locale collection" into main Yurii Zubrytskyi
2025-03-24Merge "Make `splitBounds` of `forSplitTasks` nullable" into main Min Chen
2025-03-24Fix sysui studio build Johannes Gallmann
Bug: 405985610 Test: test_gradle_build.sh Flag: EXEMPT sysui-studio fix Change-Id: Ic2a65bab9494846336e7a33a6e33a398f0a75e62
2025-03-24Merge "Only add Dim layers to transaction if not in 50/50 split" into main Vinit Nayak
2025-03-24Merge "Use calculator instead of Gmail in UnminimizeAppFromTaskbar" into main Treehugger Robot
2025-03-24Merge "Remove unused dependency" into main Treehugger Robot
2025-03-24Merge "Update expanded view drop target width" into main Liran Binyamin
2025-03-24Remove unused dependency Pablo Gamito
Bug: 405330360 Flag: TEST_ONLY Change-Id: I42234f2214aca8e224511d902cf3e01e7c348b55
2025-03-24Merge "Remove DefaultUITraceListener from SplitScreen flicker service tests" ↵ Pablo Gamito
into main
2025-03-24Use calculator instead of Gmail in UnminimizeAppFromTaskbar Gustav Sennton
When launching GMail we expect to open the Activity ConversationListActivityGmail, but gmail might enter another Activity before that if for example the test device has no logged-in account. Instead use the calculator that doesn't have log-in screen. Bug: 399420941 Test: atest PlatformScenarioTests:UnminimizeAppFromTaskbarTest Flag: EXEMPT - test fix Change-Id: I7c24d552ad19ba662db950f1bd9596eb4f270760
2025-03-24Merge "Use crop method that allows invalid rect" into main Riddle Hsu
2025-03-23Merge "Add dump for FocusTransitionObserver" into main Treehugger Robot
2025-03-23Merge "Revert^2 "Remove DepartingAnimationTarget from BackMotionEvent"" into ↵ Wei Sheng Shih
main
2025-03-24Use crop method that allows invalid rect Riddle Hsu
Restore to be the same as legacy WindowAnimationSpec that uses setWindowCrop as well. In case the animation's transform.getClipRect causes to an invalid rect. And setCrop will throw exception for that. But it should be fine to set invalid rect as clearing crop. Bug: 400316924 Flag: EXEMPT bugfix Test: Use makeClipRevealAnimation with invalid rect to launch app Change-Id: I8987d699f79af50f70cee545f90efb37c9f3b268
2025-03-23Merge "Ensure external display to be freeform display" into main Treehugger Robot
2025-03-24Add dump for FocusTransitionObserver Daichi Hirono
Bug: 405229639 Flag: com.android.window.flags.enable_display_focus_in_shell_transitions Test: None Change-Id: I59436ecea041dfdae46fbe75db1dacd7613377c0
2025-03-23Merge "Desks: Add multi-user support" into main Treehugger Robot
2025-03-23Make `splitBounds` of `forSplitTasks` nullable minch
We are allowing pass null `splitBounds` while building a `GroupedTaskInfo` for split, see ag/32400282. Bug: 401582344 Flag: EXEMPT refactor Test: m Change-Id: Ic13b7667d1b38506ba50aa9113a3954f1dcead30
2025-03-22Merge "Format Flicker test bp file" into main Treehugger Robot
2025-03-21Merge "Fix failing freeform TDA unit tests in enter-desktop-by-default ↵ Treehugger Robot
devices" into main
2025-03-22Fix failing freeform TDA unit tests in enter-desktop-by-default devices Jorge Gil
Devices with the enter_desktop_by_default config enabled were failing these tests because the tests expects that config to be disabled but was not explicitly setting up the test to disable it. Flag: com.android.window.flags.enter_desktop_by_default_on_freeform_displays Fix: 404227769 Test: atest DesktopTasksControllerTest Change-Id: Ia5e6e213b08853e7e15ba943beb26f47806c5e8e
2025-03-22Desks: Add multi-user support Jorge Gil
Implements full multi-user support when multiple-desks are enabled. Prior to this change, desk roots where only created for the current user, and attempts to create them for another user would fail, resulting in a persisted desk not being restored on reboot, or a default desk not being created at all. This change introduces a |userId| argument to DesksOrganizer's create/remove functions, to allow implementations to manage roots per-user. Since root-tasks are user-agnostic in WMCore, RootTasksDesksOrganizer doesn't need to create different roots for N desks times M users, and can instead reuse one root for one desk of each user. DeskRoot#users is added to keep track of which users are already using a given root to known when a new root actually needs to be created. Flag: com.android.window.flags.enable_multiple_desktops_backend Bug: 403685486 Bug: 400984250 Bug: 399394443 Test: create multiple desks, switch users and create multiple desks - verify roots are reused when possible and new roots are created when needed. Also verify removing a user's desk does not remove the root unless it is not used by any other users. Test: create multiple desks under multiple users, reboot - verify DesktopRepository restores all user desktops Test: In an HSUM build, create multiple desks, reboot, try to enter desktop mode - verify no crash Change-Id: I7d6bd3cab235bebdaa94e01f2f102d4c494f7857
2025-03-21Merge "Make Bitmap.cpp use aconfig flags on host side too" into main Treehugger Robot
2025-03-21Merge "Limit app handle from bubbles to fullscreen apps" into main Ats Jenk
2025-03-21Update expanded view drop target width Liran Binyamin
Fixes: 404916122 Flag: com.android.wm.shell.enable_bubble_to_fullscreen Test: manual - enable bubble to fullscreen flag - create bubble - expand bubble bar and drag bubble icon - observe expanded view drop target Change-Id: I4a49df829b7f519e76a1f96eb1d56486e920388c
2025-03-21Merge "Only check for xml flags when we know there are any" into main Jeremy Meyer
2025-03-21Make Bitmap.cpp use aconfig flags on host side too Makoto Onuki
Fix: 403462359 Test: atest CtsGraphicsTestCasesRavenwood:android.graphics.cts.BitmapTest (and treehugger) Flag: EXEMPT host side change only Change-Id: I0d229a1edbd302ec770c62ccce9c298ba99acbea
2025-03-21Remove DefaultUITraceListener from SplitScreen flicker service tests Pablo Gamito
We shouldn't need the DefaultUITraceListener in Flicker service tests that use the FlickerServiceJUnitRunner. The tests should already be collecting the traces automatically. Bug: 405330360 Flag: TEST_ONLY Change-Id: I0f2ab2d37ae6371fedba50bf8d2799b3616119ba
2025-03-21Merge "[PiP2] Generalize legacy-enter filter" into main Ikram Gabiyev
2025-03-21Move SimulatedConnectedDisplayTestRule from WM lib to platform_testing Steven Ng
Test: m WMShellTestUtils Flag: EXEMPTED test only change Bug: 397371400 Change-Id: Iacc510acc83e5c3961f5fcf8e8df9aab8c8a437e
2025-03-21Clean up unnecessary bubble task bounds update Liran Binyamin
Now that we are merging the bubble task view transition with the unfold transition, we no longer need to force a delayed update to the task bounds. Not that it worked anyway... Bug: 390050545 Flag: EXEMPT bug fix Test: manual - turn bubblb bar flag off - create a floating bubble - request IME - unfold and observe expanded view Change-Id: I108e558c4e1311b11315ef42a6f27a4ea2a182cf
2025-03-21Format Flicker test bp file Pablo Gamito
Flag: EXEMPT build file changes Change-Id: Ibcd10fc3b038a3a2b88a3bf91c900d0a637d5b50
2025-03-21Merge "Transitions CUJ associate to animation thread" into main Marzia Favaro
2025-03-21Revert^2 "Remove DepartingAnimationTarget from BackMotionEvent" Wei Sheng Shih
This would create another SurfaceControl object through IPC, which is unnecessary because the animation should run through BackAnimationRunner. Flag: com.android.window.flags.remove_depart_target_from_motion Bug: 395035430 Test: execute back-to-home transition several times, verify no predict_back animation leash left in offscreen layer. Change-Id: Ic9c24402a3e121be98251965ede375ad61991e4e
2025-03-20Merge "Only allow dragging fullscreen to bubble" into main Ats Jenk
2025-03-20Merge "Correct hover effect for HandleMenuActionButton" into main Treehugger Robot
2025-03-20[res] A bit more efficient locale collection Yurii Zubrytskyi
Don't copy the string unless it's a new locale, and limit the allocations as well Test: unit tests Flag: EXEMPT minor performance improvement Change-Id: Icfe433ab211a0ca22882bd579415a96dc40db30a
2025-03-21Ensure external display to be freeform display Toshiki Kikuchi
This CL ensures that an external display is always a freeform display when the desktop mode is supported. As enableDisplayContentModeManagement flag deprecated DEVELOPMENT_FORCE_DESKTOP_MODE_ON_EXTERNAL_DISPLAYS, which previously affected the windowing mode of external displays. DesktopDisplayModeController should be responsible for it instead now. Flag: com.android.server.display.feature.flags.enable_display_content_mode_management Bug: 404724976 Test: DesktopDisplayModeControllerTest Test: DesktopDisplayEventHandlerTest Change-Id: I9284a20f7de49a6cfc0a61f96b0fd793984dab38
2025-03-21Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I28f05a7109de16ea7222e8b91e5e1c27ce5de50c
2025-03-20Merge "Use keyboard+touchpad as desktop-first criteria" into main Treehugger Robot
2025-03-20Merge "Fix issue with applying interpolators twice" into main Ats Jenk
2025-03-20Only check for xml flags when we know there are any Jeremy Meyer
Test: Automation Fixes: 377974898 Fixes: 398541237 Fixes: 398086579 Fixes: 396884481 Fixes: 396992602 Flag: android.content.res.layout_readwrite_flags Change-Id: Ibdabb27689a95eba7b53490ea8651c947beca226
2025-03-20Merge "Update view model when desk organizer updates tasks." into main Matt Sziklay