diff --git a/build.gradle b/build.gradle
index 79c85b0c6..2fc9cf906 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,7 +6,7 @@ buildscript {
propMinSdkVersion = 16
propTargetSdkVersion = propCompileSdkVersion
propVersionCode = 1
- propVersionName = '3.14.19'
+ propVersionName = '3.15.0'
kotlin_version = '1.2.30'
support_libs = '27.1.0'
}
diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt
index 9b10c7812..a7d3e0496 100644
--- a/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt
+++ b/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt
@@ -192,4 +192,12 @@ open class BaseConfig(val context: Context) {
return prefs.getBoolean(SUNDAY_FIRST, isSundayFirst)
}
set(sundayFirst) = prefs.edit().putBoolean(SUNDAY_FIRST, sundayFirst).apply()
+
+ var wasAlarmWarningShown: Boolean
+ get() = prefs.getBoolean(WAS_ALARM_WARNING_SHOWN, false)
+ set(wasAlarmWarningShown) = prefs.edit().putBoolean(WAS_ALARM_WARNING_SHOWN, wasAlarmWarningShown).apply()
+
+ var wasReminderWarningShown: Boolean
+ get() = prefs.getBoolean(WAS_REMINDER_WARNING_SHOWN, false)
+ set(wasReminderWarningShown) = prefs.edit().putBoolean(WAS_REMINDER_WARNING_SHOWN, wasReminderWarningShown).apply()
}
diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt
index 9399f2279..e89442967 100644
--- a/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt
+++ b/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt
@@ -52,6 +52,8 @@ const val PREVENT_PHONE_FROM_SLEEPING = "prevent_phone_from_sleeping"
const val LAST_USED_VIEW_PAGER_PAGE = "last_used_view_pager_page"
const val USE_24_HOUR_FORMAT = "use_24_hour_format"
const val SUNDAY_FIRST = "sunday_first"
+const val WAS_ALARM_WARNING_SHOWN = "was_alarm_warning_shown"
+const val WAS_REMINDER_WARNING_SHOWN = "was_reminder_warning_shown"
// licenses
const val LICENSE_KOTLIN = 1
diff --git a/commons/src/main/res/values-az/strings.xml b/commons/src/main/res/values-az/strings.xml
index 4e972f54b..3360ce65b 100644
--- a/commons/src/main/res/values-az/strings.xml
+++ b/commons/src/main/res/values-az/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Settings
diff --git a/commons/src/main/res/values-br/strings.xml b/commons/src/main/res/values-br/strings.xml
index 42b208691..54d1d6b18 100644
--- a/commons/src/main/res/values-br/strings.xml
+++ b/commons/src/main/res/values-br/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Settings
diff --git a/commons/src/main/res/values-ca/strings.xml b/commons/src/main/res/values-ca/strings.xml
index d52dbff84..ae1be84f6 100644
--- a/commons/src/main/res/values-ca/strings.xml
+++ b/commons/src/main/res/values-ca/strings.xml
@@ -263,6 +263,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Ajustaments
diff --git a/commons/src/main/res/values-cs/strings.xml b/commons/src/main/res/values-cs/strings.xml
index a9c88a351..1de2b511e 100644
--- a/commons/src/main/res/values-cs/strings.xml
+++ b/commons/src/main/res/values-cs/strings.xml
@@ -271,6 +271,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Nastavení
diff --git a/commons/src/main/res/values-da/strings.xml b/commons/src/main/res/values-da/strings.xml
index 423d9160a..366125b1d 100644
--- a/commons/src/main/res/values-da/strings.xml
+++ b/commons/src/main/res/values-da/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Indstillinger
diff --git a/commons/src/main/res/values-de/strings.xml b/commons/src/main/res/values-de/strings.xml
index f2fd2e3f2..1bb3372a6 100644
--- a/commons/src/main/res/values-de/strings.xml
+++ b/commons/src/main/res/values-de/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Einstellungen
diff --git a/commons/src/main/res/values-es/strings.xml b/commons/src/main/res/values-es/strings.xml
index daacdfbf1..cb2e528ed 100644
--- a/commons/src/main/res/values-es/strings.xml
+++ b/commons/src/main/res/values-es/strings.xml
@@ -263,6 +263,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Ajustes
diff --git a/commons/src/main/res/values-fi/strings.xml b/commons/src/main/res/values-fi/strings.xml
index 398af8d83..708202030 100644
--- a/commons/src/main/res/values-fi/strings.xml
+++ b/commons/src/main/res/values-fi/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Settings
diff --git a/commons/src/main/res/values-fr/strings.xml b/commons/src/main/res/values-fr/strings.xml
index d7179adf7..c98aa9ef9 100644
--- a/commons/src/main/res/values-fr/strings.xml
+++ b/commons/src/main/res/values-fr/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Paramètres
diff --git a/commons/src/main/res/values-gl/strings.xml b/commons/src/main/res/values-gl/strings.xml
index 7564d48c8..d9f2eadf0 100644
--- a/commons/src/main/res/values-gl/strings.xml
+++ b/commons/src/main/res/values-gl/strings.xml
@@ -263,6 +263,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Ajustes
diff --git a/commons/src/main/res/values-hi-rIN/strings.xml b/commons/src/main/res/values-hi-rIN/strings.xml
index 6f8900caf..90c1ef47b 100644
--- a/commons/src/main/res/values-hi-rIN/strings.xml
+++ b/commons/src/main/res/values-hi-rIN/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Settings
diff --git a/commons/src/main/res/values-hr/strings.xml b/commons/src/main/res/values-hr/strings.xml
index efd274234..be7987d09 100644
--- a/commons/src/main/res/values-hr/strings.xml
+++ b/commons/src/main/res/values-hr/strings.xml
@@ -275,6 +275,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Postavke
diff --git a/commons/src/main/res/values-hu/strings.xml b/commons/src/main/res/values-hu/strings.xml
index 988f8f8c3..5b470f2ee 100644
--- a/commons/src/main/res/values-hu/strings.xml
+++ b/commons/src/main/res/values-hu/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Settings
diff --git a/commons/src/main/res/values-id/strings.xml b/commons/src/main/res/values-id/strings.xml
index 53b098447..c59282894 100644
--- a/commons/src/main/res/values-id/strings.xml
+++ b/commons/src/main/res/values-id/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Pengaturan
diff --git a/commons/src/main/res/values-it/strings.xml b/commons/src/main/res/values-it/strings.xml
index 8a8f45809..f72ea487d 100644
--- a/commons/src/main/res/values-it/strings.xml
+++ b/commons/src/main/res/values-it/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Impostazioni
diff --git a/commons/src/main/res/values-iw/strings.xml b/commons/src/main/res/values-iw/strings.xml
index 7b31f5799..2979536e5 100644
--- a/commons/src/main/res/values-iw/strings.xml
+++ b/commons/src/main/res/values-iw/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Settings
diff --git a/commons/src/main/res/values-ja/strings.xml b/commons/src/main/res/values-ja/strings.xml
index 11a143147..28fe80e97 100644
--- a/commons/src/main/res/values-ja/strings.xml
+++ b/commons/src/main/res/values-ja/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
設定
diff --git a/commons/src/main/res/values-ko-rKR/strings.xml b/commons/src/main/res/values-ko-rKR/strings.xml
index 56a213531..594480233 100644
--- a/commons/src/main/res/values-ko-rKR/strings.xml
+++ b/commons/src/main/res/values-ko-rKR/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
설정
diff --git a/commons/src/main/res/values-lt/strings.xml b/commons/src/main/res/values-lt/strings.xml
index db48eed81..ee7476ce4 100644
--- a/commons/src/main/res/values-lt/strings.xml
+++ b/commons/src/main/res/values-lt/strings.xml
@@ -274,6 +274,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Nustatymai
diff --git a/commons/src/main/res/values-nb/strings.xml b/commons/src/main/res/values-nb/strings.xml
index 7b1fe17be..078516792 100644
--- a/commons/src/main/res/values-nb/strings.xml
+++ b/commons/src/main/res/values-nb/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Innstillinger
diff --git a/commons/src/main/res/values-nl/strings.xml b/commons/src/main/res/values-nl/strings.xml
index 4018ff549..176122cd9 100644
--- a/commons/src/main/res/values-nl/strings.xml
+++ b/commons/src/main/res/values-nl/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Instellingen
diff --git a/commons/src/main/res/values-no/strings.xml b/commons/src/main/res/values-no/strings.xml
index 29670307a..8c691b7c2 100644
--- a/commons/src/main/res/values-no/strings.xml
+++ b/commons/src/main/res/values-no/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Innstillinger
diff --git a/commons/src/main/res/values-pl/strings.xml b/commons/src/main/res/values-pl/strings.xml
index 3e927b58a..35434aec4 100644
--- a/commons/src/main/res/values-pl/strings.xml
+++ b/commons/src/main/res/values-pl/strings.xml
@@ -271,6 +271,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Ustawienia
diff --git a/commons/src/main/res/values-pt-rBR/strings.xml b/commons/src/main/res/values-pt-rBR/strings.xml
index b369fedd3..42bd1410c 100644
--- a/commons/src/main/res/values-pt-rBR/strings.xml
+++ b/commons/src/main/res/values-pt-rBR/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Configurações
diff --git a/commons/src/main/res/values-pt/strings.xml b/commons/src/main/res/values-pt/strings.xml
index 904242bd2..f4cccc03d 100644
--- a/commons/src/main/res/values-pt/strings.xml
+++ b/commons/src/main/res/values-pt/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Definições
diff --git a/commons/src/main/res/values-ru/strings.xml b/commons/src/main/res/values-ru/strings.xml
index c5be38091..d01a67903 100644
--- a/commons/src/main/res/values-ru/strings.xml
+++ b/commons/src/main/res/values-ru/strings.xml
@@ -276,6 +276,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Настройки
diff --git a/commons/src/main/res/values-sk/strings.xml b/commons/src/main/res/values-sk/strings.xml
index 1ddc26457..9ff50e6b9 100644
--- a/commons/src/main/res/values-sk/strings.xml
+++ b/commons/src/main/res/values-sk/strings.xml
@@ -275,6 +275,8 @@
Zostávajúci čas do zvonenia budíka: %s
+ Pred tým, ako by ste sa na budík spoliehali, sa prosím uistite, že funguje správne. Niektoré systémové obmedzenia spojené so zlepšením výdrže batérie môžu spôsobiť problémy.
+ Pred tým, ako by ste sa na pripomienky spoliehali, sa prosím uistite, že fungujú správne. Niektoré systémové obmedzenia spojené so zlepšením výdrže batérie môžu spôsobiť problémy.
Nastavenia
diff --git a/commons/src/main/res/values-sv/strings.xml b/commons/src/main/res/values-sv/strings.xml
index 0c16b472b..416bbfafc 100644
--- a/commons/src/main/res/values-sv/strings.xml
+++ b/commons/src/main/res/values-sv/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Inställningar
diff --git a/commons/src/main/res/values-tr/strings.xml b/commons/src/main/res/values-tr/strings.xml
index 68a083bdb..ac5e37c45 100644
--- a/commons/src/main/res/values-tr/strings.xml
+++ b/commons/src/main/res/values-tr/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Ayarlar
diff --git a/commons/src/main/res/values-zh-rCN/strings.xml b/commons/src/main/res/values-zh-rCN/strings.xml
index 44d301389..0f3176839 100644
--- a/commons/src/main/res/values-zh-rCN/strings.xml
+++ b/commons/src/main/res/values-zh-rCN/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
设置
diff --git a/commons/src/main/res/values-zh-rTW/strings.xml b/commons/src/main/res/values-zh-rTW/strings.xml
index 68c9f1c01..a39d7c4e2 100644
--- a/commons/src/main/res/values-zh-rTW/strings.xml
+++ b/commons/src/main/res/values-zh-rTW/strings.xml
@@ -263,6 +263,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
設定
diff --git a/commons/src/main/res/values/strings.xml b/commons/src/main/res/values/strings.xml
index 9ac98d25e..fa2c8bd9e 100644
--- a/commons/src/main/res/values/strings.xml
+++ b/commons/src/main/res/values/strings.xml
@@ -264,6 +264,8 @@
Time remaining till the alarm goes off: %s
+ Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving.
+ Please make sure the reminders work properly before relying on them. They could misbehave due to system restrictions related to battery saving.
Settings