Bug 1331995 - Reset text direction to locale in order to reveal text hint, checkstyle, r=sebastian
MozReview-Commit-ID: Kk3JNPTtfn9
--- a/mobile/android/base/java/org/mozilla/gecko/util/ViewUtil.java
+++ b/mobile/android/base/java/org/mozilla/gecko/util/ViewUtil.java
@@ -165,17 +165,17 @@ public class ViewUtil {
}
/**
* RTL compatibility wrapper to set TextDirection
* @param textView
* @param textDirection
*/
public static void setTextDirection(TextView textView, int textDirection) {
- if(AppConstants.Versions.feature17Plus) {
+ if (AppConstants.Versions.feature17Plus) {
textView.setTextDirection(textDirection);
}
}
/**
* RTL compatibility wrapper to force set TextDirection as RTL for JB mr1 and above
*
* @param textView