Merge "Skip boot prompt for both native and emulated FBE." into nyc-dev
This commit is contained in:
@@ -896,8 +896,7 @@ public class LockPatternUtils {
|
||||
* @return true if device is file encrypted
|
||||
*/
|
||||
public static boolean isFileEncryptionEnabled() {
|
||||
final String status = SystemProperties.get("ro.crypto.type", "");
|
||||
return "file".equalsIgnoreCase(status);
|
||||
return StorageManager.isFileBasedEncryptionEnabled();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user