Add preference summary when disabled by admin.
Change-Id: Iaa84e66b0abe0fccde50f116cbf6e68c6abbabc0
This commit is contained in:
@@ -44,11 +44,13 @@ public class DimmableIconPreference extends RestrictedPreference {
|
||||
public DimmableIconPreference(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
mContentDescription = null;
|
||||
useAdminDisabledSummary(true);
|
||||
}
|
||||
|
||||
public DimmableIconPreference(Context context, @Nullable CharSequence contentDescription) {
|
||||
super(context);
|
||||
mContentDescription = contentDescription;
|
||||
useAdminDisabledSummary(true);
|
||||
}
|
||||
|
||||
private void dimIcon(boolean dimmed) {
|
||||
|
Reference in New Issue
Block a user