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

Commit 1634c5e5 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: 1ea77477

Change-Id: I33cc43a28e2abc139586ee16825486989a8eae80
parents 54879e14 1ea77477
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);
    }