diff options
author | Adam Powell <adamp@google.com> | 2010-03-08 11:40:11 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-03-08 11:40:11 -0800 |
commit | cc06afa605bfd80ed7dca7e61863163f305e5eeb (patch) | |
tree | e5859293faf6d517b47efe69747a98b8aff7450d /src | |
parent | e33813932474f760073f92bdb7bbf93d1b923d70 (diff) | |
parent | cc2ee7fcc6d1b60724d64f85dd3cd8735dc76e79 (diff) | |
download | packages_apps_Settings-cc06afa605bfd80ed7dca7e61863163f305e5eeb.tar.gz packages_apps_Settings-cc06afa605bfd80ed7dca7e61863163f305e5eeb.tar.bz2 packages_apps_Settings-cc06afa605bfd80ed7dca7e61863163f305e5eeb.zip |
Merge "Fixed NPE in WifiApDialog found by monkey"
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/wifi/WifiApDialog.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/settings/wifi/WifiApDialog.java b/src/com/android/settings/wifi/WifiApDialog.java index 485e54efe..7053d7285 100644 --- a/src/com/android/settings/wifi/WifiApDialog.java +++ b/src/com/android/settings/wifi/WifiApDialog.java @@ -108,11 +108,10 @@ class WifiApDialog extends AlertDialog implements View.OnClickListener, return null; } - @Override protected void onCreate(Bundle savedInstanceState) { - Spinner mSecurity = ((Spinner) mView.findViewById(R.id.security)); mView = getLayoutInflater().inflate(R.layout.wifi_ap_dialog, null); + Spinner mSecurity = ((Spinner) mView.findViewById(R.id.security)); setView(mView); setInverseBackgroundForced(true); |