Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ce9cb28 authored by Joshua McCloskey's avatar Joshua McCloskey Committed by Joshua Mccloskey
Browse files

Show disabled summary for CDC

When the admin disabled a pin/pattern/pass, the summary should now
reflect this.

Test: N/A
Fixes: 343213209
Flag: EXEMPT bugfix
Change-Id: I87e6fbefd014e2623948abbf82b452208e8ef58e
parent c8c8c537
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -776,6 +776,9 @@ public class ChooseLockGeneric extends SettingsActivity {
                        entries.removePreference(pref);
                    } else if (!enabled) {
                        pref.setEnabled(false);
                        pref.setSummary(
                                com.android.settingslib.widget
                                        .restricted.R.string.disabled_by_admin);
                    }
                }
            }