From b128f54d0daa749d301b99a6637f42aa35822a76 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Thu, 18 Jun 2009 15:07:14 -0700 Subject: add function for device-specific wipe data features Some devices want to do special things when recovery wipes data (eg, wipe data in their baseband processor as well). Add a hook in the device-specific recovery library that gets called when data is wiped. Also add an amend root for the "mbm" partition. --- default_recovery_ui.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'default_recovery_ui.c') diff --git a/default_recovery_ui.c b/default_recovery_ui.c index 76fa43ea9..a2e4beafe 100644 --- a/default_recovery_ui.c +++ b/default_recovery_ui.c @@ -59,3 +59,7 @@ int device_handle_key(int key_code, int visible) { int device_perform_action(int which) { return which; } + +int device_wipe_data() { + return 0; +} -- cgit v1.2.3