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

Commit 7020dbf0 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8649577 from 1dc39794 to tm-release

Change-Id: I5257b432893545777d51edd65ff977741f7e8b79
parents 93097dc8 1dc39794
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -254,6 +254,14 @@ public class TelecomServiceImpl {
                String callingFeatureId) {
            try {
                Log.startSession("TSI.gOSMPA", Log.getPackageAbbreviation(callingPackage));
                try {
                    enforceCallingPackage(callingPackage, "getOwnSelfManagedPhoneAccounts");
                }
                catch(SecurityException se){
                    EventLog.writeEvent(0x534e4554, "231986341", Binder.getCallingUid(),
                            "getOwnSelfManagedPhoneAccounts: invalid calling package");
                    throw se;
                }
                if (!canReadMangeOwnCalls("Requires MANAGE_OWN_CALLS permission.")) {
                    throw new SecurityException("Requires MANAGE_OWN_CALLS permission.");
                }