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

Commit 68da43a9 authored by Seigo Nonaka's avatar Seigo Nonaka Committed by Android (Google) Code Review
Browse files

Merge "Use TextUtils.substring instead of String.substring."

parents b5d4c297 62aeada1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3023,7 +3023,7 @@ public class Editor {
                return;
            }

            final String originalText = editable.toString().substring(spanStart, spanEnd);
            final String originalText = TextUtils.substring(editable, spanStart, spanEnd);

            if (suggestionInfo.suggestionIndex == ADD_TO_DICTIONARY) {
                Intent intent = new Intent(Settings.ACTION_USER_DICTIONARY_INSERT);