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

Commit 1945b0b9 authored by Eric Biggers's avatar Eric Biggers
Browse files

Use isFileEncrypted() instead of isFileEncryptedNativeOrEmulated()

Since emulated FBE is no longer supported,
isFileEncryptedNativeOrEmulated() is the same as the new method
isFileEncrypted().  Use isFileEncrypted() instead.

Bug: 232458753
Change-Id: Icd2c30420044d449b1a50e55c37e5d32936e3a80
parent 0ca971ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1147,7 +1147,7 @@ public abstract class InboundSmsHandler extends StateMachine {
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
    private void showNewMessageNotification() {
        // Do not show the notification on non-FBE devices.
        if (!StorageManager.isFileEncryptedNativeOrEmulated()) {
        if (!StorageManager.isFileEncrypted()) {
            return;
        }
        log("Show new message notification.");