NullPointerException and TODO-Marker on a strange code-line

This commit is contained in:
Marcus Wolschon 2010-08-18 14:27:39 +00:00
parent 726b472330
commit 00d30f1b8a

View file

@ -202,7 +202,9 @@ public class MessageProvider extends ContentProvider
public void setApplication(Application app)
{
if (context == null) {
context = app.getApplicationContext();
}
if (app != null)
{
mApp = app;