My application will set as active admin using DevicePolicyManager
. I am setting a password like '1234' using DevicePolicyManager.resetPassword()
method. Is it possible to unlock the phone without asking the default lock screen (I want pass the already used password "1234" as keylock input).
Code I have used to lock:
mDPM.resetPassword("1234", DevicePolicyManager.RESET_PASSWORD_REQUIRE_ENTRY);