diff options
| author | Oscar Montemayor <oam@google.com> | 2010-03-26 18:44:14 -0700 |
|---|---|---|
| committer | Oscar Montemayor <oam@google.com> | 2010-03-29 18:12:24 -0700 |
| commit | 1f4df90bfab8ca42eabe95f19eadff3432eee7fd (patch) | |
| tree | 13d9bc806e8850259b2b939d7ee9cf02651bf9d7 /core/java/android/os/RecoverySystem.java | |
| parent | 59fc58dc3f164e33a96aee09505fac5818747cb6 (diff) | |
DO NOT MERGE
Removing unused features from source tree.
Please refer to Bug#2502219.
Change-Id: I879c29bfd5ffe933f64bb1082aaae7c956450a5a
Diffstat (limited to 'core/java/android/os/RecoverySystem.java')
| -rw-r--r-- | core/java/android/os/RecoverySystem.java | 17 |
1 files changed, 0 insertions, 17 deletions
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 @@ -352,23 +352,6 @@ public class RecoverySystem { } /** - * 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. * @throws IOException if something goes wrong. |
