mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-07 07:56:14 +00:00
Label fix. Also added test timer
This commit is contained in:
parent
9b5a1f5bf6
commit
dfb92097e4
@ -52,7 +52,7 @@
|
||||
|
||||
<provider
|
||||
android:name=".providers.SmsDataProvider"
|
||||
android:label="@string/pref_title_slow_sync"
|
||||
android:label="@string/pref_title_sync"
|
||||
android:authorities="@string/account_authority">
|
||||
</provider>
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
|
||||
<provider
|
||||
android:name=".providers.SmsDataProvider"
|
||||
android:label="@string/pref_title_sync"
|
||||
android:label="@string/pref_title_slow_sync"
|
||||
android:authorities="@string/slowsync_account_authority">
|
||||
</provider>
|
||||
|
||||
|
@ -69,6 +69,7 @@
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_slow_sync_frequency_titles">
|
||||
<item>1 minute</item>
|
||||
<item>1 hour</item>
|
||||
<item>3 hours</item>
|
||||
<item>6 hours</item>
|
||||
@ -78,6 +79,7 @@
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_slow_sync_frequency_values">
|
||||
<item>1</item>
|
||||
<item>60</item>
|
||||
<item>180</item>
|
||||
<item>360</item>
|
||||
|
@ -153,7 +153,7 @@ public class GeneralSettingsActivity extends PreferenceActivity {
|
||||
mAccountAuthority, b, syncFreq * 60);
|
||||
}
|
||||
}
|
||||
|
||||
// Slow Sync frequency
|
||||
} else if (prefKey.equals(new String("slow_sync_frequency"))) {
|
||||
long syncFreq = Long.parseLong((String)value);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user