summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-12-16 20:08:51 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-12-16 20:08:51 +0100
commit0fa5925b0a6ef96bdddee7328aa007fdb6c23b36 (patch)
tree84d65b99c34b2c544e5ec37fe455ce3117285edc
parent9fc79cbc5fb261fe1f2bad6d3dbb87b2591441e1 (diff)
downloadframeworks_base-0fa5925b0a6ef96bdddee7328aa007fdb6c23b36.zip
frameworks_base-0fa5925b0a6ef96bdddee7328aa007fdb6c23b36.tar.gz
frameworks_base-0fa5925b0a6ef96bdddee7328aa007fdb6c23b36.tar.bz2
LockPatternUtils: userId is required
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--core/java/com/android/internal/widget/LockPatternUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/com/android/internal/widget/LockPatternUtils.java b/core/java/com/android/internal/widget/LockPatternUtils.java
index 92f520b..d25f995 100644
--- a/core/java/com/android/internal/widget/LockPatternUtils.java
+++ b/core/java/com/android/internal/widget/LockPatternUtils.java
@@ -1138,8 +1138,8 @@ public class LockPatternUtils {
* @param pattern The current lockscreen pattern
* @return Whether the lockscreen pattern was correct.
*/
- public void replaceSeparateEncryptionPasswordWithPattern(List<LockPatternView.Cell> pattern) {
- String stringPattern = patternToString(pattern);
+ public void replaceSeparateEncryptionPasswordWithPattern(List<LockPatternView.Cell> pattern, int userId) {
+ String stringPattern = patternToString(pattern, userId);
updateEncryptionPassword(StorageManager.CRYPT_TYPE_PATTERN, stringPattern);
setSeparateEncryptionPasswordEnabled(false);
}