Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3940f2df authored by Owen Lin's avatar Owen Lin
Browse files

Log more information to help us debug which ListView has

IllegalStateException in monkey tests. (bug 1995826)
parent ef654bdd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);