forked from organicmaps/organicmaps
[android] Fixed crash during push woosh open source mode
This commit is contained in:
parent
edbc05c313
commit
cbf2e581d1
2 changed files with 3 additions and 5 deletions
|
@ -17,8 +17,6 @@ import java.util.Map;
|
|||
|
||||
class LibnotifyEventLogger extends DefaultEventLogger
|
||||
{
|
||||
@SuppressWarnings("NullableProblems")
|
||||
|
||||
LibnotifyEventLogger(@NonNull Application application)
|
||||
{
|
||||
super(application);
|
||||
|
|
|
@ -15,8 +15,7 @@ class PushWooshEventLogger extends DefaultEventLogger
|
|||
private static final Logger LOGGER = LoggerFactory.INSTANCE.getLogger(LoggerFactory.Type.MISC);
|
||||
private static final String PW_EMPTY_APP_ID = "XXXXX";
|
||||
|
||||
@SuppressWarnings("NullableProblems")
|
||||
@NonNull
|
||||
@Nullable
|
||||
private PushwooshHelper mPushwooshHelper;
|
||||
|
||||
PushWooshEventLogger(@NonNull Application application)
|
||||
|
@ -46,6 +45,7 @@ class PushWooshEventLogger extends DefaultEventLogger
|
|||
public void sendTags(@NonNull String tag, @Nullable String[] params)
|
||||
{
|
||||
super.sendTags(tag, params);
|
||||
mPushwooshHelper.sendTags(tag, params);
|
||||
if (mPushwooshHelper != null)
|
||||
mPushwooshHelper.sendTags(tag, params);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue