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

Commit 9692052d authored by Meng Wang's avatar Meng Wang Committed by android-build-merger
Browse files

Merge "Remove hidden API usage: isFileEncryptedNativeOrEmulated" am: f50d3955

am: d8e4ae12

Change-Id: I0e2b774f9d89cf82aa185e5d754125f11042b6f9
parents f7638b25 d8e4ae12
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -51,7 +51,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;
@@ -1046,9 +1045,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,