AI 144591: Fix ClassCastException in RadioInfo settings screen.
BUG=1761604 Automated import of CL 144591
This commit is contained in:

committed by
The Android Open Source Project
parent
7ce0d9bb17
commit
550f0777e9
@@ -619,8 +619,7 @@ public class RadioInfo extends Activity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void updateDnsCheckState() {
|
private void updateDnsCheckState() {
|
||||||
GSMPhone gsmPhone = (GSMPhone) phone;
|
dnsCheckState.setText(phone.isDnsCheckDisabled() ?
|
||||||
dnsCheckState.setText(gsmPhone.isDnsCheckDisabled() ?
|
|
||||||
"0.0.0.0 allowed" :"0.0.0.0 not allowed");
|
"0.0.0.0 allowed" :"0.0.0.0 not allowed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user