Merge "Add comments in grouping APIs to clarify possible exceptions."
This commit is contained in:
@@ -2745,6 +2745,8 @@ public class SubscriptionManager {
|
||||
*
|
||||
* @throws SecurityException if the caller doesn't meet the requirements
|
||||
* outlined above.
|
||||
* @throws IllegalArgumentException if any of the subscriptions in the list doesn't exist.
|
||||
* @throws IllegalStateException if Telephony service is in bad state.
|
||||
*
|
||||
* @param subIdList list of subId that will be in the same group
|
||||
* @return groupUUID a UUID assigned to the subscription group.
|
||||
@@ -2793,6 +2795,7 @@ public class SubscriptionManager {
|
||||
* outlined above.
|
||||
* @throws IllegalArgumentException if the some subscriptions in the list doesn't exist,
|
||||
* or the groupUuid doesn't exist.
|
||||
* @throws IllegalStateException if Telephony service is in bad state.
|
||||
*
|
||||
* @param subIdList list of subId that need adding into the group
|
||||
* @param groupUuid the groupUuid the subscriptions are being added to.
|
||||
@@ -2845,6 +2848,7 @@ public class SubscriptionManager {
|
||||
* outlined above.
|
||||
* @throws IllegalArgumentException if the some subscriptions in the list doesn't belong
|
||||
* the specified group.
|
||||
* @throws IllegalStateException if Telephony service is in bad state.
|
||||
*
|
||||
* @param subIdList list of subId that need removing from their groups.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user