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

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

Merge "Use UserContext when getting CDM associations in isTrustedForSmsOtp" into main

parents fa825077 7b6821cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3837,7 +3837,7 @@ public final class SmsManager {

            // Apps with a current companion device association often need to relay all sms
            // messages to the companion device
            for (AssociationInfo info : getAllCdmAssociations(context)) {
            for (AssociationInfo info : getAllCdmAssociations(userContext)) {
                if (Objects.equals(info.getPackageName(), packageName)) {
                    return true;
                }