summaryrefslogtreecommitdiff
path: root/native/android/input.cpp
diff options
context:
space:
mode:
author Rhed Jao <rhedjao@google.com> 2022-08-19 15:56:02 +0800
committer Rhed Jao <rhedjao@google.com> 2022-08-24 16:19:22 +0800
commit9ddd4d4fc720a5a2000026765a0954d25cd1874e (patch)
treef190996512712e9415c902bdd49643e0a8b4a05a /native/android/input.cpp
parent5b0d25ef338c6aa03d7e799bdb6903e769803ee8 (diff)
Improve package visibility gap for TextServicesManager
Two APIs in TextServicesManager expose the installed spell checker packages to the caller without holding the query package permission. - getSpellCheckerService - getEnabledSpellCheckers This cl filter the access to spell checkers from the caller by rules of package visibilty. Bug: 212287294 Bug: 212287061 Test: atest CtsAppEnumerationTestCases Test: atest android.view.inputmethod.cts.SpellCheckerTest Change-Id: I109231ca438db3a1df95a54322548bb11c026a78
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions