From 1f4df90bfab8ca42eabe95f19eadff3432eee7fd Mon Sep 17 00:00:00 2001 From: Oscar Montemayor Date: Fri, 26 Mar 2010 18:44:14 -0700 Subject: DO NOT MERGE Removing unused features from source tree. Please refer to Bug#2502219. Change-Id: I879c29bfd5ffe933f64bb1082aaae7c956450a5a --- core/java/android/os/RecoverySystem.java | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'core/java/android/os/RecoverySystem.java') diff --git a/core/java/android/os/RecoverySystem.java b/core/java/android/os/RecoverySystem.java index 1b103aa81fc8..b3ec114aa30d 100644 --- a/core/java/android/os/RecoverySystem.java +++ b/core/java/android/os/RecoverySystem.java @@ -351,23 +351,6 @@ public class RecoverySystem { bootCommand(context, "--wipe_data"); } - /** - * Reboot into the recovery system to wipe the /data partition and toggle - * Encrypted File Systems on/off. - * @param extras to add to the RECOVERY_COMPLETED intent after rebooting. - * @throws IOException if something goes wrong. - * - * @hide - */ - public static void rebootToggleEFS(Context context, boolean efsEnabled) - throws IOException { - if (efsEnabled) { - bootCommand(context, "--set_encrypted_filesystem=on"); - } else { - bootCommand(context, "--set_encrypted_filesystem=off"); - } - } - /** * Reboot into the recovery system with the supplied argument. * @param arg to pass to the recovery utility. -- cgit v1.2.3