Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8566fabf authored by Wink Saville's avatar Wink Saville Committed by Android Git Automerger
Browse files

am e9260aec: Merge "Omitting Big Endian caused corrupt characters"

* commit 'e9260aec':
  Omitting Big Endian caused corrupt characters
parents 5af6cdd6 e9260aec
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -111,8 +111,11 @@ class GetInkeyInputResponseData extends ResponseData {
            data[0] = mYesNoResponse ? GET_INKEY_YES : GET_INKEY_NO;
        } else if (mInData != null && mInData.length() > 0) {
            try {
                // ETSI TS 102 223 8.15, should use the same format as in SMS messages
                // on the network.
                if (mIsUcs2) {
                    data = mInData.getBytes("UTF-16");
                    // ucs2 is by definition big endian.
                    data = mInData.getBytes("UTF-16BE");
                } else if (mIsPacked) {
                    int size = mInData.length();