Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de2dabba authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Skip boot prompt for both native and emulated FBE.

Bug: 27412530
Change-Id: I53d39392ccab54cb79cf6cc1e51923ad7b5a3b0c
parent 1176e51b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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();
    }

    /**