Leanback: fix late selection of BaseRowsFragment

If view was layout before adapter gets data, mSelectedPosition
will be overwritten by onChildViewHolderSelected() event with -1.
The test was only failing on 4.4 and 5.0 because those platform
seems has extra layout pass at beginning. Added manual
requestLayout to test the situation.

Bug: 34777164
Test: RowsFragmentTest RowsSupportFragmentTest

Change-Id: I7e2c78a32a1074586024c52f4a67427393a550e6
4 files changed