Allow timedetector_service access 4 ephemeral apps
Allow timedetector_service access for ephemeral apps. The service call behind currentNetworkTimeClock() moved from AlarmManager to TimeDetector. Before this change, alarm_service is accessible by ephemeral apps but timedetector_service is not. After this change, timedetector_service is accessible by ephemeral apps, unbreaking the call. The breakage was not previously noticed because the test involved does not run in the ephemeral case because of restrictions around what test infra can do in the ephemeral case. A recent test refactor tests the method in a different way, revealing the issue. Bug: 270788539 Test: run cts -m CtsOsTestCases -t android.os.cts.SystemClockNetworkTimeTest#testCurrentNetworkTimeClock Change-Id: Iafdfb9f13d473bcc65c4e60733e57f1d25c511ab
This commit is contained in:
parent
d3bd68607e
commit
05f8ebe1db
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ type textservices_service, app_api_service, ephemeral_app_api_service, system_se
|
|||
type texttospeech_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
|
||||
type telecom_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
|
||||
type thermal_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
|
||||
type timedetector_service, app_api_service, system_server_service, service_manager_type;
|
||||
type timedetector_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
|
||||
type timezonedetector_service, app_api_service, system_server_service, service_manager_type;
|
||||
type translation_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
|
||||
type trust_service, app_api_service, system_server_service, service_manager_type;
|
||||
|
|
Loading…
Reference in a new issue