summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-12-11 13:15:40 -0600
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-12-11 11:15:58 -0800
commita954e0df78c4a0ef074047720b9f3b4e5c2c1799 (patch)
treecbc61dac12e7d632b2f08775a6bf9bfaedfa2c50 /services
parent81dd2aa6210672e44e6be9f16a776116e1c48686 (diff)
downloadframeworks_base-a954e0df78c4a0ef074047720b9f3b4e5c2c1799.zip
frameworks_base-a954e0df78c4a0ef074047720b9f3b4e5c2c1799.tar.gz
frameworks_base-a954e0df78c4a0ef074047720b9f3b4e5c2c1799.tar.bz2
LockSettings: fix build
Change-Id: Ic65b1a2af398faffb83776ee4013d47f79ab6619 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/LockSettingsStorage.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/services/core/java/com/android/server/LockSettingsStorage.java b/services/core/java/com/android/server/LockSettingsStorage.java
index 72e05c1..1b42dfe 100644
--- a/services/core/java/com/android/server/LockSettingsStorage.java
+++ b/services/core/java/com/android/server/LockSettingsStorage.java
@@ -332,9 +332,7 @@ class LockSettingsStorage {
? CredentialHash.TYPE_NONE
: CredentialHash.TYPE_PATTERN;
- boolean defaultSize = isDefaultSize(userId);
- writeFile(getLockPatternFilename(userId, defaultSize), hash);
-
+ writeFile(getLockPatternFilename(userId), hash);
clearPasswordHash(userId);
}