Merge "Add one new method is3gpp" into tm-qpr-dev am: 243023d102
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20889588 Change-Id: I97577c021fa86d801569d00f86f67b2269674157 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
a87845203c
@@ -1030,6 +1030,15 @@ public class SmsMessage {
|
|||||||
return mWrappedSmsMessage.getReceivedEncodingType();
|
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.
|
* 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,
|
* If SMS over IMS is supported, then format is based on IMS SMS format,
|
||||||
|
|||||||
Reference in New Issue
Block a user