Commit fc997b4
Gilles Debunne
NPE in GMail / TextLine
Bug 5753061
https://android-git.corp.google.com/g/#/c/154756/1 revealed an
other bug in SpanSet. The fitered (non empty) spans were added
in their original position instead of being indexed by count.
The nullation on recycle hence left null holes in the array.
Change-Id: If5c1435cee9a2cb88a608aa8e5f4f2f23382154c1 parent f0bbc49 commit fc997b4
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
886 | 886 | | |
887 | 887 | | |
888 | 888 | | |
889 | | - | |
| 889 | + | |
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
899 | | - | |
900 | | - | |
901 | | - | |
902 | | - | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
903 | 903 | | |
904 | | - | |
| 904 | + | |
905 | 905 | | |
906 | | - | |
907 | 906 | | |
908 | 907 | | |
909 | 908 | | |
| |||
926 | 925 | | |
927 | 926 | | |
928 | 927 | | |
| 928 | + | |
929 | 929 | | |
930 | 930 | | |
931 | 931 | | |
| |||
0 commit comments