summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}