Remove enable_analytics magic

This commit is contained in:
Mario Danic 2017-03-02 12:40:25 +01:00
parent 27e486458a
commit 5b4b8bd20f
2 changed files with 3 additions and 8 deletions

View file

@ -41,12 +41,10 @@ public class CustomApp extends MainApp {
/*
In order for Firebase Analytics to work, you also need to
put a proper google-services.json in src/custom folder
If that file is flawed, nothing will be sent to Firebase
*/
if (getResources().getBoolean(R.bool.enable_analytics)) {
return firebaseAnalytics;
} else {
return null;
}
return firebaseAnalytics;
}
}

View file

@ -99,9 +99,6 @@
<!-- login data links -->
<string name="login_data_own_scheme" translatable="false">cloud</string>
<!-- firebase analytics -->
<bool name="enable_analytics">false</bool>
</resources>