  src/com/android/settings/CryptKeeper.java          |   12 +-
  src/com/android/settings/DecryptUserConfirm.java   |  102 +++
  src/com/android/settings/EncryptUser.java          |  684 ++++++++++++++++++++
- src/com/android/settings/EncryptUserConfirm.java   |  111 ++++
+ src/com/android/settings/EncryptUserConfirm.java   |  136 ++++
  src/com/android/settings/EncryptUserSettings.java  |  223 +++++++
  src/com/android/settings/SecuritySettings.java     |   33 +-
  src/com/android/settings/Settings.java             |    2 +
- 22 files changed, 1974 insertions(+), 3 deletions(-)
+ 22 files changed, 1999 insertions(+), 3 deletions(-)
  create mode 100644 res/layout/decrypt_user_confirm.xml
  create mode 100644 res/layout/decrypt_user_settings.xml
  create mode 100644 res/layout/encrypt_user_blank.xml

+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.Button;
+import android.app.StatusBarManager;
+import android.os.ServiceManager;
+import android.os.storage.IMountService;
+import android.app.ActivityManager;
+import android.os.ServiceManager;
+import android.os.IBinder;
+import android.os.storage.IMountService;
+import android.app.ActivityManager;
+import android.content.ComponentName;
+import android.content.pm.PackageManager;

+                // Post a delayed message in 700 milliseconds to enable encryption.
+                // NOTE: The animation on this activity is set for 500 milliseconds
+                // I am giving it a little extra time to complete.
+               HandlerThread thread = new HandlerThread("Encrypter");
+			   thread.start();
+			   Handler threadHandler = new Handler(thread.getLooper());
+			   threadHandler.postDelayed(new Runnable() {
+                    public void run() {
+                        IBinder service = ServiceManager.getService("mount");
+                        if (service == null) {
