diff options
author | Jan Nordqvist <jannq@google.com> | 2015-07-31 15:33:29 -0700 |
---|---|---|
committer | Jan Nordqvist <jannq@google.com> | 2015-07-31 17:18:53 -0700 |
commit | fb90c6fc3726b1bcfdbb2bd3db03c731a5316790 (patch) | |
tree | 08262b378d1eb69e3fc665befa28d51100ce03b0 | |
parent | a583f03e488628f29428d6b034d5d7b4b3df98e7 (diff) | |
download | android_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.java | 2 |
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) { |