diff options
| author | 2025-03-11 22:07:15 +0000 | |
|---|---|---|
| committer | 2025-03-11 22:07:15 +0000 | |
| commit | a12bb0b3df194b9f01bab869e574c3809d1611be (patch) | |
| tree | 5fe9eba33d45047fc0773f87c5ac9105b72e8500 /api/api.go | |
| parent | 819136b66c76334bf1950f0fd9c5ef35b462b2b8 (diff) | |
Disable SystemFeaturesCache in cmd-like system processes
A handful of "system" command processes are neither bound as
applications, nor are they system_server. As such, they don't
go through the usual initialization routines, which includes
installation of ApplicationSharedMemory.
For now, disable use of the dependent SystemFeaturesCache for such
processes.
Bug: 400713460
Test: `adb shell svc nfc` succeeds without crashing
Test: atest SystemFeaturesCacheTest
Flag: android.content.pm.cache_sdk_system_features
Change-Id: I0e9b67d1cfe4552f08babf80b6a2862530221d32
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions