diff options
| author | 2024-01-25 16:14:29 -0500 | |
|---|---|---|
| committer | 2024-01-29 10:41:39 -0500 | |
| commit | 14b06dc4d73e9102160536218c7f5476f776c06d (patch) | |
| tree | cb8b796613793610ee564ff5fa2a9936b6a977fb /libs/androidfw/FileStream.cpp | |
| parent | a9d2c1f17c2c128231df3d0aa771b55f697d3f61 (diff) | |
Add SystemServiceRegistry.getService(String).
Allow services to opt in to being fetched entirely without a Context.
This is not enabled by default because it would be a compatibility break
for the service to need a Context in future, but if a service can commit
to never needing a Context, this allows additional flexibility for
callers.
Bug: 319292658
Test: Tested indirectly in followup CL using the API
Change-Id: I4e8a15420a207c93bfa07e41e45edbd06e548204
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions