summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/CryptKeeperConfirm.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/CryptKeeperConfirm.java')
-rw-r--r--src/com/android/settings/CryptKeeperConfirm.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/CryptKeeperConfirm.java b/src/com/android/settings/CryptKeeperConfirm.java
index 4822a83..71d5e96 100644
--- a/src/com/android/settings/CryptKeeperConfirm.java
+++ b/src/com/android/settings/CryptKeeperConfirm.java
@@ -72,7 +72,7 @@ public class CryptKeeperConfirm extends Fragment {
IMountService mountService = IMountService.Stub.asInterface(service);
try {
Bundle args = getIntent().getExtras();
- mountService.encryptStorage(args.getString("password"));
+ mountService.encryptStorage(args.getInt("type", -1), args.getString("password"));
} catch (Exception e) {
Log.e("CryptKeeper", "Error while encrypting...", e);
}