diff options
| author | 2024-07-25 18:04:45 +0200 | |
|---|---|---|
| committer | 2024-08-05 17:49:02 +0200 | |
| commit | 9b9990ab54a4d7119fa1ae6f7b340fa4aecabbab (patch) | |
| tree | 03f65013b9c44d678dc75c2f8e0aaa37fc820715 /api/api_test.go | |
| parent | 70718087ad07f6ca4f80e3e641d382edd231cb4a (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