diff options
author | Suchi Amalapurapu <asuchitra@google.com> | 2010-02-10 12:39:20 -0800 |
---|---|---|
committer | Suchi Amalapurapu <asuchitra@google.com> | 2010-02-10 12:39:59 -0800 |
commit | a9c1625e71ddd7a9cdaf9d1720be8c58e4809fa6 (patch) | |
tree | 550539d08ffb8935e74d10c781972f56283dd1c9 /packages | |
parent | 117818e4f171b1fd9daa05349c48f61388f04567 (diff) | |
download | frameworks_base-a9c1625e71ddd7a9cdaf9d1720be8c58e4809fa6.zip frameworks_base-a9c1625e71ddd7a9cdaf9d1720be8c58e4809fa6.tar.gz frameworks_base-a9c1625e71ddd7a9cdaf9d1720be8c58e4809fa6.tar.bz2 |
Set default value for default install location
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java index ac20297..8b75b61 100644 --- a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java +++ b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java @@ -21,6 +21,7 @@ import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; +import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.res.Resources; import android.database.Cursor; @@ -865,7 +866,8 @@ public class DatabaseHelper extends SQLiteOpenHelper { loadBooleanSetting(stmt, Settings.System.NOTIFICATION_LIGHT_PULSE, R.bool.def_notification_pulse); loadBooleanSetting(stmt, Settings.System.SET_INSTALL_LOCATION, R.bool.set_install_location); - loadIntegerSetting(stmt, Settings.System.DEFAULT_INSTALL_LOCATION, 0); + loadSetting(stmt, Settings.System.DEFAULT_INSTALL_LOCATION, + PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY); stmt.close(); } |