Files
frameworks_base/core/java/android
George Mount 49c47fd68a Fix getView() using out of bounds index.
Fixes: 182186617

refreshChildren() could be called with an adapter with no
elements, which would call mAdapter.getView(0), where there
is no element at the 0th index.

Test: ran CollectionAppWidgetTest, manual test of example
Change-Id: Ia90cb823c0bd40c46ace1767a885545028975bb9
2021-03-17 18:31:54 +00:00
..
…
2021-01-29 14:28:46 -08:00
2021-01-21 09:41:39 -08:00