Browse Source

Revert "Increase default keep alive interval to 19 minutes"

This reverts commit 362f025267.
main
M66B 6 years ago
parent
commit
5466e06b07
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      .idea/misc.xml
  2. +1
    -1
      app/src/main/java/eu/faircode/email/FragmentAccount.java
  3. +1
    -1
      app/src/main/res/layout/fragment_account.xml

+ 1
- 1
.idea/misc.xml View File

@ -25,7 +25,7 @@
</value> </value>
</option> </option>
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">


+ 1
- 1
app/src/main/java/eu/faircode/email/FragmentAccount.java View File

@ -625,7 +625,7 @@ public class FragmentAccount extends FragmentEx {
if (TextUtils.isEmpty(password)) if (TextUtils.isEmpty(password))
throw new Throwable(getContext().getString(R.string.title_no_password)); throw new Throwable(getContext().getString(R.string.title_no_password));
if (TextUtils.isEmpty(interval)) if (TextUtils.isEmpty(interval))
interval = "19";
interval = "12";
if (synchronize && drafts == null) if (synchronize && drafts == null)
throw new Throwable(getContext().getString(R.string.title_no_drafts)); throw new Throwable(getContext().getString(R.string.title_no_drafts));


+ 1
- 1
app/src/main/res/layout/fragment_account.xml View File

@ -334,7 +334,7 @@
android:id="@+id/etInterval" android:id="@+id/etInterval"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="19"
android:hint="12"
android:inputType="number" android:inputType="number"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"


Loading…
Cancel
Save