Fix wrong log information in DevicePolicyManagerService
When user reset password their password, if password doesn't match target quality of device, DPM print a log why can't reset password. however log message isn't correct information. in log context, it have to exist current quality and target quality. this patch can help print correct log. Change-Id: I5c8fb1c77ddbe1bdbc76e35038c897e2e8efb077
This commit is contained in:
@ -1638,7 +1638,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
||||
if (realQuality < quality
|
||||
&& quality != DevicePolicyManager.PASSWORD_QUALITY_COMPLEX) {
|
||||
Slog.w(TAG, "resetPassword: password quality 0x"
|
||||
+ Integer.toHexString(quality)
|
||||
+ Integer.toHexString(realQuality)
|
||||
+ " does not meet required quality 0x"
|
||||
+ Integer.toHexString(quality));
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user