Merge "Update the text shown when admin disabled fingerprint as unlock option."
This commit is contained in:
committed by
Android (Google) Code Review
commit
a78572cf39
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user