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

Commit 2f81ec63 authored by Wink Saville's avatar Wink Saville Committed by Android Git Automerger
Browse files

am 3d5e9bd1: am 8566fabf: am e9260aec: Merge "Omitting Big Endian caused corrupt characters"

* commit '3d5e9bd1':
  Omitting Big Endian caused corrupt characters
parents dec905e7 3d5e9bd1
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();