Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9c1625e authored by Suchi Amalapurapu's avatar Suchi Amalapurapu
Browse files

Set default value for default install location

parent 117818e4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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();
    }