am 634471ed: Load default Dream settings into a clean db.
* commit '634471edc409f00f38633e334cd6853954a2b093': Load default Dream settings into a clean db.
This commit is contained in:
@@ -1697,6 +1697,13 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
|||||||
|
|
||||||
loadIntegerSetting(stmt, Settings.Secure.WIFI_MAX_DHCP_RETRY_COUNT,
|
loadIntegerSetting(stmt, Settings.Secure.WIFI_MAX_DHCP_RETRY_COUNT,
|
||||||
R.integer.def_max_dhcp_retries);
|
R.integer.def_max_dhcp_retries);
|
||||||
|
|
||||||
|
loadBooleanSetting(stmt, Settings.Secure.SCREENSAVER_ENABLED,
|
||||||
|
R.bool.def_screensaver_enabled);
|
||||||
|
loadBooleanSetting(stmt, Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK,
|
||||||
|
R.bool.def_screensaver_activate_on_dock);
|
||||||
|
loadStringSetting(stmt, Settings.Secure.SCREENSAVER_COMPONENT,
|
||||||
|
R.string.def_screensaver_component);
|
||||||
} finally {
|
} finally {
|
||||||
if (stmt != null) stmt.close();
|
if (stmt != null) stmt.close();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user