History log of /frameworks/opt/bluetooth/src/android/bluetooth/client/map/BluetoothMasRequestGetMessage.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d87ff784eb2dfac818df247a153be548b13dfb02 21-Jul-2015 Sanket Agarwal <sanketa@google.com> Use only UTF-8 for fetching a message.

Currently the API lets the users fetch SMS using either UTF-8 or native
SMS-PDU format. SMS-PDU is not supported by the String() class (also its
more complicated than just a simple string encoding since it contains
recipient etc information). Besides, the library does not decode such
messages and leaves it to the user to handle them. Currently it decodes
it as the default character set on device which is incorrect behavior.
Hence in this change we ensure that the API can only be used with UTF-8
which makes the conversion of Strings consistent.

NOTE: It's OK to avoid supporting native charset since it is not
mandatory in MAPv12 spec.

Change-Id: Ic10a82ff69f848cb3f6e80353d3e63ce3910d306
(cherry picked from commit 4b4d3f8260c9b4476f900ee7b08ee66450624081)
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/BluetoothMasRequestGetMessage.java
192d793d2586b620027edd5b45ff4c72a86cc7be 08-Apr-2014 Hemant Gupta <hemantg@codeaurora.org> Bluetooth: Support MAP and PBAP Client role on Bluedroid.

Implementation of android.bluetooth.client.pbap and
android.bluetooth.client.map STATIC JAVA lib for PBAP and MAP
client role(s). These static libraries can be used by application
for PBAP and MAP Client role support on Bluedroid.

Change-Id: I173d2c095661704e2efb39516837c6b681193e9a
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/BluetoothMasRequestGetMessage.java