Merge "Update the text shown when admin disabled fingerprint as unlock option."

This commit is contained in:
Sudheer Shanka
2016-01-26 22:36:06 +00:00
committed by Android (Google) Code Review
6 changed files with 51 additions and 23 deletions

View File

@@ -72,6 +72,10 @@ public class LayoutPreference extends Preference {
public void onBindViewHolder(PreferenceViewHolder view) {
FrameLayout layout = (FrameLayout) view.itemView;
layout.removeAllViews();
ViewGroup parent = (ViewGroup) mRootView.getParent();
if (parent != null) {
parent.removeView(mRootView);
}
layout.addView(mRootView);
}