Merge "Update getSubscriptionPlans documentation" am: f3ecc6182b am: 969acb192a

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2032283

Change-Id: I9844a808e85842c75f19a7153b56ed7dff7ec316
This commit is contained in:
Sarah Chin
2022-03-18 22:11:42 +00:00
committed by Automerger Merge Worker

View File

@@ -525,9 +525,11 @@ public class NetworkPolicyManager {
*
* @param subId the subscriber to get the subscription plans for.
* @param callingPackage the name of the package making the call.
* @return the active {@link SubscriptionPlan}s for the given subscription id, or
* {@code null} if not found.
* @hide
*/
@NonNull
@Nullable
public SubscriptionPlan[] getSubscriptionPlans(int subId, @NonNull String callingPackage) {
try {
return mService.getSubscriptionPlans(subId, callingPackage);
@@ -540,7 +542,7 @@ public class NetworkPolicyManager {
* Get subscription plan for the given networkTemplate.
*
* @param template the networkTemplate to get the subscription plan for.
* @return the active {@link SubscriptionPlan} for the given template, or
* @return the active {@link SubscriptionPlan}s for the given template, or
* {@code null} if not found.
* @hide
*/