Restore the premiume SMS Preference.

Fixes: 27657256
Change-Id: I396eb9ba71f51fed517d7f958873369bc0ab011e
This commit is contained in:
Jason Monk
2016-03-28 15:36:03 -04:00
parent 16b4ac8a8e
commit ea35f87377
5 changed files with 331 additions and 0 deletions

View File

@@ -36,6 +36,20 @@ public class DividerPreference extends Preference {
}
}
public DividerPreference(Context context) {
this(context, null);
}
public void setDividerAllowedAbove(boolean allowed) {
mAllowAbove = allowed;
notifyChanged();
}
public void setDividerAllowedBelow(boolean allowed) {
mAllowBelow = allowed;
notifyChanged();
}
@Override
public void onBindViewHolder(PreferenceViewHolder holder) {
super.onBindViewHolder(holder);