summaryrefslogtreecommitdiff
path: root/services
AgeCommit message (Collapse)Author
12 hoursMerge "Fix focused error of embedded task fragments" into mainHEADmastermainTreehugger Robot
15 hoursFix focused error of embedded task fragmentsb0202.jung
If a display has freeform windowing environments such as Desktop or XR device, then resumed activity of task fragment will be set to focused app. However, it can break focused state in embedded task fragments. Thus, allow it only if a focused task is different from a next task. Bug: 343252725 Test: Settings(AE) > Launch SubSettings > Check focused app/window Change-Id: Ib62ecb7c8e0fe453149f51c610c34d97bbde7cb1
3 daysMerge "Don't unlock other users if user 0 or parent user does not contain ↵Veena Arvind
escrow data." into main
3 daysDon't unlock other users if user 0 or parent user does not contain escrow data.Veena Arvind
Bug: 324085891 Test: atest CtsResumeOnRebootHostTestCases \ FrameworksServicesTests: RebootEscrowDataTest \ FrameworksServicesTests: LockSettingsServiceTests \ FrameworksServicesTests: RecoverySystemServiceTest \ FrameworksServicesTests: RebootEscrowManagerTests \ FrameworksServicesTests: RebootEscrowProviderServerBasedImplTests Change-Id: Ibba55830bb3168d312d3f92094d7a266931439e6
3 daysMerge "Improve "Enabling rollback" log with rollbackId and ↵Treehugger Robot
originalSessionId" into main
3 daysMerge "Revert^3 "Add throtling to crashloop mitigations"" into mainHarshit Mahajan
3 daysRevert^3 "Add throtling to crashloop mitigations"Android Culprit Assistant
3bebb9030e243a4a27ec4b6220a1bde7a13bb263 Change-Id: I605177fabae80ea68399aa42a66419119cf02cd3 Bug: 343583446 Bug: 343690533
6 daysImprove "Enabling rollback" log with rollbackId and originalSessionIdHiroaki Kuriyama
rollbackId and originalSessionId info is important for logcat based debug about session installation with rollback like Mainline. Bug: 343309166 Test: manual (check RollbackManager log at mainline update) Change-Id: I20755a4fa8a99b07c4ba12e735af19dba21fcdda
6 daysAdd missing newline in notification cmd usageEdward Savage-Jones
The help/usage text for the notification cmd is not wrapped correctly when displaying the 'allow_dnd' parameter. This was introduced in commit 08d381b830aa. Test: manual, run cmd notification and check the wrapping Change-Id: I9a7af1d9e3de91c9124f21eb66817bb73a3512be
6 daysMerge "Revert^2 "Add throtling to crashloop mitigations"" into mainAlexei Nicoara
10 daysMerge "profcollect: Make binder call on a background thread" into mainYi Kong
10 daysRevert^2 "Add throtling to crashloop mitigations"Sanal Buvaev
This reverts commit ec7f72079ca54b8e7f5e09574d42491d4dd44a30. Reason for revert: Fixed tests Change-Id: Iadd0ea6f09f7f3159f94489c03f28c326bbbb664
10 daysMerge "BatteryStatsImpl:fix ArithmeticException due to list size is zero." ↵Treehugger Robot
into main
10 daysprofcollect: Make binder call on a background threadYi Kong
Bug: 342527967 Change-Id: I41811e2dae454c67435c1c99d10bc3a28894fbd1 Test: presubmit
12 daysMerge "Fix potential crash issue in NonRequiredPackageDeleteObserver" into mainTreehugger Robot
13 daysMerge "profcollect: create and upload profile on every idle maintenance" ↵Yi Kong
into main
13 daysprofcollect: create and upload profile on every idle maintenanceYi Kong
This reduces the latency before we are able to generate a profile from the server backend. Test: cmd jobscheduler run -f android 260817 Change-Id: Icdbdf809435580b131f5b6677e039f3043264abe
13 daysMerge "HSUM: Fix profile unlock notification" into mainRubin Xu
2024-05-20Merge "Add 16KB pagesize crash details" into mainPawan Wagh
2024-05-20BatteryStatsImpl:fix ArithmeticException due to list size is zero.lijilou
Test: OEM monkey test Bug: 341658103 Change-Id: Idfc3db1c0ea3be536cad82bf98fab6d668d26a36
2024-05-20Merge "Fixed device restart caused by starting Activity under split-screen ↵Treehugger Robot
root task." into main
2024-05-17Revert "Add throtling to crashloop mitigations"Priyanka Advani
This reverts commit 831334bd5201bf5f98b94c256c4af65cbbd9d53d. Reason for revert: Droidmonitor triggered revert due to b/341375758. Change-Id: I9aaf3e0bca1d173ea7f449339185db5ace780626
2024-05-17Add 16KB pagesize crash detailsPawan Wagh
For java ANRs and kernel crashes, adding `PageSize: 16384` if device is using 16KB Page size. Test: m Bug 340959006 Change-Id: I4d08ca13ef5cd2e3a807cde2c11452c5e0ccd9a5
2024-05-17Add owners for ApplicationStartInfoTestYisroel Forta
Bug: None Test: presubmit Change-Id: Iaf8ed5e440b5514c68d09e803a6fd6a6a0944245
2024-05-17Add throtling to crashloop mitigationsSanal Buvaev
In case of crash loops with a short time mainline rollbacks don't finish before the next mitigation which is warm reboot. Change-Id: I77a487cb27e4254865ba2cc045e379dcb7348994 Test: unit and manual tests Bug: 310236690
2024-05-17Merge "Fix incorrect gid config leads to process/system cannot start." into mainSong Chun Fan
2024-05-17HSUM: Fix profile unlock notificationRubin Xu
Send the confirm credential intent from the right user. Bug: 327350831 Test: none Change-Id: Ife9f2bed7a2095d2aac87a79aafe7868dce3591b
2024-05-17Merge "AppWidgetServiceImpl:fix NPE in pruneWidgetStateLocked mthod ." into mainTreehugger Robot
2024-05-17AppWidgetServiceImpl:fix NPE in pruneWidgetStateLocked mthod .lijilou
When the hostsPackageForUser method return true,No nonNull judgment is made on the provider var which may be a null var. Bug: 339747311 Merged-In: I00f8c12b5dec00eac6e50e2ef755742db3fe4521 Change-Id: I00f8c12b5dec00eac6e50e2ef755742db3fe4521
2024-05-16Fixed device restart caused by starting Activity under split-screen root task.张倞诚
The root task used for split screen contains two or more sub-tasks. In this case, the activity should not be allowed to be started under the root task, which will cause a null pointer and cause the device to restart. Therefore, when the activity is started by specifying the taskid, check that the task is leaftask. Change-Id: I095feb549ce2d3a4e61d999a342f64bea8264288
2024-05-16Merge "Add vm name and version to am capabilities" into mainTreehugger Robot
2024-05-16Merge "Use metered firewalls for metered uid policy" into mainTreehugger Robot
2024-05-15Use metered firewalls for metered uid policySuprabh Shukla
Since the underlying code in connectivity manager is moving to metered firewalls to denote the uid policy for metered restrictions, NPMS can start using them now. Rather than having a single PENALTY_BOX, we have separate firewalls for user and admin imposed restrictions. Once NPMS uses the appropriate firewalls for these, it does not need to separately convey the blocked reasons for metered restrictions on uids to the ConnectivityManager. Flag: com.android.server.net.use_metered_firewall_chains Test: atest FrameworksServicesTests:NetworkManagementServiceTest Test: atest FrameworksServicesTests:NetworkPolicyManagerTest Test: atest CtsHostsideNetworkPolicyTests Bug: 336693007 Change-Id: I8da11ff663257d3dafcb5e22ae3313a9255ef0a6 Merged-In: I8da11ff663257d3dafcb5e22ae3313a9255ef0a6
2024-05-15Add vm name and version to am capabilitiesFabien Sanglard
This CL is part of the go/kddm project, to deprecate DDM protocol. HELO packet currently return the VM name and version, this CL allows to retrieves the same invo from a tool accessible from shell. The data is retrieved the same way it is retrieved in DdmHandleHello. handleHELO (System.getproperty). Test: NA Bug: go/kddm Change-Id: Id5cf9bf768f397bf3595e577f0da7a001b7ec394
2024-05-15Merge "Pinned apk file should be put in mPinnedFiles." into mainEdgar Arriaga García
2024-05-15Fix incorrect gid config leads to process/system cannot start.张倞诚
We found that if the system application misconfigures the gid in the permissions, -1 will be added to the application's gid list, which will cause the application process or system startup to fail, so consider adding a check to prevent this unexpected situation. Change-Id: Ic3133067285ecfd9310b4bca56ff402180e7c2aa
2024-05-15Merge "Do not overwrite user set or live wallpapers" into mainTreehugger Robot
2024-05-15Merge "Throw new exceptions in SecureChannel from beto-rust update" into mainEllen Arteca
2024-05-14Merge "audio: add USAGE_UNKNOWN to mediaActive condition" into mainTreehugger Robot
2024-05-14Merge "AppDataHelper:fix ArrayIndexOutOfBoundsException happen in ↵Song Chun Fan
fixAppsDataOnBoot method due to forget add lock." into main
2024-05-14Merge "[Bugfix] Fix the issue where the spatializer available status could ↵Jean-Michel Trivi
not be updated" into main
2024-05-14Merge "Update OWNERS" into mainAlexei Nicoara
2024-05-14Do not overwrite user set or live wallpapersDivya Dubey
WallpaperUpdateReceiver unconditionally updates the wallpaper to the default_wallpaper when DEVICE_CUSTOMIZATION_READY is received. This overwrites live wallpapers and user set wallpapers. Just clear the wallpaper when there is no live wallpaper to avoid this from happening. Test: set a wallpaper and run adb shell am broadcast \ -a android.intent.action.DEVICE_CUSTOMIZATION_READY \ -f 0x01000000 Bug: 159673283 Change-Id: I385c28be84b9146e8620910258495f5d71b9c04e
2024-05-14Fix potential crash issue in NonRequiredPackageDeleteObserverguangkui.ren
mLatch.notifyAll() will not help wake the thread which is blocked by mLatch.await, instead, it will cause system server crash. So, mark state as failed if any package is failed to be deleted, and let mLatch.countDown work until it comes to 0 and wake the thread blocked by await. Bug: 333845008 Change-Id: Ida1c3c128ddef376aaaacda1358717d0d4e9ca8b
2024-05-14[Bugfix] Fix the issue where the spatializer available status could not be ↵xialei6
updated When a device (such as a projection device) is connected, the spatializer available status should be updated regardless of whether this feature is turned on or not. Because other functions (such as the spatializer UI switch) need to change according to the spatializer available status. Change-Id: I43d6d5d0ea4d69a0d4559390dcf34885b96bc488 Signed-off-by: xialei6 <xialei6@xiaomi.com>
2024-05-13Fix the string reference equality comparison in MusicFxHelperShunkai Yao
Bug: 332981866 Test: atest com.android.server.audio.MusicFxHelperTest Flag: NONE, impact of this fix is limited Change-Id: I996951c7f71678c76afec78efd452b275f17213e (cherry picked from commit 52c9b6524203942d714cba0315d82f230c5015d2) Merged-In: I996951c7f71678c76afec78efd452b275f17213e
2024-05-13Merge "Fix unbind service error for MusicFxHelper" into mainTreehugger Robot
2024-05-13Merge "Update rollback reason in logging." into mainShrinidhi Hegde
2024-05-13Merge "AudioService: Register MASTER_BALANCE/MONO observer for all users" ↵Eric Laurent
into main
2024-05-11Pinned apk file should be put in mPinnedFiles.xiaomei.li
The apk file which was pinned should be add to the mPinnedFiles, if not, the unpinApp can not found the PinnedFile from mPinnedFiles, will not do the unpinFile for the pinned apk file. Change-Id: I74f30650a590e746de2a98e8f9c5535ee2a9d37e