Cleanup unused variables
Summary: EZ cleanup of unused variables in TextLayoutManager changelog: [internal] internal Reviewed By: JoshuaGross Differential Revision: D28015819 fbshipit-source-id: 8e380926ebff9256e89e6cd654fa96eeb938d797
This commit is contained in:
Родитель
4c5182c1cc
Коммит
3178e80c88
|
@ -375,10 +375,6 @@ public class TextLayoutManager {
|
|||
}
|
||||
|
||||
BoringLayout.Metrics boring = BoringLayout.isBoring(text, textPaint);
|
||||
float desiredWidth = boring == null ? Layout.getDesiredWidth(text, textPaint) : Float.NaN;
|
||||
|
||||
// technically, width should never be negative, but there is currently a bug in
|
||||
boolean unconstrainedWidth = widthYogaMeasureMode == YogaMeasureMode.UNDEFINED || width < 0;
|
||||
|
||||
Layout layout =
|
||||
createLayout(
|
||||
|
|
Загрузка…
Ссылка в новой задаче