summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/core/java/com/android/server/inputmethod/InputMethodManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java
index 8fd203324d97..10911e6d90ea 100644
--- a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java
+++ b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java
@@ -1015,7 +1015,7 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.
// Called directly from UserManagerService. Do not block the calling thread.
final int userId = user.id;
AdditionalSubtypeMapRepository.onUserCreated(userId);
- initializeUsersAsync(new int[userId]);
+ initializeUsersAsync(new int[]{ userId });
}
@Override