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

Commit f50d3955 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove hidden API usage: isFileEncryptedNativeOrEmulated"

parents 285e0b0e f9dc1e53
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@ import android.os.RemoteException;
import android.os.ServiceManager;
import android.os.UserHandle;
import android.os.UserManager;
import android.os.storage.StorageManager;
import android.provider.Telephony;
import android.provider.Telephony.Sms.Intents;
import android.service.carrier.CarrierMessagingService;
@@ -1045,9 +1044,9 @@ public abstract class InboundSmsHandler extends StateMachine {
    @UnsupportedAppUsage
    private void showNewMessageNotification() {
        // Do not show the notification on non-FBE devices.
        if (!StorageManager.isFileEncryptedNativeOrEmulated()) {
            return;
        }
        // if (!StorageManager.isFileEncryptedNativeOrEmulated()) {
        //     return;
        // }
        log("Show new message notification.");
        PendingIntent intent = PendingIntent.getBroadcast(
            mContext,