summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Yohei Yukawa <yukawa@google.com> 2022-07-15 21:44:29 -0700
committer Yohei Yukawa <yukawa@google.com> 2022-07-15 21:44:29 -0700
commit80b2911d01b7c56f7b877d37e8e11324f22bed0c (patch)
treebbc3cd9de93938ccefed23d028df7aa4c7f27702 /libs/androidfw/AssetsProvider.cpp
parent351e6778539ea6b4b2af2abb6f656cd6106e88a8 (diff)
Use @EnforcePermission for IIMM#addVirtualStylusIdForTestSession()
This CL manually migrates IInputMethodManager#addVirtualStylusIdForTestSession(), which was added recently [1], from manual permission check with Context#enforceCallingPermission(INJECT_EVENTS) to code-generation check with @EnforcePermission("INJECT_EVENTS"). There should be no observable semantic behavior change in this CL. [1]: I7399c0a56c04f024d65c16d459818cc2c5cdbc7f d96ef57bc4f87f82395c4eb456b4c11c6faf912b Bug: 34886274 Bug: 210039666 Bug: 232058525 Bug: 237316307 Test: atest CtsInputMethodTestCases:InputMethodManagerTest#testShowInputMethodPickerFromSystemProtection Change-Id: Ida227d417496dd91c071c38ca0be003529764de4
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions