* commit 'c33b2ee31acffd9a729351452f5f0d3bbec87dba': Fixed a Wi-Fi dialog crash
This commit is contained in:
@@ -305,7 +305,8 @@ public class WifiConfigController implements TextWatcher,
|
||||
}
|
||||
}
|
||||
|
||||
if (mEdit || (mAccessPoint.getState() == null && mAccessPoint.getLevel() != -1)){
|
||||
if ((mEdit) || (mAccessPoint != null
|
||||
&& mAccessPoint.getState() == null && mAccessPoint.getLevel() != -1)){
|
||||
mConfigUi.setCancelButton(res.getString(R.string.wifi_cancel));
|
||||
}else{
|
||||
mConfigUi.setCancelButton(res.getString(R.string.wifi_display_options_done));
|
||||
|
Reference in New Issue
Block a user