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

committed by
The Android Open Source Project
parent
6bced002bc
commit
5304c7e38f
@@ -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