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

Commit 67fc3157 authored by Thomas Nguyen's avatar Thomas Nguyen Committed by Gerrit Code Review
Browse files

Merge "Apply the fix for 8-bit decoding error to only 3gpp messages"

parents 164302d4 9a89cb08
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -305,7 +305,8 @@ public class VisualVoicemailSmsFilter {
             * received message. However, the message is most likely encoded with UTF-8. Therefore,
             * we need to retry decoding the received message with UTF-8.
             */
            if ((body == null || message.getReceivedEncodingType() == ENCODING_8BIT)
            if ((body == null || (message.is3gpp()
                    && message.getReceivedEncodingType() == ENCODING_8BIT))
                    && message.getUserData() != null) {
                Log.d(TAG, "getFullMessage decode using UTF-8");
                // Attempt to interpret the user data as UTF-8. UTF-8 string over data SMS using