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

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

Only allow ownership changes via shell. am: 5a1190d7 am: b75feea3 am: 75d52898

Change-Id: I27e1a48d96fade757c085597732c676571317d50
parents 755ece60 75d52898
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);
    }