Use telephony-common - DO NOT MERGE

Change-Id: Ic95136fd5934afdd53a08bfd640d40add67fdb44
This commit is contained in:
Wink Saville
2012-06-14 12:33:43 -07:00
committed by Jean-Baptiste Queru
parent 51b2fef235
commit 9ad4a89877
9 changed files with 18 additions and 13 deletions

View File

@@ -40,6 +40,7 @@ import android.view.Menu;
import android.view.MenuItem;
import com.android.internal.telephony.Phone;
import com.android.internal.telephony.PhoneConstants;
import com.android.internal.telephony.RILConstants;
import com.android.internal.telephony.TelephonyProperties;
@@ -170,7 +171,7 @@ public class ApnEditor extends PreferenceActivity
// types. (This screen is not normally accessible on CDMA phones, but is useful for
// testing.)
TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);
if (tm.getCurrentPhoneType() == Phone.PHONE_TYPE_CDMA) {
if (tm.getCurrentPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
mRoamingProtocol.setOnPreferenceChangeListener(this);
} else {
getPreferenceScreen().removePreference(mRoamingProtocol);