summaryrefslogtreecommitdiff
path: root/services
AgeCommit message (Collapse)Author
2025-02-23Offer additional quota to system installers. Xin Guan
Give power-exempted apps with the INSTALL_PACKAGES permission additional quota for regular type of jobs. Bug: 398264531 Test: atest FrameworksMockingServicesTests:com.android.server.job.controllers.QuotaControllerTest Test: atest CtsJobSchedulerTestCases Flag: com.android.server.job.additional_quota_for_system_installer Change-Id: Iaffd26e74e2ab9dc3a5ef9b22e87912dd221e324
2025-02-20Merge "Fix VibrationThread handling old HAL callbacks" into main Lais Andrade
2025-02-20Merge "Fix orientation change race conditions in IME test" into main Cosmin Băieș
2025-02-20Merge "Handle UserSwitchingDialog animation timeouts on a non-ui thread." ↵ Treehugger Robot
into main
2025-02-20Merge "Add the finishing task as a trigger for crash." into main Treehugger Robot
2025-02-20Fix orientation change race conditions in IME test Cosmin Băieș
During setup we first launch the activity and then set the orientation to natural. In most cases this is already the current orientation, so nothing changes. However if the previous test changed to a different orientation, this will trigger an activity re-creation. This could be slightly delayed after the setup, so we might have input_focus and temporarily lose it during the test, which will fail any IME requests. This also removes the freezeRotation call, as setting an orientation also freezes the rotation. Additionally adds a check to restore the orientation to natural during teardown. Flag: EXEMPT testfix Bug: 397765263 Test: atest InputMethodServiceTest Change-Id: I383bebd027eca7155c55ca0f450589f0255e589e
2025-02-20Merge "Cache w.canReceiveKeys()." into main am: e39d5212b2 am: b5f396ac9c Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3496493 Change-Id: I0ec2f56ef514786ef6149f6bd1c1d046983a73ad Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20Merge "Added support for not registering for RR events by default" into main Rupesh Bansal
2025-02-20Merge "Fix display events emitted when override info changed" into main Rupesh Bansal
2025-02-20Handle UserSwitchingDialog animation timeouts on a non-ui thread. Yasin Kilicdere
Animations of the dialog already use the ui thread. And when something is wrong there -like being very busy at the time- handling the mHandler.postDelayed calls on the same thread does not work. This CL moves timeout posts to be handled by ActivityManager thread, instead of the ui thread. Bug: 393514824 Test: atest UserControllerTest Flag: EXEMPT bugfix Change-Id: I003db7c8ce8b310a9386de74055a55db9775f5fa
2025-02-20Merge "Removing IMS surface in InputMethodService#hideSoftInput after hiding ↵ Treehugger Robot
the window" into main
2025-02-20Add the finishing task as a trigger for crash. Orhan Uysal
When activity crashes, set the finishing task as the trigger task. This allows shell to better handle crashes through #handleRequest. Fix: 361058348 Fix: 356187158 Test: Open any app, crash it using "adb shel am crash", see that trigger task set instead of being null. Flag: EXEMPT Bugfix Change-Id: I24d63ad5e74a336871327872d007663d65f8cbfc
2025-02-20Merge "Cache w.canReceiveKeys()." into main Treehugger Robot
2025-02-20Merge "Extend watchdog timeout in case of unmounting" into main Omar Eissa
2025-02-20Merge "Don't hold lock when calling into ExternalStorageService" into main Omar Eissa
2025-02-20Merge "Remove no-op legacy AppTransition invocation from hierarchy" into main Riddle Hsu
2025-02-20Remove no-op legacy AppTransition invocation from hierarchy Riddle Hsu
It has been replaced by shell transition. Bug: 365884835 Flag: EXEMPT remove outdated code Test: atest ActivityRecordTests Change-Id: Id0338c7a0e865247ad94879c8ac9ca588a51d577
2025-02-19Merge "Fix a bug in computeTpl() when there are multiple displays." into main Treehugger Robot
2025-02-19Merge "Make test transition ready by sync engine" into main Riddle Hsu
2025-02-19Merge "Add flag-disabled test to PresentationControllerTests" into main Treehugger Robot
2025-02-19Merge "Fix initialization timing for CPU energy consumer config" into main Treehugger Robot
2025-02-19Merge "a11y: Pause auto click with pause button" into main Gavin Williams
2025-02-19Fix initialization timing for CPU energy consumer config Dmitri Plotnikov
Bug: 397780139 Flag: EXEMPT bugfix Test: atest PowerStatsTests;atest PowerStatsTestsRavenwood Change-Id: I5df9760211310a8f4d21b7a2938838f86fce9843
2025-02-19Merge "Remove the version check for opting apps with SAW into bubbles" into main Treehugger Robot
2025-02-19Merge "Revert^3 "servicestests and InputTests: allow warnings"" into main ↵ Maciej Żenczykowski
am: 019dab7845 am: a543de34d2 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3502139 Change-Id: Ie251c319352b38772be0edf71b874cd43968badc Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19Merge "Revert^3 "servicestests and InputTests: allow warnings"" into main Maciej Żenczykowski
2025-02-19Merge "DevicePolicyManagerService: Add health permissions to restricted ↵ Justin Lannin
list." into main
2025-02-19Merge "Implement perceptible tasks" into main Eric Lok
2025-02-19Revert^3 "servicestests and InputTests: allow warnings" Priyanka Advani (xWF)
bd81bb71413c3324306b9663329e9537d6b2c123 Change-Id: Icc653a0930545ebe1468156385b6842b783d6152
2025-02-19DevicePolicyManagerService: Add health permissions to restricted list. Justin Lannin
Bug: 388336404 Change-Id: I7de34a90f4b75b432211c754194643bb66fad22d Flag: android.permission.flags.replace_body_sensor_permission_enabled
2025-02-19a11y: Pause auto click with pause button Gavin Williams
Pause autoclick when the pause button is clicked by canceling any pending clicks and preventing scheduling of new clicks. Demo: http://b/388872274#comment4 Bug: b/388872274 Test: AutoclickTypePanelTest Flag: com.android.server.accessibility.enable_autoclick_indicator Change-Id: I1cabc63a2656ea4e962a5565b84e5db70eb115ae
2025-02-19Fix a bug in computeTpl() when there are multiple displays. bkchoi
coveredRegionsAbove computed for one display could affect another display. We need to extend coveredRegionsAbove to be per-display data so that each display can be independently calculated. Bug: 383679189 Flag: EXEMPT bugfix Test: atest android.view.surfacecontrol.cts.TrustedPresentationListenerTest Change-Id: I6e9f4fd06a5fcd5b1218c678b43c7f585ccb91e4
2025-02-19Add flag-disabled test to PresentationControllerTests Kazuki Takise
Currently the differnces between flag on and off are: - Apps behind a presentation stop. - Shell transitions run. Flag: com.android.window.flags.enable_presentation_for_connected_displays Bug: 390482872 Test: WmTests:PresentationControllerTests Change-Id: I436e116c25ec7b86dd065c9f2bcbebd14e122de6
2025-02-19Merge "Add transition support to presentation" into main Kazuki Takise
2025-02-19Merge "[CDM] Add last removed association to disk and DUMPSYS" into main Guojing Yuan
2025-02-19Added support for not registering for RR events by default Rupesh Bansal
We historically used to register any user subscribing to display changes via DisplayManager::registerDisplayListener for refresh rate changes. Going forward, this behaviour is being changed to subscribe them to refresh rate changes only when they explicitly request for it Bug: 391828526 Flag: com.android.server.display.feature.flags.delay_implicit_rr_registration_until_rr_accessed Test: atest DisplayEventTest Change-Id: If218ba7b49f11ca369aee76230b4ea0a28469a68
2025-02-19Merge "Rename "capture own screenshot" flag again" into main Treehugger Robot
2025-02-19Merge "Revert^2 "servicestests and InputTests: allow warnings"" into main ↵ Adrian Roos
am: 5d977d2fc5 am: 12750b072f Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3500595 Change-Id: I2d5fade5eba4802a7d1f1c953413812d9325f7bc Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19Remove the version check for opting apps with SAW into bubbles Mady Mellor
We've had developer feedback around this not applying to all versions of android, so modifying the version check to be >= instead of =. Additionally checks if the user has locked the field / changed the bubble preference before, if so, don't modify it. Added a test that has the current version in XML and verifies the bubble preferences is updated. Existing tests verify that the pref isn't overridden if it's locked. Flag: EXEMPT bug fix Test: atest PreferencesHelperTest Bug: 372294507 Change-Id: I234e633d651066ac9ff5b8c552db7719ff176512
2025-02-19Fix display events emitted when override info changed Rupesh Bansal
After the split of display changed events into basic changes and refresh rate changes, we have continued to emit both these events when non-overridden display info is checked. This is incorrect as it is possible for displays's basic information to change but refresh rate still remains the same. Bug: 397020451 Flag: EXEMPT trivial change Test: Manually run abtd to validate the metrics Change-Id: I14c031acb3fac4ac38d75c1cccfd2884bfbef005
2025-02-19Merge "Use new value in IMMS#reportPerceptibleAsync" into main Treehugger Robot
2025-02-19Merge "Revert^2 "servicestests and InputTests: allow warnings"" into main Adrian Roos
2025-02-19Merge "[owners] Remove bills@google.com from ↵ Treehugger Robot
services/core/java/com/android/server/am/OWNERS" into main am: fd9c9e7fc3 am: 95335e91bd Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3499891 Change-Id: I16666779637bb0f82f25a4c07224e2987ea39d40 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19Merge "Add workaround for PiP1 in sync-finished detection" into main Ikram Gabiyev
2025-02-19Merge "Remove non-functional NOTES shortcut" into main Vaibhav Devmurari
2025-02-19Merge "Introduce primitive scale to vibrator adb" into main Treehugger Robot
2025-02-19Merge "Reland "Support transitioning from doze to dream from button press."" ↵ Lucas Silva
into main
2025-02-19Merge "[owners] Remove bills@google.com from ↵ Treehugger Robot
services/core/java/com/android/server/am/OWNERS" into main
2025-02-19Merge "Reduce frequency of LongArrayMultistateCounter.incrementValues calls" ↵ Dmitri Plotnikov
into main
2025-02-19Merge "Cleanup offload controls doze autobrightness flag" into main Rupesh Bansal