Merge "Skip boot prompt for both native and emulated FBE." into nyc-dev

This commit is contained in:
Jeff Sharkey
2016-03-01 00:14:18 +00:00
committed by Android (Google) Code Review

View File

@@ -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();
}
/**