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
@@ -191,7 +191,7 @@ public class ConfigureNotificationSettings extends SettingsPreferenceFragment {
|
||||
|
||||
private void setRestrictedIfNotificationFeaturesDisabled(CharSequence entry,
|
||||
CharSequence entryValue, int keyguardNotificationFeatures) {
|
||||
EnforcedAdmin admin = RestrictedLockUtils.checkIfKeyguardNotificationFeaturesDisabled(
|
||||
EnforcedAdmin admin = RestrictedLockUtils.checkIfKeyguardFeaturesDisabled(
|
||||
mContext, keyguardNotificationFeatures);
|
||||
if (admin != null) {
|
||||
RestrictedItem item = new RestrictedItem(entry, entryValue, admin);
|
||||
|
@@ -110,7 +110,7 @@ public class RedactionInterstitial extends SettingsActivity {
|
||||
|
||||
private void checkNotificationFeaturesAndSetDisabled(RestrictedRadioButton button,
|
||||
int keyguardNotifications) {
|
||||
EnforcedAdmin admin = RestrictedLockUtils.checkIfKeyguardNotificationFeaturesDisabled(
|
||||
EnforcedAdmin admin = RestrictedLockUtils.checkIfKeyguardFeaturesDisabled(
|
||||
getActivity(), keyguardNotifications);
|
||||
button.setDisabledByAdmin(admin);
|
||||
}
|
||||
|
Reference in New Issue
Block a user