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

Commit 05013379 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Automerger Merge Worker
Browse files

Only allow ownership changes via shell. am: 5a1190d7

Change-Id: Iacf40ac1a6fc1a9914e51e37186c319cc09fa7af
parents d8966a3b 5a1190d7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3350,6 +3350,7 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
     * existing plans; it simply lets the debug package define new plans.
     */
    void setSubscriptionPlansOwner(int subId, String packageName) {
        mContext.enforceCallingOrSelfPermission(NETWORK_SETTINGS, TAG);
        SystemProperties.set(PROP_SUB_PLAN_OWNER + "." + subId, packageName);
    }