Update API documentation per api-council feedback.
Test: SMS/MMS sending/receiving sanity (manual)
Bug: 149236716
Merged--in: I59b9d468fa6e1a5843871abf1a330962aef64505
Change-Id: I59b9d468fa6e1a5843871abf1a330962aef64505
(cherry picked from commit d42340b66c)
This commit is contained in:
@@ -2768,7 +2768,7 @@ public final class SmsManager {
|
||||
getSubscriptionId(), null);
|
||||
}
|
||||
} catch (RemoteException ex) {
|
||||
// ignore it
|
||||
throw new RuntimeException(ex);
|
||||
}
|
||||
return smsc;
|
||||
}
|
||||
@@ -2790,7 +2790,7 @@ public final class SmsManager {
|
||||
* </p>
|
||||
*
|
||||
* @param smsc the SMSC address string.
|
||||
* @return true for success, false otherwise.
|
||||
* @return true for success, false otherwise. Failure can be due modem returning an error.
|
||||
*/
|
||||
@SuppressAutoDoc // for carrier privileges and default SMS application.
|
||||
@RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
|
||||
@@ -2802,7 +2802,7 @@ public final class SmsManager {
|
||||
smsc, getSubscriptionId(), null);
|
||||
}
|
||||
} catch (RemoteException ex) {
|
||||
// ignore it
|
||||
throw new RuntimeException(ex);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user