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

Commit bb6ac1e1 authored by Nate Myren's avatar Nate Myren Committed by Kiran Ramachandra
Browse files

Redact OTP messages from SMS broadcast

Before sending the RECEIVE_SMS broadcast, check if the SMS contains an
OTP. If it does, only send it to apps with
RECEIVE_SENSITIVE_NOTIFICATIONS permission

Bug: 351976749
Test: atest SmsTest SmsManagerTest SmsDispatchersControllerTest
Flag: com.android.internal.telephony.flags.redact_otp_sms

Change-Id: Ied8c17d7336abe3255532da39c2ee326aa833452
parent fa4f2e35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment