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

Commit ff82070c authored by Ling Ma's avatar Ling Ma
Browse files

Safetynet for attempt to read GROUP_UUID without READ_PRIVILEGED_PHONE_STATE

Test: atest
Bug: 213457638
Change-Id: Ie8017c39a495f93603aeb5d1a335fe2fe528cf77
parent 07121aea
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3293,6 +3293,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;