1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-15 14:05:05 -05:00

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;