Update the javadoc of InputMethodSettings

To more understand the usage when IMMS will use for managing the
current or non-current user of IME settings.

Bug: 251814906
Bug: 235661780
Test: build
Change-Id: I168cac60da4e54bc1e1bb2057600033a00114215
This commit is contained in:
Ming-Shin Lu
2022-11-30 22:00:10 +08:00
parent f9ca7a2ffd
commit 1e832c1d29

View File

@@ -199,9 +199,14 @@ final class InputMethodUtils {
}
/**
* Utility class for putting and getting settings for InputMethod
* Utility class for putting and getting settings for InputMethod.
*
* This is used in two ways:
* - Singleton instance in {@link InputMethodManagerService}, which is updated on user-switch to
* follow the current user.
* - On-demand instances when we need settings for non-current users.
*
* TODO: Move all putters and getters of settings to this class.
* TODO(b/235661780): Make the setting supports multi-users.
*/
@UserHandleAware
public static class InputMethodSettings {