Commit 461ef75f authored by Gang Wu's avatar Gang Wu Committed by Commit Bot

Text you copied should not force to LTR

Bug: 1022086
Change-Id: I925c5d170a32988db678dafb3daf73c0d231681f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1902241
Commit-Queue: Gang Wu <gangwu@chromium.org>
Reviewed-by: default avatarEnder <ender@google.com>
Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#713556}
parent 2cc707e7
...@@ -170,7 +170,12 @@ public class BasicSuggestionProcessor implements SuggestionProcessor { ...@@ -170,7 +170,12 @@ public class BasicSuggestionProcessor implements SuggestionProcessor {
model.get(SuggestionCommonProperties.USE_DARK_COLORS) model.get(SuggestionCommonProperties.USE_DARK_COLORS)
? R.color.suggestion_url_dark_modern ? R.color.suggestion_url_dark_modern
: R.color.suggestion_url_light_modern); : R.color.suggestion_url_light_modern);
textLine2Direction = View.TEXT_DIRECTION_LTR;
if (suggestionType == OmniboxSuggestionType.CLIPBOARD_TEXT) {
textLine2Direction = View.TEXT_DIRECTION_INHERIT;
} else {
textLine2Direction = View.TEXT_DIRECTION_LTR;
}
} else { } else {
textLine2 = null; textLine2 = null;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment