Rename API for Call Companion InCallService API Review
Test: cts
Bug: 179116441
Change-Id: Icd5de48fa5d338f7571f1127706fd11c5e8accc2
Merged-In: Icd5de48fa5d338f7571f1127706fd11c5e8accc2
(cherry picked from commit e90d9de602
)
This commit is contained in:
parent
d4d38d5e2e
commit
0e44b583b0
|
@ -832,12 +832,12 @@ public class TelecomServiceImpl {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see android.telecom.TelecomManager#hasCompanionInCallServiceAccess
|
* @see android.telecom.TelecomManager#hasManageOngoingCallsPermission
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean hasCompanionInCallServiceAccess(String callingPackage) {
|
public boolean hasManageOngoingCallsPermission(String callingPackage) {
|
||||||
try {
|
try {
|
||||||
Log.startSession("TSI.hCICSA");
|
Log.startSession("TSI.hMOCP");
|
||||||
return PermissionChecker.checkPermissionForPreflight(mContext,
|
return PermissionChecker.checkPermissionForPreflight(mContext,
|
||||||
Manifest.permission.MANAGE_ONGOING_CALLS,
|
Manifest.permission.MANAGE_ONGOING_CALLS,
|
||||||
PermissionChecker.PID_UNKNOWN, Binder.getCallingUid(),
|
PermissionChecker.PID_UNKNOWN, Binder.getCallingUid(),
|
||||||
|
|
Loading…
Reference in New Issue