Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9203e483 authored by Thomas Stuart's avatar Thomas Stuart Committed by Android (Google) Code Review
Browse files

Merge "remove transactional check in requiresBindPerm method" into udc-dev

parents 4a2bb7d2 7a5b88f6
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1371,10 +1371,6 @@ public class PhoneAccountRegistrar {
     * @return {@code True} if the phone account has permission.
     */
    public boolean phoneAccountRequiresBindPermission(PhoneAccountHandle phoneAccountHandle) {
        if (hasTransactionalCallCapabilities(getPhoneAccountUnchecked(phoneAccountHandle))) {
            return false;
        }

        List<ResolveInfo> resolveInfos = resolveComponent(phoneAccountHandle);
        if (resolveInfos.isEmpty()) {
            Log.w(this, "phoneAccount %s not found", phoneAccountHandle.getComponentName());