summaryrefslogtreecommitdiffstats
path: root/sip/src/com/android/services/telephony/sip/SipUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'sip/src/com/android/services/telephony/sip/SipUtil.java')
-rw-r--r--sip/src/com/android/services/telephony/sip/SipUtil.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/sip/src/com/android/services/telephony/sip/SipUtil.java b/sip/src/com/android/services/telephony/sip/SipUtil.java
index 458aaeb1d..e4d5d4ca4 100644
--- a/sip/src/com/android/services/telephony/sip/SipUtil.java
+++ b/sip/src/com/android/services/telephony/sip/SipUtil.java
@@ -95,20 +95,6 @@ public class SipUtil {
}
/**
- * Determines if the {@link android.tlecom.PhoneAccount} associated with a {@link SipProfile}
- * is enabled.
- *
- * @param context The {@link Context}.
- * @param profile The {@link SipProfile}.
- * @return {@code True} if the {@code PhoneAccount} is enabled.
- */
- static boolean isPhoneAccountEnabled(Context context, SipProfile profile) {
- PhoneAccount phoneAccount = TelecomManager.from(context)
- .getPhoneAccount(SipUtil.createAccountHandle(context, profile.getUriString()));
- return phoneAccount != null && phoneAccount.isEnabled();
- }
-
- /**
* Creates a PhoneAccount for a SipProfile.
*
* @param context The context