Files
frameworks_base/core/java/android/view
Yohei Yukawa 699fc515e0 Use WeakReference#refersTo() when possible
For a given WeakReference<T> ref,

  ref.refersTo(obj)

is more efficient than

  ref.get() == obj.

This CL applies the above rule to

  RemoteInputConnectionImpl

for a better performance.

This is mechanical refactoring.  There must be no observable behavior
change.

Bug: 182259171
Test: presubmit
Change-Id: Iddf73b0fcb16a14f6c024da4a7db136d4fea4900
2022-10-17 20:18:44 -07:00
..
…
2022-08-26 16:29:25 +02:00