RESTRICT AUTOMERGE Refactor device policy resource APIs to a separate class
Bug: 217388602 Bug: 218875965 Test: atest EnterpriseResourcesTests Test: manual Change-Id: I4775d7741c7819fd811c3fc4eda1636b1e04b398
This commit is contained in:
@@ -186,7 +186,7 @@ public class FingerprintEnrollIntroduction extends BiometricEnrollIntroduction {
|
||||
|
||||
@Override
|
||||
protected String getDescriptionDisabledByAdmin() {
|
||||
return mDevicePolicyManager.getString(
|
||||
return mDevicePolicyManager.getResources().getString(
|
||||
FINGERPRINT_UNLOCK_DISABLED,
|
||||
() -> getString(R.string.security_settings_fingerprint_enroll_introduction_message_unlock_disabled));
|
||||
}
|
||||
|
Reference in New Issue
Block a user