Merge change 21073
* changes: Log more information to help us debug which ListView has IllegalStateException in monkey tests. (bug 1995826)
This commit is contained in:
@@ -1428,7 +1428,8 @@ public class ListView extends AbsListView {
|
||||
throw new IllegalStateException("The content of the adapter has changed but "
|
||||
+ "ListView did not receive a notification. Make sure the content of "
|
||||
+ "your adapter is not modified from a background thread, but only "
|
||||
+ "from the UI thread.");
|
||||
+ "from the UI thread. [in ListView(" + getId() + ", " + getClass()
|
||||
+ ") with Adapter(" + mAdapter.getClass() + ")]");
|
||||
}
|
||||
|
||||
setSelectedPositionInt(mNextSelectedPosition);
|
||||
|
||||
Reference in New Issue
Block a user