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

Commit 19281326 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not redact sms broadcast when device is fully managed" into main

parents 9c269a94 e879c727
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1509,7 +1509,7 @@ public abstract class InboundSmsHandler extends StateMachine {

        for (SmsMessage message: messages) {
            if (message != null && message.getDisplayMessageBody() != null
                    && Telephony.Sms.shouldCheckForOtp(message.getDisplayMessageBody())) {
                    && Telephony.Sms.shouldCheckForOtp(mContext, message.getDisplayMessageBody())) {
                return true;
            }
        }