Merge "Set default value for default install location"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f67119bce5
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user