Commit bf7c617b authored by Wink Saville's avatar Wink Saville
Browse files

Use telephony-common and mms-common

Change-Id: I5378acae02693356ca4a0546cd9346910c29d9dc
parent 44a2f1a8
......@@ -8,6 +8,7 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := TelephonyProvider
LOCAL_CERTIFICATE := platform
LOCAL_JAVA_LIBRARIES += telephony-common mms-common
LOCAL_STATIC_JAVA_LIBRARIES += android-common
include $(BUILD_PACKAGE)
......@@ -33,11 +33,13 @@ import android.net.Uri;
import android.os.Environment;
import android.os.FileUtils;
import android.provider.Telephony;
import android.telephony.TelephonyManager;
import android.util.Log;
import android.util.Xml;
import com.android.internal.telephony.BaseCommands;
import com.android.internal.telephony.Phone;
import com.android.internal.telephony.PhoneConstants;
import com.android.internal.util.XmlUtils;
import org.xmlpull.v1.XmlPullParser;
......@@ -393,7 +395,7 @@ public class TelephonyProvider extends ContentProvider
}
private boolean isLteOnCdma() {
return BaseCommands.getLteOnCdmaModeStatic() == Phone.LTE_ON_CDMA_TRUE;
return TelephonyManager.getLteOnCdmaModeStatic() == PhoneConstants.LTE_ON_CDMA_TRUE;
}
private void setPreferredApnId(Long id) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment