mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-07 16:06:18 +00:00
Label fix, 0.16 tagging for Play Store and slow sync mode commented.
This commit is contained in:
parent
9093f69a57
commit
45c480106b
@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="fr.unix_experience.owncloud_sms"
|
||||
android:versionCode="15"
|
||||
android:versionName="0.15.5" >
|
||||
<!-- From Android 3.0 to 4.4w -->
|
||||
android:versionCode="16"
|
||||
android:versionName="0.16.0" >
|
||||
<!-- From Android 3.0 to 5.0 -->
|
||||
<uses-sdk
|
||||
android:minSdkVersion="11"
|
||||
android:maxSdkVersion="21"
|
||||
@ -56,6 +56,7 @@
|
||||
android:authorities="@string/account_authority">
|
||||
</provider>
|
||||
|
||||
<!--
|
||||
<service
|
||||
android:name=".sync_adapters.SmsSlowSyncService"
|
||||
android:exported="true"
|
||||
@ -74,6 +75,7 @@
|
||||
android:label="@string/pref_title_slow_sync"
|
||||
android:authorities="@string/slowsync_account_authority">
|
||||
</provider>
|
||||
-->
|
||||
|
||||
<!-- Related to Login -->
|
||||
<service android:name=".authenticators.OwnCloudAuthenticatorService">
|
||||
|
@ -26,13 +26,13 @@
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- Translations must begin there -->
|
||||
<!-- Preferences -->
|
||||
<string name="pref_title_sync">Fast Sync</string>
|
||||
<string name="pref_title_sync_frequency">Fast Sync frequency</string>
|
||||
<string name="pref_title_slow_sync">Secure Slow Sync</string>
|
||||
<string name="pref_title_slow_sync_frequency">Secure Slow Sync frequency</string>
|
||||
|
||||
<!-- Translations must begin there -->
|
||||
<!-- Preferences -->
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="sync_now">Synchronize now</string>
|
||||
<string name="pref_category_sync">Synchronization</string>
|
||||
|
@ -40,6 +40,9 @@
|
||||
|
||||
<string name="pref_header_data_sync">Données & synchronisation</string>
|
||||
<string name="pref_title_sync_frequency">Fréquence de synchronisation</string>
|
||||
<string name="pref_title_sync">SMS - Méthode rapide</string>
|
||||
<string name="pref_title_slow_sync">SMS - Méthode lente (sécurisée)</string>
|
||||
<string name="pref_title_slow_sync_frequency">Fréquence de la synchronisation lente</string>
|
||||
|
||||
<string name="title_activity_general_settings">Préférences générales</string>
|
||||
|
||||
|
@ -38,9 +38,9 @@
|
||||
|
||||
<!-- Translations must begin there -->
|
||||
<!-- Preferences -->
|
||||
<string name="pref_title_sync">Fast Sync</string>
|
||||
<string name="pref_title_sync">SMS - Fast</string>
|
||||
<string name="pref_title_sync_frequency">Fast Sync frequency</string>
|
||||
<string name="pref_title_slow_sync">Secure Slow Sync</string>
|
||||
<string name="pref_title_slow_sync">SMS - Slow and Secure</string>
|
||||
<string name="pref_title_slow_sync_frequency">Secure Slow Sync frequency</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="sync_now">Synchronize now</string>
|
||||
|
@ -9,13 +9,13 @@
|
||||
android:negativeButtonText="@null"
|
||||
android:positiveButtonText="@null"
|
||||
android:title="@string/pref_title_sync_frequency" />
|
||||
<ListPreference
|
||||
<!-- <ListPreference
|
||||
android:defaultValue="60"
|
||||
android:entries="@array/pref_slow_sync_frequency_titles"
|
||||
android:entryValues="@array/pref_slow_sync_frequency_values"
|
||||
android:key="slow_sync_frequency"
|
||||
android:negativeButtonText="@null"
|
||||
android:positiveButtonText="@null"
|
||||
android:title="@string/pref_title_slow_sync_frequency" />
|
||||
android:title="@string/pref_title_slow_sync_frequency" /> -->
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
@ -71,7 +71,7 @@ public class GeneralSettingsActivity extends PreferenceActivity {
|
||||
// their values. When their values change, their summaries are updated
|
||||
// to reflect the new value, per the Android Design guidelines.
|
||||
bindPreferenceSummaryToValue(findPreference("sync_frequency"));
|
||||
bindPreferenceSummaryToValue(findPreference("slow_sync_frequency"));
|
||||
//bindPreferenceSummaryToValue(findPreference("slow_sync_frequency"));
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@ -154,7 +154,7 @@ public class GeneralSettingsActivity extends PreferenceActivity {
|
||||
}
|
||||
}
|
||||
// Slow Sync frequency
|
||||
} else if (prefKey.equals(new String("slow_sync_frequency"))) {
|
||||
} /*else if (prefKey.equals(new String("slow_sync_frequency"))) {
|
||||
long syncFreq = Long.parseLong((String)value);
|
||||
|
||||
// Get ownCloud SMS account list
|
||||
@ -182,8 +182,7 @@ public class GeneralSettingsActivity extends PreferenceActivity {
|
||||
mSlowSyncAccountAuthority, b, syncFreq * 60);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}*/
|
||||
} else {
|
||||
// For all other preferences, set the summary to the value's
|
||||
// simple string representation.
|
||||
@ -235,7 +234,7 @@ public class GeneralSettingsActivity extends PreferenceActivity {
|
||||
// updated to reflect the new value, per the Android Design
|
||||
// guidelines.
|
||||
bindPreferenceSummaryToValue(findPreference("sync_frequency"));
|
||||
bindPreferenceSummaryToValue(findPreference("slow_sync_frequency"));
|
||||
//bindPreferenceSummaryToValue(findPreference("slow_sync_frequency"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user