LineageSettingsProvider: Don't set LINEAGE_SETUP_WIZARD_COMPLETED
*) This was initialized from Settings.Global.DEVICE_PROVISIONED and it is no longer possible to access system settings during provider startup since:235272a216*) LINEAGE_SETUP_WIZARD_COMPLETED has been deprecated since 14.1:797a45aa69*) We will later cleanup the unused setting during topic:pie-db-upgrade Change-Id: I185648ca25995fae80362642d297573795d04bfa
This commit is contained in:
committed by
Bruno Martins
parent
25c4fbbe52
commit
8daa2ca6ae
@@ -419,10 +419,6 @@ public class LineageDatabaseHelper extends SQLiteOpenHelper{
|
||||
loadStringSetting(stmt,
|
||||
LineageSettings.Secure.PROTECTED_COMPONENT_MANAGERS,
|
||||
R.string.def_protected_component_managers);
|
||||
|
||||
final String provisionedFlag = Settings.Global.getString(mContext.getContentResolver(),
|
||||
Settings.Global.DEVICE_PROVISIONED);
|
||||
loadSetting(stmt, LineageSettings.Secure.LINEAGE_SETUP_WIZARD_COMPLETED, provisionedFlag);
|
||||
} finally {
|
||||
if (stmt != null) stmt.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user