override public void EnableService(bool enabled) { if (CrashReportingSettings.enabled != enabled) { CrashReportingSettings.SetEnabledServiceWindow(enabled); EditorAnalytics.SendEventServiceInfo(new CrashReportingServiceState() { crash_reporting = enabled }); } }
protected override void InternalEnableService(bool enable, bool shouldUpdateApiFlag) { if (CrashReportingSettings.enabled != enable) { CrashReportingSettings.SetEnabledServiceWindow(enable); EditorAnalytics.SendEventServiceInfo(new CrashServiceState() { crash_reporting = enable }); } base.InternalEnableService(enable, shouldUpdateApiFlag); }