Skip to content

Commit

Permalink
Fix API check for justification mode
Browse files Browse the repository at this point in the history
Summary: Oops...

Reviewed By: sjkirby

Differential Revision: D7944020

fbshipit-source-id: 413a956339470c40ed050ea61de76328f55caced
  • Loading branch information
xiphirx authored and facebook-github-bot committed May 10, 2018
1 parent 699f623 commit fefb033
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ public int getJustificationMode() {
public TextLayoutBuilder setJustificationMode(int justificationMode) {
if (mParams.justificationMode != justificationMode) {
mParams.justificationMode = justificationMode;
if (Build.VERSION.SDK_INT < 26) {
if (Build.VERSION.SDK_INT >= 26) {
mSavedLayout = null;
}
}
Expand Down

0 comments on commit fefb033

Please sign in to comment.