OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d119ab9
)
Fix suggestion popup for RTL text on LTR layout.
author
Seigo Nonaka
<nona@google.com>
Thu, 7 Apr 2016 07:23:21 +0000
(16:23 +0900)
committer
Seigo Nonaka
<nona@google.com>
Thu, 7 Apr 2016 07:40:57 +0000
(16:40 +0900)
By setting width to the ListView, the width of the containing text view
won't match with parent.
I locally verified this doesn't revive issue
27341560
.
Bug:
28034210
Change-Id: I67886a752ef110d3433dddd6aa8447a9027f8e19
core/java/android/widget/Editor.java
patch
|
blob
|
history
diff --git
a/core/java/android/widget/Editor.java
b/core/java/android/widget/Editor.java
index
7055f78
..
5e7fc70
100644
(file)
--- a/
core/java/android/widget/Editor.java
+++ b/
core/java/android/widget/Editor.java
@@
-3462,7
+3462,6
@@
public class Editor {
popupBackground.getPadding(mTempRect);
width += mTempRect.left + mTempRect.right;
}
- mSuggestionListView.getLayoutParams().width = width;
mPopupWindow.setWidth(width);
}