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

Commit cebbfbba 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 am: 09776ec7

Change-Id: I172ca1b375dd79c761382c2aeaddc4fa3c997493
parents 98e5d07a 09776ec7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3353,6 +3353,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);
    }