diff --git a/app/src/main/java/eu/faircode/email/FragmentSetup.java b/app/src/main/java/eu/faircode/email/FragmentSetup.java
index 9f64578243..3eb8fe51fd 100644
--- a/app/src/main/java/eu/faircode/email/FragmentSetup.java
+++ b/app/src/main/java/eu/faircode/email/FragmentSetup.java
@@ -78,6 +78,7 @@ public class FragmentSetup extends FragmentBase {
private TextView tvDozeDone;
private Button btnDoze;
private Button btnBattery;
+ private Button btnStopped;
private Button btnDataSaver;
@@ -123,6 +124,7 @@ public class FragmentSetup extends FragmentBase {
tvDozeDone = view.findViewById(R.id.tvDozeDone);
btnDoze = view.findViewById(R.id.btnDoze);
btnBattery = view.findViewById(R.id.btnBattery);
+ btnStopped = view.findViewById(R.id.btnStopped);
btnDataSaver = view.findViewById(R.id.btnDataSaver);
@@ -229,6 +231,13 @@ public class FragmentSetup extends FragmentBase {
}
});
+ btnStopped.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ Helper.viewFAQ(getContext(), 16);
+ }
+ });
+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
final Intent settings = new Intent(
Settings.ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS,
diff --git a/app/src/main/res/layout/fragment_setup.xml b/app/src/main/res/layout/fragment_setup.xml
index 480e7ea97e..40228055b1 100644
--- a/app/src/main/res/layout/fragment_setup.xml
+++ b/app/src/main/res/layout/fragment_setup.xml
@@ -471,6 +471,18 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnDoze" />
+
+
To continuously receive email (optional)
In the next dialog, select \"All apps\" at the top, select this app and select and confirm \"Don\'t optimize\"
High battery usage?
+ Sync stopped?
Data saver is enabled
Go to messages
To do