Android->SettingsProvider: 修改NTP服务器

This commit is contained in:
Guanzl
2016-09-26 19:05:32 +08:00
committed by cjp
parent 3e3038cb26
commit c4d334a7d8
2 changed files with 7 additions and 0 deletions

View File

@ -227,6 +227,10 @@
<!--Default for HDMI_LCD_TIMEOUT-->
<integer name="def_hdmi_lcd_timeout">-1</integer>
<string name="def_ntp_server" translatable="false">
time.windows.com
</string>
<!-- Default for Settings.System.BUTTON_LIGHTS_ENABLED -->
<bool name="def_button_lights_enabled">true</bool>

View File

@ -2546,6 +2546,9 @@ public class DatabaseHelper extends SQLiteOpenHelper {
// --- Previously in 'system'
loadBooleanSetting(stmt, Settings.Global.AIRPLANE_MODE_ON,
R.bool.def_airplane_mode_on);
loadStringSetting(stmt, Settings.Global.NTP_SERVER,
R.string.def_ntp_server);
loadBooleanSetting(stmt, Settings.Global.THEATER_MODE_ON,
R.bool.def_theater_mode_on);