summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArrayMap.java
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2021-08-04 11:57:42 -0700
committerYohei Yukawa <yukawa@google.com>2021-08-04 11:57:42 -0700
commitd1ff9740c14fe144a2c67e953d0e4f9a7f8c6e46 (patch)
treeb7197e7e68892295eb4b05c0e3ec660eae13e971 /core/java/android/util/SparseArrayMap.java
parentb37f32cfeceb76dd8ae9976575191a5620877dab (diff)
Lock down RemoteInputConnectionImpl#getInputConnection()
This is a mechanical refactoring CL that locks down RemoteInputConnectionImpl#getInputConnection() as a private method. This is supposed to be helpful to to avoid future misuse of raw InputConnection instance outside RemoteInputConnectionImpl. Note that InputMethodManager#isAcceptingText() remains to have the same observable behavior in this CL. The key fact is that the following two fields are updated in an atomic way. * RemoteInputConnectionImpl#mInputConnection * RemoteInputConnectionImpl#mFinished Bug: 192412909 Test: presubmit Change-Id: Ic5fbc6213ad62df95fc0b7eef18bab1fd9fbdbf1
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions