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:
parent
726b472330
commit
00d30f1b8a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user