OSDN Git Service

Switch pattern/PIN constants to match values in cryptfs.h
authorPaul Crowley <paulcrowley@google.com>
Tue, 3 Jul 2018 18:49:00 +0000 (11:49 -0700)
committerMichael Bestas <mkbestas@lineageos.org>
Tue, 6 Nov 2018 15:56:57 +0000 (16:56 +0100)
Bug: 111051602
Test: Steps to reproduce in b/111051602
Change-Id: I21955f41d2594917d5baa1bc4d61da0106cd9170

binder/android/os/IVold.aidl

index 8300a8e..f386889 100644 (file)
@@ -113,8 +113,8 @@ interface IVold {
 
     const int PASSWORD_TYPE_PASSWORD = 0;
     const int PASSWORD_TYPE_DEFAULT = 1;
-    const int PASSWORD_TYPE_PIN = 2;
-    const int PASSWORD_TYPE_PATTERN = 3;
+    const int PASSWORD_TYPE_PATTERN = 2;
+    const int PASSWORD_TYPE_PIN = 3;
 
     const int STORAGE_FLAG_DE = 1;
     const int STORAGE_FLAG_CE = 2;