Loading core/java/com/android/internal/widget/LockPatternUtils.java +9 −0 Original line number Diff line number Diff line Loading @@ -882,6 +882,15 @@ public class LockPatternUtils { return "encrypted".equalsIgnoreCase(status); } /** * Determine if the device is file encrypted * @return true if device is file encrypted */ public static boolean isFileEncryptionEnabled() { final String status = SystemProperties.get("ro.crypto.type", ""); return "file".equalsIgnoreCase(status); } /** * Clears the encryption password. */ Loading Loading
core/java/com/android/internal/widget/LockPatternUtils.java +9 −0 Original line number Diff line number Diff line Loading @@ -882,6 +882,15 @@ public class LockPatternUtils { return "encrypted".equalsIgnoreCase(status); } /** * Determine if the device is file encrypted * @return true if device is file encrypted */ public static boolean isFileEncryptionEnabled() { final String status = SystemProperties.get("ro.crypto.type", ""); return "file".equalsIgnoreCase(status); } /** * Clears the encryption password. */ Loading