Code example for DevicePolicyManager

Methods: resetPassword

0
      { 
        // TODO Auto-generated method stub 
        // ­«³]±K½X 
        if (active)
        { 
          myDPM.resetPassword(EditText02.getText().toString(),
              DevicePolicyManager.RESET_PASSWORD_REQUIRE_ENTRY);
        } 
      } 
 
    }); 
 
  } 
 
  void updateButtonStates() 
  { 
    active = myDPM.isAdminActive(myDeviceAdminReceiver);
    if (active)
    { 
      Button01.setEnabled(false);
Experience pair programming with AI  Get Codota for Java