summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Nordqvist <jannq@google.com>2015-07-31 15:33:29 -0700
committerJan Nordqvist <jannq@google.com>2015-07-31 17:18:53 -0700
commitfb90c6fc3726b1bcfdbb2bd3db03c731a5316790 (patch)
tree08262b378d1eb69e3fc665befa28d51100ce03b0
parenta583f03e488628f29428d6b034d5d7b4b3df98e7 (diff)
downloadandroid_packages_apps_CertInstaller-fb90c6fc3726b1bcfdbb2bd3db03c731a5316790.tar.gz
android_packages_apps_CertInstaller-fb90c6fc3726b1bcfdbb2bd3db03c731a5316790.tar.bz2
android_packages_apps_CertInstaller-fb90c6fc3726b1bcfdbb2bd3db03c731a5316790.zip
Added logging in a few error paths for wifi config installation.
Bug: 22790527 Change-Id: I8f4bb40a572ae4e7f855e4bf4b028f9b889c5af1
-rw-r--r--src/com/android/certinstaller/WiFiInstaller.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/certinstaller/WiFiInstaller.java b/src/com/android/certinstaller/WiFiInstaller.java
index 9a0a785..00cb0bb 100644
--- a/src/com/android/certinstaller/WiFiInstaller.java
+++ b/src/com/android/certinstaller/WiFiInstaller.java
@@ -68,6 +68,7 @@ public class WiFiInstaller extends Activity {
}
}
} else {
+ Log.w(TAG, "failed to build wifi configuration");
doNotInstall = true;
}
}
@@ -143,6 +144,7 @@ public class WiFiInstaller extends Activity {
&& mWifiManager.saveConfiguration();
}
catch (RuntimeException rte) {
+ Log.w(TAG, "Caught exception while installing wifi config: " + rte, rte);
success = false;
}
if (success) {