Skip to content

Commit 9231549

Browse files
Ben MurdochAndroid (Google) Code Review
authored andcommitted
Merge "Pass correct units for text size in autocomplete drop down."
2 parents 68b9074 + f88a56e commit 9231549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/webkit/WebTextView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ public View getView(int position, View convertView, ViewGroup parent) {
832832
TextView tv =
833833
(TextView) super.getView(position, convertView, parent);
834834
if (tv != null && mTextView != null) {
835-
tv.setTextSize(mTextView.getTextSize());
835+
tv.setTextSize(TypedValue.COMPLEX_UNIT_PX, mTextView.getTextSize());
836836
}
837837
return tv;
838838
}

0 commit comments

Comments
 (0)