diff options
| author | 2024-02-02 11:12:26 +0000 | |
|---|---|---|
| committer | 2024-02-14 20:57:36 +0000 | |
| commit | 53b952974f09b7249050677351ddffc5fa43f6b6 (patch) | |
| tree | 7aaae7a98094447927c9671132618d51a35797f0 /libs/androidfw/StringPool.cpp | |
| parent | 1684475d241c50522aa5e837368c4e9e05a5e94c (diff) | |
Add getEmergencyAssistancePackageName API to TelephonyManager.
Since the emergency role is basically the app that handles
ACTION_EMERGENCY_ASSISTANCE, it was proposed to add this API
alongside isEmergencyAssistanceEnabled(). This provides privileged
clients (e.g. GmsCore) with a robust way to query the emergency
role holder.
This API calls a new getEmergencyRoleHolder() API in RoleManager.
Both of these APIs are guarded by a common flag in the permissions
namespace.
Bug: 323157319
Test: atest RoleManagerTest
Change-Id: I4302ca53f6a0187f225ad085a7d43cd20a935b3e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions