Merge "Make it possible to have open tether network" into pi-dev am: b410c21a01

am: 0cbce4983f

Change-Id: I59e11a84ab1dce03e7e9ab5afed816cb27313b1d
This commit is contained in:
Salvador Martinez
2018-04-09 19:27:48 -07:00
committed by android-build-merger
8 changed files with 81 additions and 59 deletions

View File

@@ -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);
}
}