Merge "Add one new method is3gpp" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
243023d102
@@ -1030,6 +1030,15 @@ public class SmsMessage {
|
||||
return mWrappedSmsMessage.getReceivedEncodingType();
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if format of the message is 3GPP.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public boolean is3gpp() {
|
||||
return (mWrappedSmsMessage instanceof com.android.internal.telephony.gsm.SmsMessage);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines whether or not to use CDMA format for MO SMS.
|
||||
* If SMS over IMS is supported, then format is based on IMS SMS format,
|
||||
|
||||
Reference in New Issue
Block a user