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() {
|
||||
GSMPhone gsmPhone = (GSMPhone) phone;
|
||||
dnsCheckState.setText(gsmPhone.isDnsCheckDisabled() ?
|
||||
dnsCheckState.setText(phone.isDnsCheckDisabled() ?
|
||||
"0.0.0.0 allowed" :"0.0.0.0 not allowed");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user