Loading build.gradle +1 −1 Original line number Diff line number Diff line buildscript { ext.kotlin_version = '1.1.4-2' ext.kotlin_version = '1.1.4-3' repositories { jcenter() Loading src/main/java/at/bitfire/cert4android/CustomCertService.kt +7 −1 Original line number Diff line number Diff line Loading @@ -194,7 +194,13 @@ class CustomCertService: Service() { val id = msg.arg1 val data = msg.data val cert = data.getSerializable(MSG_DATA_CERTIFICATE) as X509Certificate val cert = try { data.getSerializable(MSG_DATA_CERTIFICATE) as X509Certificate } catch(e: Exception) { // for instance: NotSerializableException wrapped in RuntimeException Constants.log.log(Level.SEVERE, "Couldn't handle certificate", e) return } val replyInfo = ReplyInfo(msg.replyTo, id) Loading Loading
build.gradle +1 −1 Original line number Diff line number Diff line buildscript { ext.kotlin_version = '1.1.4-2' ext.kotlin_version = '1.1.4-3' repositories { jcenter() Loading
src/main/java/at/bitfire/cert4android/CustomCertService.kt +7 −1 Original line number Diff line number Diff line Loading @@ -194,7 +194,13 @@ class CustomCertService: Service() { val id = msg.arg1 val data = msg.data val cert = data.getSerializable(MSG_DATA_CERTIFICATE) as X509Certificate val cert = try { data.getSerializable(MSG_DATA_CERTIFICATE) as X509Certificate } catch(e: Exception) { // for instance: NotSerializableException wrapped in RuntimeException Constants.log.log(Level.SEVERE, "Couldn't handle certificate", e) return } val replyInfo = ReplyInfo(msg.replyTo, id) Loading