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

Commit d8e3f794 authored by Ling Ma's avatar Ling Ma Committed by Android (Google) Code Review
Browse files

Merge "Safetynet for attempt to read GROUP_UUID without READ_PRIVILEGED_PHONE_STATE" into tm-dev

parents af901105 ff82070c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3309,6 +3309,7 @@ public class SubscriptionController extends ISub.Stub {
            case SubscriptionManager.GROUP_UUID:
                if (mContext.checkCallingOrSelfPermission(
                        Manifest.permission.READ_PRIVILEGED_PHONE_STATE) != PERMISSION_GRANTED) {
                    EventLog.writeEvent(0x534e4554, "213457638", Binder.getCallingUid());
                    return null;
                }
                break;