From cdcb773ceab3bc9b7b090c0b195c7b3df0d808ad Mon Sep 17 00:00:00 2001 From: Brandon Bennett Date: Sun, 5 Jun 2011 16:40:00 -0600 Subject: [PATCH] Rename format_ignore_partitions to a forbid_format There is a max length for system property names at 32 characters. The old recovery property name was over this length. Renamed the property to one much shorter so it is read properly. Change-Id: Iecadd1218a64cab0c4fb94c5e910b920217580f1 --- extendedcommands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extendedcommands.c b/extendedcommands.c index f3542b7..cb44cb1 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -494,7 +494,7 @@ int is_safe_to_format(char* name) { char str[255]; char* partition; - property_get("ro.recovery.format_ignore_partitions", str, "/misc,/radio,/bootloader,/recovery"); + property_get("ro.cwm.forbid_format", str, "/misc,/radio,/bootloader,/recovery"); partition = strtok(str, ", "); while (partition != NULL) {