Fixed crash when changing orientation in the Add Networks dialog.

Bug: 16479540
Change-Id: Ib42977b72039f49b5d5ae688c0b0ded1094b44e2
This commit is contained in:
PauloftheWest
2014-07-30 15:05:46 -07:00
parent c8a1db1912
commit fd19aff782
2 changed files with 5 additions and 4 deletions

View File

@@ -300,7 +300,6 @@ public class WifiConfigController implements TextWatcher,
}
}
if (mEdit || (mAccessPoint.getState() == null && mAccessPoint.getLevel() != -1)){
mConfigUi.setCancelButton(res.getString(R.string.wifi_cancel));
}else{