mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +03:00
Disable analytics in gplay edition too
This commit is contained in:
parent
5ecf2ea541
commit
52e2c42df5
1 changed files with 4 additions and 1 deletions
|
@ -21,12 +21,15 @@ package com.owncloud.android.utils;
|
|||
|
||||
import android.app.Activity;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import com.owncloud.android.MainApp;
|
||||
|
||||
public class AnalyticsUtils {
|
||||
public static void setCurrentScreenName(Activity activity, String s, String s1) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
public static void disableAnalytics() {
|
||||
// do nothing
|
||||
FirebaseAnalytics.getInstance(MainApp.getAppContext()).setAnalyticsCollectionEnabled(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue