OSDN Git Service

Properly validate fields when resetting password
authord34d <clark@cyngn.com>
Fri, 12 Jun 2015 17:13:34 +0000 (10:13 -0700)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Sat, 13 Jun 2015 10:44:30 +0000 (10:44 +0000)
commit215e74651e478c148a92695d86e36d100711ab63
tree2d71ed4e9a28e18957af67a197618f83dbb98dd3
parent039ec12aef45822b744d4297f8808ec74c0c2daf
Properly validate fields when resetting password

The logic for validating secure storage passwords is designed
for when a user creates a new password and not when they reset
it.  This causes the dialog to enable the "Reset" button prematurely.

This patch adds the necessary checks for when mResetPassword is true

Change-Id: I6d52865b2316ff6eeffeb5eaf61e787f6222e9f7
src/com/cyanogenmod/filemanager/console/secure/SecureStorageKeyPromptDialog.java