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

Skip to content
Commit b1faaa08 authored by pengfeix's avatar pengfeix Committed by Clark Scheff
Browse files

Finer grained character boundaries in computing SMS fragment lengths

The standard Java character iterator has potentially unbounded
distance between character boundaries, meaning that when
breaking an SMS message into fragments it's not safe to assume that
the fragment will contain such a boundary. This patch
special-cases flags (pairs of Regional Indicator Symbols) and also
guarantees some progress in the case of no boundary found.

Change-Id: I35990b44ad72887e1fdd436223808e18b04bd578
CRs-Fixed: 994916
(cherry picked from commit ce2ca072)
TICKET: CYNGNOS-3263
parent 4ddf7c9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment