diff options
Diffstat (limited to '')
-rw-r--r-- | twrp.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -51,6 +51,7 @@ struct selabel_handle *selinux_handle; TWPartitionManager PartitionManager; int Log_Offset; +bool datamedia; twrpDU du; static void Print_Prop(const char *key, const char *name, void *cookie) { @@ -76,6 +77,10 @@ int main(int argc, char **argv) { return 0; } +#ifdef RECOVERY_SDCARD_ON_DATA + datamedia = true; +#endif + char crash_prop_val[PROPERTY_VALUE_MAX]; int crash_counter; property_get("twrp.crash_counter", crash_prop_val, "-1"); |