Loading core/java/android/provider/Settings.java +5 −0 Original line number Diff line number Diff line Loading @@ -2008,6 +2008,11 @@ public final class Settings { */ public static final String INSTALL_NON_MARKET_APPS = "install_non_market_apps"; /** * @hide */ public static final String APPS2SD = "apps2sd"; /** * Comma-separated list of location providers that activities may access. */ Loading packages/SettingsProvider/res/values/defaults.xml +1 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ <bool name="def_bluetooth_on">false</bool> <bool name="def_install_non_market_apps">false</bool> <bool name="def_apps2sd">false</bool> <!-- Comma-separated list of location providers. Network location is off by default because it requires user opt-in via Setup Wizard or Settings. Loading packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java +4 −0 Original line number Diff line number Diff line Loading @@ -246,6 +246,7 @@ class DatabaseHelper extends SQLiteOpenHelper { Settings.Secure.DEVICE_PROVISIONED, Settings.Secure.HTTP_PROXY, Settings.Secure.INSTALL_NON_MARKET_APPS, Settings.Secure.APPS2SD, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, Settings.Secure.LOGGING_ID, Settings.Secure.NETWORK_PREFERENCE, Loading Loading @@ -682,6 +683,9 @@ class DatabaseHelper extends SQLiteOpenHelper { loadBooleanSetting(stmt, Settings.Secure.INSTALL_NON_MARKET_APPS, R.bool.def_install_non_market_apps); loadBooleanSetting(stmt, Settings.Secure.APPS2SD, R.bool.def_apps2sd); loadStringSetting(stmt, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, R.string.def_location_providers_allowed); Loading Loading
core/java/android/provider/Settings.java +5 −0 Original line number Diff line number Diff line Loading @@ -2008,6 +2008,11 @@ public final class Settings { */ public static final String INSTALL_NON_MARKET_APPS = "install_non_market_apps"; /** * @hide */ public static final String APPS2SD = "apps2sd"; /** * Comma-separated list of location providers that activities may access. */ Loading
packages/SettingsProvider/res/values/defaults.xml +1 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ <bool name="def_bluetooth_on">false</bool> <bool name="def_install_non_market_apps">false</bool> <bool name="def_apps2sd">false</bool> <!-- Comma-separated list of location providers. Network location is off by default because it requires user opt-in via Setup Wizard or Settings. Loading
packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java +4 −0 Original line number Diff line number Diff line Loading @@ -246,6 +246,7 @@ class DatabaseHelper extends SQLiteOpenHelper { Settings.Secure.DEVICE_PROVISIONED, Settings.Secure.HTTP_PROXY, Settings.Secure.INSTALL_NON_MARKET_APPS, Settings.Secure.APPS2SD, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, Settings.Secure.LOGGING_ID, Settings.Secure.NETWORK_PREFERENCE, Loading Loading @@ -682,6 +683,9 @@ class DatabaseHelper extends SQLiteOpenHelper { loadBooleanSetting(stmt, Settings.Secure.INSTALL_NON_MARKET_APPS, R.bool.def_install_non_market_apps); loadBooleanSetting(stmt, Settings.Secure.APPS2SD, R.bool.def_apps2sd); loadStringSetting(stmt, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, R.string.def_location_providers_allowed); Loading