Merge "Setting the default value for dock audio"
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
<string name="def_unlock_sound" translatable="false">/system/media/audio/ui/Unlock.ogg</string>
|
||||
<bool name="def_lockscreen_disabled">false</bool>
|
||||
<bool name="def_device_provisioned">false</bool>
|
||||
<integer name="def_dock_audio_media_enabled">1</integer>
|
||||
|
||||
<!-- Notifications use ringer volume -->
|
||||
<bool name="def_notifications_use_ring_volume">true</bool>
|
||||
|
||||
@@ -2181,6 +2181,9 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
||||
loadStringSetting(stmt, Settings.Global.CAR_UNDOCK_SOUND,
|
||||
R.string.def_car_undock_sound);
|
||||
|
||||
loadIntegerSetting(stmt, Settings.Global.DOCK_AUDIO_MEDIA_ENABLED,
|
||||
R.integer.def_dock_audio_media_enabled);
|
||||
|
||||
loadSetting(stmt, Settings.Global.SET_INSTALL_LOCATION, 0);
|
||||
loadSetting(stmt, Settings.Global.DEFAULT_INSTALL_LOCATION,
|
||||
PackageHelper.APP_INSTALL_AUTO);
|
||||
|
||||
Reference in New Issue
Block a user