summaryrefslogtreecommitdiffstats
path: root/keystore
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2009-08-03 15:01:58 +0800
committerChung-yih Wang <cywang@google.com>2009-08-03 15:11:36 +0800
commitdc1d5704a725d207b98de1b117847297958d9148 (patch)
treedd2e823cd931992d8bbafd054dcfedf567bf7055 /keystore
parentb86bad9493a331a09dd765bc6e725c0aec969ff6 (diff)
downloadframeworks_base-dc1d5704a725d207b98de1b117847297958d9148.zip
frameworks_base-dc1d5704a725d207b98de1b117847297958d9148.tar.gz
frameworks_base-dc1d5704a725d207b98de1b117847297958d9148.tar.bz2
Fix the auto notification cleanup when vpn is disconnected.
+ add the log print if the browser give the incorrect data in addCertificate().
Diffstat (limited to 'keystore')
-rw-r--r--keystore/java/android/security/CertTool.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/keystore/java/android/security/CertTool.java b/keystore/java/android/security/CertTool.java
index b1b78ea..989432a 100644
--- a/keystore/java/android/security/CertTool.java
+++ b/keystore/java/android/security/CertTool.java
@@ -209,6 +209,10 @@ public class CertTool {
}
freeX509Certificate(handle);
}
- if (intent != null) context.startActivity(intent);
+ if (intent != null) {
+ context.startActivity(intent);
+ } else {
+ Log.w("CertTool", "incorrect data for addCertificate()");
+ }
}
}