Add option to uninstall TWRP app from /system
Change-Id: Ibe372a372333c357810be2afcb3796723ca370cb
This commit is contained in:
2
data.cpp
2
data.cpp
@@ -909,11 +909,13 @@ void DataManager::SetDefaultValues()
|
||||
#ifdef TW_OEM_BUILD
|
||||
LOGINFO("TW_OEM_BUILD := true\n");
|
||||
mConst.SetValue("tw_oem_build", "1");
|
||||
mConst.SetValue("tw_app_installed_in_system", "0");
|
||||
#else
|
||||
mConst.SetValue("tw_oem_build", "0");
|
||||
mPersist.SetValue("tw_app_prompt", "1");
|
||||
mPersist.SetValue("tw_app_install_system", "1");
|
||||
mData.SetValue("tw_app_install_status", "0"); // 0 = no status, 1 = not installed, 2 = already installed
|
||||
mData.SetValue("tw_app_installed_in_system", "0");
|
||||
#endif
|
||||
|
||||
mData.SetValue("tw_enable_adb_backup", "0");
|
||||
|
||||
Reference in New Issue
Block a user