Add comments in grouping APIs to clarify possible exceptions.
Bug: 127408608 Test: cts, unittest, TelephonyManagerTestApp Change-Id: I3671e366be7e8c3a75b5ee23b7cf88a33ecd3a4f
This commit is contained in:
committed by
Xiangyu/Malcolm Chen
parent
442a4e7b16
commit
e00887f612
@@ -2749,6 +2749,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.
|
||||
@@ -2797,6 +2799,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.
|
||||
@@ -2849,6 +2852,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