OSDN Git Service

Prevent factory reset for short passwords in CryptKeeper
authorPaul Crowley <paulcrowley@google.com>
Fri, 7 Nov 2014 08:52:57 +0000 (00:52 -0800)
committerPaul Crowley <paulcrowley@google.com>
Wed, 19 Nov 2014 12:00:32 +0000 (12:00 +0000)
commit8fca3fcc06cfa7c4baf16b3bc53c4e52c9678fbb
tree4175d7bf90032e027fda9b777f3a2ed8fb6ecd81
parentf7a5017fa60d4cd3c802a45a7b04a4c8f34d969e
Prevent factory reset for short passwords in CryptKeeper

Since patterns and passwords can't be shorter than 4
elements, we shouldn't count them against attempts to unlock
the device.  If we do, we risk resetting the device
due to stray input.

Bug: 18211475
Bug: 18273380

Change-Id: Ib329cd3383471483cda68bfac4278b17d0c09c57

Conflicts:
src/com/android/settings/CryptKeeper.java

Conflicts:
src/com/android/settings/CryptKeeper.java
src/com/android/settings/CryptKeeper.java