summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Yohei Yukawa <yukawa@google.com> 2023-12-05 18:48:48 +0900
committer Yohei Yukawa <yukawa@google.com> 2023-12-05 18:48:48 +0900
commitdf614b6733a30678c14e9caca2c2f3d36dadc1f7 (patch)
tree687c8c2179305413aef96f4ccaf6de72ff2c220d /libs/androidfw/FileStream.cpp
parent032f39a79b6500176d4d26e4a402142156d149df (diff)
Simplify InputMethodSettings#isCurrentProfile()
This CL simplifies InputMethodSettings#isCurrentProfile() without changing the observable behavior. Given that UserManagerInternal#getProfileIds(int userId, boolean enabledOnly) returns an array that includes "userId" itself, checking userId with InputMethodSettings#mCurrentUserId is considered to be redundant. This is a preparation to decouple InputMethodSettings from InputMethodManagerService global instance. Bug: 309837937 Test: presubmit Change-Id: Iebe56c2da70c95e584be582a706716c137eeb15b
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions