summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2018-12-24 08:00:06 -0800
committerYohei Yukawa <yukawa@google.com>2018-12-24 08:00:06 -0800
commitf2412a37a9eec38720d14510f465ff3a588f74ed (patch)
tree72e08fe4cd8cc82fba5fb4dfbdd02576150d64b0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2232e861862566418da649290d86f7d2734fffb7 (diff)
Revert "Remove foreground user check in shell commands for IMMS"
This logically reverts my previous commit [1] with also logically applying its next CL [2]. Reason for revert: Not only the shell user but also any app can call 'ime' command via IInputMethodManager.shellCommand(). Mechanically dropping calledFromValidUser() can end up allowing unexpected cross-user interactions (e.g. obtaining the current user's IME list from a background user). [1]: I0aca79a33440f3636990ed9ef0efbbe0e4a42f77 ca2d3b6c5f2a4e4bf99b11eb6c074c4d0519c42a [2]: I02df0307ce2aecc77de8fb2afaa39e5ecf8f3fe2 91e6cd0b5dcf4037d16b3e16411472bdb53514e2 Bug: 34886274 Test: 'adb shell ime reset' still works Change-Id: If8bd0ef7d95354c0485c59324b3ba3b2c258523a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions