aboutsummaryrefslogtreecommitdiffstats
path: root/default_recovery_ui.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-06-18 15:07:14 -0700
committerDoug Zongker <dougz@android.com>2009-06-18 15:07:14 -0700
commitb128f54d0daa749d301b99a6637f42aa35822a76 (patch)
tree889519250f40824c6df6ea197a8edee75cf95e10 /default_recovery_ui.c
parentf8aaf0a77f72cc5614d9b9135c0d00f8a8160f20 (diff)
downloadbootable_recovery-b128f54d0daa749d301b99a6637f42aa35822a76.zip
bootable_recovery-b128f54d0daa749d301b99a6637f42aa35822a76.tar.gz
bootable_recovery-b128f54d0daa749d301b99a6637f42aa35822a76.tar.bz2
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.
Diffstat (limited to 'default_recovery_ui.c')
-rw-r--r--default_recovery_ui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/default_recovery_ui.c b/default_recovery_ui.c
index 76fa43e..a2e4bea 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;
+}