am f2c67e24: am 8bc01824: am 094efb3f: am 407f74f4: Merge "Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value"
* commit 'f2c67e24e460e0d887bdd5167fccac9d5c54f34a': Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value
This commit is contained in:
@@ -173,4 +173,8 @@
|
|||||||
0 means no timeout; battery sounds will always play
|
0 means no timeout; battery sounds will always play
|
||||||
>0 is milliseconds of screen-off time after which battery sounds will not play -->
|
>0 is milliseconds of screen-off time after which battery sounds will not play -->
|
||||||
<integer name="def_low_battery_sound_timeout">0</integer>
|
<integer name="def_low_battery_sound_timeout">0</integer>
|
||||||
|
|
||||||
|
<!-- Default for Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE -->
|
||||||
|
<integer name="def_wifi_scan_always_available">0</integer>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -2274,6 +2274,9 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
|||||||
loadIntegerSetting(stmt, Settings.Global.LOW_BATTERY_SOUND_TIMEOUT,
|
loadIntegerSetting(stmt, Settings.Global.LOW_BATTERY_SOUND_TIMEOUT,
|
||||||
R.integer.def_low_battery_sound_timeout);
|
R.integer.def_low_battery_sound_timeout);
|
||||||
|
|
||||||
|
loadIntegerSetting(stmt, Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE,
|
||||||
|
R.integer.def_wifi_scan_always_available);
|
||||||
|
|
||||||
// --- New global settings start here
|
// --- New global settings start here
|
||||||
} finally {
|
} finally {
|
||||||
if (stmt != null) stmt.close();
|
if (stmt != null) stmt.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user