Commit 718d7b3f authored by Gaël Duval's avatar Gaël Duval 🏄🏼

Change default OTA weekly check to daily check in Pie branch

parent 60314bf1
...@@ -387,7 +387,7 @@ public class Utils { ...@@ -387,7 +387,7 @@ public class Utils {
public static int getUpdateCheckSetting(Context context) { public static int getUpdateCheckSetting(Context context) {
SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context); SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context);
return preferences.getInt(Constants.PREF_AUTO_UPDATES_CHECK_INTERVAL, return preferences.getInt(Constants.PREF_AUTO_UPDATES_CHECK_INTERVAL,
Constants.AUTO_UPDATES_CHECK_INTERVAL_WEEKLY); Constants.AUTO_UPDATES_CHECK_INTERVAL_DAILY);
} }
public static boolean isUpdateCheckEnabled(Context context) { public static boolean isUpdateCheckEnabled(Context context) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment