expose (but still hide) sms user data headers

addresses bug http://b/issue?id=1751571
This commit is contained in:
Tammo Spalink
2009-05-27 16:00:03 +08:00
parent f5df83035a
commit 641bb3d8df
2 changed files with 8 additions and 5 deletions

View File

@@ -517,9 +517,14 @@ public class SmsMessage {
return mWrappedSmsMessage.getUserData();
}
/* Not part of the SDK interface and only needed by specific classes:
protected SmsHeader getUserDataHeader()
*/
/**
* Return the user data header (UDH).
*
* @hide
*/
public SmsHeader getUserDataHeader() {
return mWrappedSmsMessage.getUserDataHeader();
}
/**
* Returns the raw PDU for the message.