Merge "Add one new method is3gpp" am: 22d665d62d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2385999 Change-Id: I14a859b01a41a672f5579c48aa446a5f417bbc1d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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