Merge "Update injectSmsPdu documentation." into oc-dev

This commit is contained in:
TreeHugger Robot
2017-03-30 00:35:57 +00:00
committed by Android (Google) Code Review

View File

@@ -387,8 +387,8 @@ public final class SmsManager {
/**
* Inject an SMS PDU into the android application framework.
*
* The caller should have carrier privileges.
* @see android.telephony.TelephonyManager#hasCarrierPrivileges
* <p>Requires permission: {@link android.Manifest.permission#MODIFY_PHONE_STATE} or carrier
* privileges. @see android.telephony.TelephonyManager#hasCarrierPrivileges
*
* @param pdu is the byte array of pdu to be injected into android application framework
* @param format is the format of SMS pdu (3gpp or 3gpp2)