Commit 702888e9 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Login activity: add padding; sync: re-throw Interrupted(IO)Exception

parent 6b41849c
Pipeline #16187859 passed with stages
in 9 minutes and 2 seconds
......@@ -34,6 +34,7 @@ import okhttp3.HttpUrl
import okhttp3.RequestBody
import java.io.Closeable
import java.io.IOException
import java.io.InterruptedIOException
import java.security.cert.CertificateException
import java.util.*
import java.util.logging.Level
......@@ -166,7 +167,11 @@ abstract class SyncManager(
Logger.log.info("Remote collection didn't change, skipping remote sync")
} catch (e: InterruptedException) {
Logger.log.info("Synchronization was cancelled, stopping")
// re-throw to SyncAdapterService
throw e
} catch (e: InterruptedIOException) {
throw e
} catch (e: SSLHandshakeException) {
Logger.log.log(Level.WARNING, "SSL handshake failed", e)
......
......@@ -48,6 +48,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
android:paddingBottom="16dp"
android:orientation="vertical">
<android.support.design.widget.TextInputLayout
......@@ -87,6 +88,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
android:paddingBottom="16dp"
android:orientation="vertical">
<android.support.design.widget.TextInputLayout
......@@ -135,6 +137,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
android:paddingBottom="16dp"
android:orientation="vertical">
<android.support.design.widget.TextInputLayout
......
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