Reduce number of attempts before factory reset to 30.

Bug: 18292029

Change-Id: I2a78775d0505a3064838443ea631fee0ad612e5c
This commit is contained in:
Paul Crowley
2014-11-21 09:43:17 +00:00
parent 67b4af148d
commit 13b8b564f8

View File

@@ -95,7 +95,7 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
private static final int MESSAGE_NOTIFY = 2; private static final int MESSAGE_NOTIFY = 2;
// Constants used to control policy. // Constants used to control policy.
private static final int MAX_FAILED_ATTEMPTS = 100; private static final int MAX_FAILED_ATTEMPTS = 30;
private static final int COOL_DOWN_ATTEMPTS = 10; private static final int COOL_DOWN_ATTEMPTS = 10;
// Intent action for launching the Emergency Dialer activity. // Intent action for launching the Emergency Dialer activity.