Allow Device Management Role Holder to update Settings strings.
Test: manual Bug: 188414370 Change-Id: I6e1a06619799a9e99382d791e72e2e4518f93cac
This commit is contained in:
@@ -88,9 +88,9 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
|
||||
protected abstract int getHeaderResDefault();
|
||||
|
||||
/**
|
||||
* @return the description resource for if the biometric has been disabled by a device admin
|
||||
* @return the description for if the biometric has been disabled by a device admin
|
||||
*/
|
||||
protected abstract int getDescriptionResDisabledByAdmin();
|
||||
protected abstract String getDescriptionDisabledByAdmin();
|
||||
|
||||
/**
|
||||
* @return the cancel button
|
||||
@@ -414,7 +414,7 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
|
||||
super.initViews();
|
||||
|
||||
if (mBiometricUnlockDisabledByAdmin && !mParentalConsentRequired) {
|
||||
setDescriptionText(getDescriptionResDisabledByAdmin());
|
||||
setDescriptionText(getDescriptionDisabledByAdmin());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user