Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d3cbe81e authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Import EnforcePermission in IMMS

This is a follow up CL for a recent global clean-up CL [1], which
migrated

  IInputMethodManager#removeImeSurface()

from manual permission check with

  Context.enforceCallingPermission(INTERNAL_SYSTEM_WINDOW)

with

  @EnforcePermission("INTERNAL_SYSTEM_WINDOW").

To minimize the risk of merge conflicts, that CL did not import
EnforcePermission.  Now that the CL gets merged successfully, let's
simplify the code for future use of @EnforcePermission attribute in
InputMethodManagerService.

This is a mechanical refactoring.  There should be no behavior change.

 [1]: Id9bdeb71e84962d55fd1657e91856d84e1c3d11b
      f48d794e

Bug: 234882948
Test: presubmit
Change-Id: Id7d02ef0055a65c1e4527afff43959444418f751
parent 3e744915
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment