Merge "Make it possible to have open tether network" into pi-dev am: b410c21a01
am: 0cbce4983f
Change-Id: I59e11a84ab1dce03e7e9ab5afed816cb27313b1d
This commit is contained in:
@@ -86,9 +86,14 @@ public class ValidatedEditTextPreference extends CustomEditTextPreference {
|
||||
super.onBindViewHolder(holder);
|
||||
|
||||
final TextView textView = (TextView) holder.findViewById(android.R.id.summary);
|
||||
if (textView != null && mIsSummaryPassword) {
|
||||
if (textView == null) {
|
||||
return;
|
||||
}
|
||||
if (mIsSummaryPassword) {
|
||||
textView.setInputType(
|
||||
InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD);
|
||||
} else {
|
||||
textView.setInputType(InputType.TYPE_CLASS_TEXT);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user