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

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

Snap for 8650219 from 914c7801 to tm-d1-release

Change-Id: I87d15cb1bd7ba566aae5fd3a207199ee7f5761e9
parents d347aa0e 914c7801
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.");
                }