commit | 912ab78c5fa65dcdebaf5d4b26ff4964b6785907 | [log] [tgz] |
---|---|---|
author | jangwon.lee <jangwon.lee@lge.com> | Mon Nov 11 15:55:46 2013 +0900 |
committer | jangwon.lee <jangwon.lee@lge.com> | Mon Nov 11 15:58:13 2013 +0900 |
tree | a770f23aecfce8846632d411612b63d5de97e32c | |
parent | 9e71310d15d9dfcbf5e1c94948e0260f3dc3e678 [diff] |
Before requerying a cursor, check if it is closed. 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