core/java/android/widget/CursorTreeAdapter.java
100644 → 100755
+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Before updating a cursor, it needs to be checked if it is valid. Currently a defence code only checks if it is not null. But in case of "Cursor", it is not valid, if it is closed. So just like in CursorAdapter.onContentChanged(), add the additional defence code to check validation. Change-Id: I1302f1b6d009897815d4bdb2f20f625688cf9901