From 645e5f2d9177fcbcc8d53eceb5698e8ab897689a Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 23 Oct 2018 08:07:31 +0000 Subject: [PATCH] Default keep alive each 19 minutes --- app/src/main/java/eu/faircode/email/FragmentAccount.java | 2 +- app/src/main/res/layout/fragment_account.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentAccount.java b/app/src/main/java/eu/faircode/email/FragmentAccount.java index 2f20766cc7..6777fcf03b 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAccount.java +++ b/app/src/main/java/eu/faircode/email/FragmentAccount.java @@ -654,7 +654,7 @@ public class FragmentAccount extends FragmentEx { if (TextUtils.isEmpty(password) && !insecure) throw new Throwable(getContext().getString(R.string.title_no_password)); if (TextUtils.isEmpty(interval)) - interval = "9"; + interval = "19"; if (synchronize && drafts == null) throw new Throwable(getContext().getString(R.string.title_no_drafts)); if (Color.TRANSPARENT == color) diff --git a/app/src/main/res/layout/fragment_account.xml b/app/src/main/res/layout/fragment_account.xml index c95e3733b9..0e0e7bfd49 100644 --- a/app/src/main/res/layout/fragment_account.xml +++ b/app/src/main/res/layout/fragment_account.xml @@ -352,7 +352,7 @@ android:id="@+id/etInterval" android:layout_width="match_parent" android:layout_height="wrap_content" - android:hint="9" + android:hint="19" android:inputType="number" android:textAppearance="@style/TextAppearance.AppCompat.Medium" app:layout_constraintStart_toStartOf="parent"