am 45170dd6: Merge "resolved conflicts for merge of a4fb8c86 to honeycomb-plus-aosp" into honeycomb-plus-aosp

* commit '45170dd6bbc2106a837a6f39a6bf6455ea36d9cf':
  Support configuring the protocol in APN settings.
This commit is contained in:
Ed Heyl
2011-03-04 17:11:18 -08:00
committed by Android Git Automerger

View File

@@ -38,6 +38,7 @@ import android.view.Menu;
import android.view.MenuItem;
import com.android.internal.telephony.TelephonyProperties;
import com.android.internal.telephony.RILConstants;
public class ApnEditor extends PreferenceActivity
@@ -431,6 +432,11 @@ public class ApnEditor extends PreferenceActivity
values.put(Telephony.Carriers.PROTOCOL, checkNotSet(mProtocol.getValue()));
// Hardcode IPv4 roaming for now until the carriers sort out all the
// billing arrangements.
values.put(Telephony.Carriers.ROAMING_PROTOCOL,
RILConstants.SETUP_DATA_PROTOCOL_IP);
values.put(Telephony.Carriers.TYPE, checkNotSet(mApnType.getText()));
values.put(Telephony.Carriers.MCC, mcc);