Loading src/com/android/server/telecom/ConnectionServiceWrapper.java +4 −1 Original line number Diff line number Diff line Loading @@ -919,6 +919,9 @@ public class ConnectionServiceWrapper extends ServiceBinder implements callingPhoneAccountHandle.getComponentName().getPackageName()); } boolean hasCrossUserAccess = mContext.checkCallingOrSelfPermission( android.Manifest.permission.INTERACT_ACROSS_USERS) == PackageManager.PERMISSION_GRANTED; long token = Binder.clearCallingIdentity(); try { synchronized (mLock) { Loading @@ -930,7 +933,7 @@ public class ConnectionServiceWrapper extends ServiceBinder implements // an emergency call. mPhoneAccountRegistrar.getCallCapablePhoneAccounts(null /*uriScheme*/, false /*includeDisabledAccounts*/, userHandle, 0 /*capabilities*/, 0 /*excludedCapabilities*/, false); 0 /*excludedCapabilities*/, hasCrossUserAccess); PhoneAccountHandle phoneAccountHandle = null; for (PhoneAccountHandle accountHandle : accountHandles) { if(accountHandle.equals(callingPhoneAccountHandle)) { Loading Loading
src/com/android/server/telecom/ConnectionServiceWrapper.java +4 −1 Original line number Diff line number Diff line Loading @@ -919,6 +919,9 @@ public class ConnectionServiceWrapper extends ServiceBinder implements callingPhoneAccountHandle.getComponentName().getPackageName()); } boolean hasCrossUserAccess = mContext.checkCallingOrSelfPermission( android.Manifest.permission.INTERACT_ACROSS_USERS) == PackageManager.PERMISSION_GRANTED; long token = Binder.clearCallingIdentity(); try { synchronized (mLock) { Loading @@ -930,7 +933,7 @@ public class ConnectionServiceWrapper extends ServiceBinder implements // an emergency call. mPhoneAccountRegistrar.getCallCapablePhoneAccounts(null /*uriScheme*/, false /*includeDisabledAccounts*/, userHandle, 0 /*capabilities*/, 0 /*excludedCapabilities*/, false); 0 /*excludedCapabilities*/, hasCrossUserAccess); PhoneAccountHandle phoneAccountHandle = null; for (PhoneAccountHandle accountHandle : accountHandles) { if(accountHandle.equals(callingPhoneAccountHandle)) { Loading