Prevent RecyclerView from doing another layout while processing updates

This CL fixes a bug in RecyclerView where it would try to consume
pending udpates twice if it receives a call to layout (focus search etc)
while processing updates.

Bug: 32316425
Test: RecyclerViewLayoutTest::triggerFocusSearchInOnRecycledCallback
Change-Id: I3dccc7fb8ef5fffc260220254a1b6605d88b6e77
2 files changed