Update API documentation per api-council feedback.

Test: SMS/MMS sending/receiving sanity (manual)
Bug: 149236716
Change-Id: I59b9d468fa6e1a5843871abf1a330962aef64505
This commit is contained in:
Amit Mahajan
2020-03-03 15:49:58 -08:00
parent 2c881167ae
commit d42340b66c

View File

@@ -2898,7 +2898,7 @@ public final class SmsManager {
getSubscriptionId(), null);
}
} catch (RemoteException ex) {
// ignore it
throw new RuntimeException(ex);
}
return smsc;
}
@@ -2920,7 +2920,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)
@@ -2932,7 +2932,7 @@ public final class SmsManager {
smsc, getSubscriptionId(), null);
}
} catch (RemoteException ex) {
// ignore it
throw new RuntimeException(ex);
}
return false;
}