diff options
author | Andreas Gampe <agampe@google.com> | 2015-03-15 16:31:41 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-03-15 16:34:03 -0700 |
commit | 3f9ef97ad96262c5c43eb6199b5484161a3acc2c (patch) | |
tree | 8051e04b853541b84c9e4f79f411f92ddc8722c4 /rs/java/android/renderscript/AllocationAdapter.java | |
parent | 30fcd2aa8a87ca97e1d6dbc3203c3a485a56dac9 (diff) |
Frameworks/base: Fix AdapterViewAnimator.createOrReuseLayoutParams
The original code was certainly not wrong, but not readable. currentLp
was already an instance (ViewGroup.LayoutParams == LayoutParams), so the
instanceof is the same as a null check. Simplify.
Change-Id: I5ec96ab1243aa5f3a4d74a5fb991dded37c149c3
Diffstat (limited to 'rs/java/android/renderscript/AllocationAdapter.java')
0 files changed, 0 insertions, 0 deletions