Schematize Crypto state system property
am: 44a8870269
Change-Id: I838c26686446efe16c022de68d4e27850b7602fc
diff --git a/srcs/android/sysprop/CryptoProperties.sysprop b/srcs/android/sysprop/CryptoProperties.sysprop
index 7bf4667..a3a4fab 100644
--- a/srcs/android/sysprop/CryptoProperties.sysprop
+++ b/srcs/android/sysprop/CryptoProperties.sysprop
@@ -18,8 +18,19 @@
# Encryption type
prop {
api_name: "type"
- type: String
+ type: Enum
scope: Internal
access: Writeonce
+ enum_values: "block|file|none"
prop_name: "ro.crypto.type"
+}
+
+# Encryption state
+prop {
+ api_name: "state"
+ type: Enum
+ scope: Internal
+ access: Readonly
+ enum_values: "encrypted|unencrypted|unsupported"
+ prop_name: "ro.crypto.state"
}
\ No newline at end of file