Closed
Bug 1322710
Opened 8 years ago
Closed 8 years ago
IllegalStateException when setting GeckoEditable.DEBUG to true
Categories
(Firefox for Android Graveyard :: Keyboards and IME, defect)
Tracking
(firefox53 fixed)
RESOLVED
FIXED
Firefox 53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
Details
Attachments
(1 file)
3.32 KB,
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
Setting GeckoEditable.DEBUG to true and using IME will cause an IllegalStateException in syncShadowText.
Assignee | ||
Comment 1•8 years ago
|
||
Don't use the system SpannableStringBuilder.equals implementation, because of a bug in Android N+ that incorrectly compares spans.
Attachment #8817655 -
Flags: review?(esawin)
Comment 2•8 years ago
|
||
Comment on attachment 8817655 [details] [diff] [review] Don't use SpannableStringBuilder.equals (v1) Review of attachment 8817655 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoEditable.java @@ +364,5 @@ > + > + final Object[] o1s = s1.getSpans(0, s1.length(), Object.class); > + final Object[] o2s = s2.getSpans(0, s2.length(), Object.class); > + > +o1_loop: Indendation and style.
Attachment #8817655 -
Flags: review?(esawin) → review+
Pushed by nchen@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/75790798dd71 Don't use SpannableStringBuilder.equals; r=esawin
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/75790798dd71
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•