diff options
| author | 2022-10-28 19:41:18 -0700 | |
|---|---|---|
| committer | 2022-10-28 19:41:18 -0700 | |
| commit | 89d683f2cfec03b1f244d9b64c151de893d4daf5 (patch) | |
| tree | ee12e9b6b76339b0af9dc8f119e26645563ba946 /libs/androidfw/StringPool.cpp | |
| parent | a99bb97e6736b29eeaf10903ce86fd2ee489a3a7 (diff) | |
Make TEST_INPUT_METHOD @TestAPI
This is a follow up CL to my previous CL [1], which introduced
android.permission.TEST_INPUT_METHO
to protect several @TestApi methods in InputMethodManager.
This CL makes the permission itself as @TestApi so that it can be
included as an API constant in test-current.txt. This also enables us
to minimize special permission while running CTS as follows.
SystemUtil.runWithShellPermissionIdentity(() -> {
// do something.
}, Manifest.permission.TEST_INPUT_METHOD);
There must be no user observable behavior change in this CL.
[1]: Ie79a3e9d41ce22605ae083594d639c37d08b7def
b869c783808c4d4937727a1672b2fac81bace368
Bug: 256239860
Test: presubmit
Change-Id: I1fd3ceda9a1b641e63c7633a223a9a806e78cd2d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions