summaryrefslogtreecommitdiff
path: root/libs/hwui/Readback.cpp
diff options
context:
space:
mode:
author Hans Boehm <hboehm@google.com> 2022-01-20 17:43:04 -0800
committer Hans Boehm <hboehm@google.com> 2022-01-20 17:57:02 -0800
commit3492061b6de0de3ad0cdb7f40d41ffd0f51a28a2 (patch)
treef43e29e02e18d3eb404db04085baf8ec087b24ec /libs/hwui/Readback.cpp
parent22c14816597469ede2737389fb9847d4ebf24d90 (diff)
Prefer WeakReference.refersTo() to get()
This is an initial pass over frameworks/core to avoid WeakReference get(), since that can cause the referent to be unnecessarily retained. Most of these were found by searching for "get() == null". Bug: 215259836 Test: Treehugger Change-Id: I5227b05ca22e83b886ccf6713989961076df3f8c
Diffstat (limited to 'libs/hwui/Readback.cpp')
0 files changed, 0 insertions, 0 deletions