Add an option to one click flash current booted TWRP ramdisk
Change-Id: I12303696698a5feaa43401bcac9e30d5b3b99a0c
This commit is contained in:
4
data.cpp
4
data.cpp
@@ -763,6 +763,8 @@ void DataManager::SetDefaultValues()
|
||||
mPersist.SetValue(TW_TIME_ZONE_GUISEL, "CST6;CDT,M3.2.0,M11.1.0");
|
||||
mPersist.SetValue(TW_TIME_ZONE_GUIOFFSET, "0");
|
||||
mPersist.SetValue(TW_TIME_ZONE_GUIDST, "1");
|
||||
mPersist.SetValue(TW_AUTO_REFLASHTWRP_VAR, "0");
|
||||
|
||||
mData.SetValue(TW_ACTION_BUSY, "0");
|
||||
mData.SetValue("tw_wipe_cache", "0");
|
||||
mData.SetValue("tw_wipe_dalvik", "0");
|
||||
@@ -1169,4 +1171,4 @@ void DataManager::LoadTWRPFolderInfo(void)
|
||||
string mainPath = GetCurrentStoragePath();
|
||||
SetValue(TW_RECOVERY_FOLDER_VAR, TWFunc::Check_For_TwrpFolder());
|
||||
mBackingFile = mainPath + GetStrValue(TW_RECOVERY_FOLDER_VAR) + '/' + TW_SETTINGS_FILE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user