diff --git a/res/values/strings.xml b/res/values/strings.xml index 367c29b50..c31b0c665 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -718,7 +718,7 @@ Background notifications Uses a background connection to your server and requires ignored battery optimizations. - To maintain connection to your server and receive messages in the background, ignore battery optimizations in the next step.\n\nDelta Chat uses few resources and takes care not to drain your battery. + To maintain connection to your email server and receive messages in the background, ignore battery optimizations in the next step.\n\nDelta Chat uses few resources and takes care not to drain your battery. Reliable background connection Requires a permanent notification diff --git a/src/org/thoughtcrime/securesms/components/reminder/DozeReminder.java b/src/org/thoughtcrime/securesms/components/reminder/DozeReminder.java index 06eac7445..30474e6e4 100644 --- a/src/org/thoughtcrime/securesms/components/reminder/DozeReminder.java +++ b/src/org/thoughtcrime/securesms/components/reminder/DozeReminder.java @@ -113,8 +113,8 @@ public class DozeReminder { && !((PowerManager) context.getSystemService(Context.POWER_SERVICE)).isIgnoringBatteryOptimizations(context.getPackageName())) { new AlertDialog.Builder(context) .setTitle(R.string.pref_background_notifications) - .setMessage(R.string.pref_background_notifications_ask) - .setPositiveButton(R.string.ok, (dialog, which) -> { + .setMessage(R.string.pref_background_notifications_rationale) + .setPositiveButton(R.string.perm_continue, (dialog, which) -> { Intent intent = new Intent(Settings.ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS, Uri.parse("package:" + context.getPackageName())); context.startActivity(intent);