summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Cosmin Băieș <cosminbaies@google.com> 2024-07-25 18:04:45 +0200
committer Cosmin Băieș <cosminbaies@google.com> 2024-08-05 17:49:02 +0200
commit9b9990ab54a4d7119fa1ae6f7b340fa4aecabbab (patch)
tree03f65013b9c44d678dc75c2f8e0aaa37fc820715 /api/api_test.go
parent70718087ad07f6ca4f80e3e641d382edd231cb4a (diff)
Move IME token validation to privilegedOperations
This moves all the IME token validation from methods in IMMS to the actual callers in InputMethodPrivilegedOperationsImpl, ensuring all the validation happens in the same place. Due to this, the privilegedOperations methods now acquire the ImfLock, and call into IMMS with the lock held, which is equivalent to the way the lock was being acquired before, inside the called IMMS methods. Flag: EXEMPT refactor Test: atest and checking logcat Bug: 355154964 Change-Id: I322ae7dbca9c1bb33fdb4992b44b9676bba4abd9
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions