Commit 0a275f94 authored by kirk's avatar kirk

Add logging, fix typos

parent 91f718fc
......@@ -238,7 +238,7 @@ public final class WifiSettingsFragment extends Fragment {
/**
* Turn {@link #notifyListener()} into a no-op while
* {@link #delayNotifications} is greater than 0
* {@link #delayNotifications} is not 0
*/
private int delayNotifications;
......@@ -406,12 +406,26 @@ public final class WifiSettingsFragment extends Fragment {
try {
if ((delayNotifications == 0) && (listener != null)) {
if (delayNotifications != 0) {
listener.onWifiSettingsChanged();
Log.i(getClass().getName(),
"noifyListener(): delayNotifications is " //$NON-NLS-1$
+ delayNotifications + ", exiting"); //$NON-NLS-1$
return;
}
if (listener == null) {
Log.i(getClass().getName(),
"noifyListener(): lisetener is null, exiting"); //$NON-NLS-1$
return;
}
Log.i(getClass().getName(), "noifyListener(): notifying listener"); //$NON-NLS-1$
listener.onWifiSettingsChanged();
} catch (Exception e) {
Log.e(getClass().getName(), "notifyListener", e); //$NON-NLS-1$
......
......@@ -53,7 +53,7 @@ public final class WifiSettings implements Serializable {
public enum ConnectionOutcome {
/**
* Added and successfully connected
* Added and enabled
*/
ADDED,
......@@ -67,10 +67,15 @@ public final class WifiSettings implements Serializable {
*/
FAILED;
/**
* Serialization version number
*/
private static final long serialVersionUID = 1L;
}
/**
* Enumeratio of supported wifi security protocols
* Enumeration of supported wifi security protocols
*
* @author Kirk
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment