1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-23 14:23:04 +00:00

Label fix, 0.16 tagging for Play Store and slow sync mode commented.

This commit is contained in:
Loïc Blot (@U-Exp)
2014-12-02 20:39:11 +01:00
parent 9093f69a57
commit 45c480106b
6 changed files with 19 additions and 15 deletions
@@ -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"));
}
}
}