Fail safety: if settings cannot loaded (invalid data in sharedpreferences), reset it and try again.

This commit is contained in:
Dennis Guse
2019-11-07 18:59:30 +01:00
parent e5d1048c8d
commit 40f2463f09
2 changed files with 16 additions and 3 deletions
+5 -1
View File
@@ -1219,7 +1219,11 @@ limitations under the License.
All settings have been reverted to the default values
</string>
<!-- Settings Sensor -->
<string name="settings_error_initial_values_restored" translation_description="If the ">
Sorry, but an error occurred: and the all settings were reset to there default values.
</string>
<!-- Settings Sensor -->
<string name="settings_sensor" translation_description="In the 'Settings' page, the option to change the sensor settings.
Character limit: ~26 (1 line)">