Add option to uninstall TWRP app from /system

Change-Id: Ibe372a372333c357810be2afcb3796723ca370cb
This commit is contained in:
Ethan Yonker
2019-05-16 19:07:06 +02:00
committed by Dees Troy
parent 9f5dd3139e
commit 76bbd3a11a
10 changed files with 121 additions and 13 deletions
+1
View File
@@ -1550,6 +1550,7 @@ void TWPartitionManager::Update_System_Details(void) {
if ((*iter)->Mount_Point == Get_Android_Root_Path()) {
int backup_display_size = (int)((*iter)->Backup_Size / 1048576LLU);
DataManager::SetValue(TW_BACKUP_SYSTEM_SIZE, backup_display_size);
TWFunc::Is_TWRP_App_In_System();
} else if ((*iter)->Mount_Point == "/data" || (*iter)->Mount_Point == "/datadata") {
data_size += (int)((*iter)->Backup_Size / 1048576LLU);
} else if ((*iter)->Mount_Point == "/cache") {