AI 144591: Fix ClassCastException in RadioInfo settings screen.

BUG=1761604

Automated import of CL 144591
This commit is contained in:
Mike Lockwood
2009-04-05 11:35:30 -07:00
committed by The Android Open Source Project
parent 7ce0d9bb17
commit 550f0777e9

View File

@@ -619,8 +619,7 @@ public class RadioInfo extends Activity {
}
private void updateDnsCheckState() {
GSMPhone gsmPhone = (GSMPhone) phone;
dnsCheckState.setText(gsmPhone.isDnsCheckDisabled() ?
dnsCheckState.setText(phone.isDnsCheckDisabled() ?
"0.0.0.0 allowed" :"0.0.0.0 not allowed");
}