[android] Restricted data sale for flurry

This commit is contained in:
Александр Зацепин 2019-12-17 13:19:02 +03:00 committed by Arsentiy Milchakov
parent ec189f3c4f
commit ffab7196d7

View file

@ -23,11 +23,13 @@ class FlurryEventLogger extends DefaultEventLogger
{
//noinspection ConstantConditions
FlurryAgent.setVersionName(BuildConfig.VERSION_NAME);
FlurryAgent.setDataSaleOptOut(true);
new FlurryAgent
.Builder()
.withLogEnabled(true)
.withLogLevel(BuildConfig.DEBUG ? Log.DEBUG : Log.ERROR)
.withCaptureUncaughtExceptions(false)
.withDataSaleOptOut(true)
.build(getApplication(), PrivateVariables.flurryKey());
}