Merge pull request #1211 from jotomo/pluginstats

PluginStats: used simple class named instead of translated name.
This commit is contained in:
Milos Kozak 2018-07-12 21:30:12 +03:00 committed by GitHub
commit efefe8ed18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ public class FabricPrivacy {
pluginStats.putCustomAttribute("version", BuildConfig.VERSION);
for (PluginBase plugin : MainApp.getPluginsList()) {
if (plugin.isEnabled(plugin.getType()) && !plugin.pluginDescription.alwaysEnabled) {
pluginStats.putCustomAttribute(plugin.getName(), "enabled");
pluginStats.putCustomAttribute(plugin.getClass().getSimpleName(), "enabled");
}
}