diff --git a/app/src/main/java/eu/faircode/email/FragmentSetup.java b/app/src/main/java/eu/faircode/email/FragmentSetup.java
index 40b5ee83c3..7637c326c1 100644
--- a/app/src/main/java/eu/faircode/email/FragmentSetup.java
+++ b/app/src/main/java/eu/faircode/email/FragmentSetup.java
@@ -464,7 +464,16 @@ public class FragmentSetup extends FragmentBase {
if (granted)
selectAccount();
else
- requestPermissions(permissions.toArray(new String[0]), ActivitySetup.REQUEST_CHOOSE_ACCOUNT);
+ new AlertDialog.Builder(getContext())
+ .setMessage(R.string.title_setup_gmail_rationale)
+ .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface dialog, int which) {
+ requestPermissions(permissions.toArray(new String[0]), ActivitySetup.REQUEST_CHOOSE_ACCOUNT);
+ }
+ })
+ .setNegativeButton(android.R.string.cancel, null)
+ .show();
}
private void selectAccount() {
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index ebda32c53e..c14608ba13 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -137,7 +137,7 @@
Wizard
Gmail
Other provider
- Authorizing …
+ Please grant permissions to select an account and read your name
Setup instructions
No settings found for domain \'%1$s\'
An account and an identity have successfully been added
@@ -419,6 +419,7 @@
ActiveSync is not supported
OAuth is not supported
Authorize
+ Authorizing …
Synchronize now
Synchronize all messages