Merge commit '1b003ef0' into mit
* commit '1b003ef0': Create telephony-common and mms-common Change-Id: Ie8876541dbe7f4c933cf7d69910dd204538bc975
This commit is contained in:
@ -5,7 +5,7 @@ LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
||||
|
||||
LOCAL_JAVA_LIBRARIES :=
|
||||
LOCAL_JAVA_LIBRARIES := telephony-common
|
||||
|
||||
LOCAL_PACKAGE_NAME := SettingsProvider
|
||||
LOCAL_CERTIFICATE := platform
|
||||
|
@ -33,12 +33,14 @@ import android.net.ConnectivityManager;
|
||||
import android.os.SystemProperties;
|
||||
import android.provider.Settings;
|
||||
import android.provider.Settings.Secure;
|
||||
import android.telephony.TelephonyManager;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.internal.content.PackageHelper;
|
||||
import com.android.internal.telephony.BaseCommands;
|
||||
import com.android.internal.telephony.Phone;
|
||||
import com.android.internal.telephony.PhoneConstants;
|
||||
import com.android.internal.telephony.RILConstants;
|
||||
import com.android.internal.util.XmlUtils;
|
||||
import com.android.internal.widget.LockPatternUtils;
|
||||
@ -1590,7 +1592,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
||||
|
||||
// Set the preferred network mode to 0 = Global, CDMA default
|
||||
int type;
|
||||
if (BaseCommands.getLteOnCdmaModeStatic() == Phone.LTE_ON_CDMA_TRUE) {
|
||||
if (TelephonyManager.getLteOnCdmaModeStatic() == PhoneConstants.LTE_ON_CDMA_TRUE) {
|
||||
type = Phone.NT_MODE_GLOBAL;
|
||||
} else {
|
||||
type = SystemProperties.getInt("ro.telephony.default_network",
|
||||
|
Reference in New Issue
Block a user