summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Yohei Yukawa <yukawa@google.com> 2024-05-11 10:32:12 +0900
committer Yohei Yukawa <yukawa@google.com> 2024-05-15 22:12:24 +0000
commit1502868536b29115be9848b7aca2b09e2e56afd9 (patch)
tree6ec76a13a1b6c476a7cd5ed1f72046811135f07d /libs/androidfw/AssetsProvider.cpp
parentc9cb114c19aeb8b343b11326ebe45ed67d7e12c9 (diff)
Remove RemoteException handlings from AutofillSuggestionsController
This is a follow up CL to our previous CL [1], which introduced InlineSuggestionsRequestCallbackDecorator that wraps InlineSuggestionsRequestCallbackImpl to intercept IPC calls then inject special logic. The problem is that when forwarding IPC calls within system_server process, the AIDL-generated method stub forces us to handle RemoteException, which actually never happen if the target Binder object is in the same process. To clarify this nuance, this CL introduces a plain Java interface com.android.internal.inputmethod.InlineSuggestionsRequestCallback as a mirror of IInlineSuggestionsRequestCallback. As you can see in this CL, doing so eliminates many RemoteException. This is a mechanical code change with no observable behavior. [1]: I3d81b1d56989e46f65f9b9fc6e497952486335b5 16b2de5a40ac10d8b538def387197098d1a5df84 Bug: 339358344 Test: atest CtsAutoFillServiceTestCases Test: atest CtsInputMethodTestCases Change-Id: I25a75b47aaed29a42b153a7874e5bf26ca89df98
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions