diff --git a/res/layout/radio_info.xml b/res/layout/radio_info.xml
index 0ec1f108cb8..c1d6ff63f99 100644
--- a/res/layout/radio_info.xml
+++ b/res/layout/radio_info.xml
@@ -49,16 +49,10 @@
-
+
-
-
-
-
-
-
-
-
+
+
@@ -67,28 +61,28 @@
-
-
-
-
-
-
-
+
-
+
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
@@ -134,76 +128,6 @@
android:layout_height="1dip"
android:background="#000000" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -287,74 +362,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/values/strings.xml b/res/values/strings.xml
index f617df17217..f7824fe682e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -478,16 +478,12 @@
Cell Location Info (deprecated):
- Neighbor Cell Info (deprecated):
-
LTE Physical Channel Configuration:
Cell Info Refresh Rate:
All Cell Measurement Info:
- Data Connection Real-Time Info:
-
Data Service:
Roaming:
diff --git a/src/com/android/settings/RadioInfo.java b/src/com/android/settings/RadioInfo.java
index 170db1695b4..c04269c1696 100644
--- a/src/com/android/settings/RadioInfo.java
+++ b/src/com/android/settings/RadioInfo.java
@@ -54,8 +54,6 @@ import android.telephony.CellSignalStrengthCdma;
import android.telephony.CellSignalStrengthGsm;
import android.telephony.CellSignalStrengthLte;
import android.telephony.CellSignalStrengthWcdma;
-import android.telephony.DataConnectionRealTimeInfo;
-import android.telephony.NeighboringCellInfo;
import android.telephony.PreciseCallState;
import android.telephony.PhoneStateListener;
import android.telephony.PhysicalChannelConfig;
@@ -193,9 +191,7 @@ public class RadioInfo extends Activity {
private TextView mMwi;
private TextView mCfi;
private TextView mLocation;
- private TextView mNeighboringCids;
private TextView mCellInfo;
- private TextView mDcRtInfoTv;
private TextView sent;
private TextView received;
private TextView mPingHostnameV4;
@@ -235,7 +231,6 @@ public class RadioInfo extends Activity {
private List mCellInfoResult = null;
private CellLocation mCellLocationResult = null;
- private List mNeighboringCellResult = null;
private int mPreferredNetworkTypeResult;
private int mCellInfoRefreshRateIndex;
@@ -300,12 +295,6 @@ public class RadioInfo extends Activity {
updateCellInfo(mCellInfoResult);
}
- @Override
- public void onDataConnectionRealTimeInfoChanged(DataConnectionRealTimeInfo dcRtInfo) {
- log("onDataConnectionRealTimeInfoChanged: dcRtInfo=" + dcRtInfo);
- updateDcRtInfoTv(dcRtInfo);
- }
-
@Override
public void onSignalStrengthsChanged(SignalStrength signalStrength) {
log("onSignalStrengthChanged: SignalStrength=" +signalStrength);
@@ -433,10 +422,8 @@ public class RadioInfo extends Activity {
mMwi = (TextView) findViewById(R.id.mwi);
mCfi = (TextView) findViewById(R.id.cfi);
mLocation = (TextView) findViewById(R.id.location);
- mNeighboringCids = (TextView) findViewById(R.id.neighboring);
mCellInfo = (TextView) findViewById(R.id.cellinfo);
mCellInfo.setTypeface(Typeface.MONOSPACE);
- mDcRtInfoTv = (TextView) findViewById(R.id.dcrtinfo);
sent = (TextView) findViewById(R.id.sent);
received = (TextView) findViewById(R.id.received);
@@ -520,7 +507,6 @@ public class RadioInfo extends Activity {
updateDnsCheckState();
updateNetworkType();
- updateNeighboringCids(mNeighboringCellResult);
updateLocation(mCellLocationResult);
updateCellInfo(mCellInfoResult);
@@ -714,23 +700,6 @@ public class RadioInfo extends Activity {
}
- private final void updateNeighboringCids(List cids) {
- StringBuilder sb = new StringBuilder();
-
- if (cids != null) {
- if (cids.isEmpty()) {
- sb.append("no neighboring cells");
- } else {
- for (NeighboringCellInfo cell : cids) {
- sb.append(cell.toString()).append(" ");
- }
- }
- } else {
- sb.append("unknown");
- }
- mNeighboringCids.setText(sb.toString());
- }
-
private final String getCellInfoDisplayString(int i) {
return (i != Integer.MAX_VALUE) ? Integer.toString(i) : "";
}
@@ -883,10 +852,6 @@ public class RadioInfo extends Activity {
mCellInfo.setText(buildCellInfoString(arrayCi));
}
- private final void updateDcRtInfoTv(DataConnectionRealTimeInfo dcRtInfo) {
- mDcRtInfoTv.setText(dcRtInfo.toString());
- }
-
private final void
updateMessageWaiting() {
mMwi.setText(String.valueOf(mMwiValue));
@@ -1079,12 +1044,10 @@ public class RadioInfo extends Activity {
private final void updateAllCellInfo() {
mCellInfo.setText("");
- mNeighboringCids.setText("");
mLocation.setText("");
final Runnable updateAllCellInfoResults = new Runnable() {
public void run() {
- updateNeighboringCids(mNeighboringCellResult);
updateLocation(mCellLocationResult);
updateCellInfo(mCellInfoResult);
}
@@ -1095,7 +1058,6 @@ public class RadioInfo extends Activity {
public void run() {
mCellInfoResult = mTelephonyManager.getAllCellInfo();
mCellLocationResult = mTelephonyManager.getCellLocation();
- mNeighboringCellResult = mTelephonyManager.getNeighboringCellInfo();
mHandler.post(updateAllCellInfoResults);
}