From a775744041230a39aa213b51df721f3cff58dd5d Mon Sep 17 00:00:00 2001 From: belgin Date: Tue, 24 Nov 2020 01:35:33 +0200 Subject: Remove analytics support Signed-off-by: belgin Acked-by: Denis 'GNUtoo' Carikli --- src/com/cyanogenmod/setupwizard/setup/LocalePage.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/com/cyanogenmod/setupwizard/setup/LocalePage.java') diff --git a/src/com/cyanogenmod/setupwizard/setup/LocalePage.java b/src/com/cyanogenmod/setupwizard/setup/LocalePage.java index e9717a5..e8a86ac 100644 --- a/src/com/cyanogenmod/setupwizard/setup/LocalePage.java +++ b/src/com/cyanogenmod/setupwizard/setup/LocalePage.java @@ -43,7 +43,6 @@ import android.widget.Toast; import com.android.internal.telephony.MccTable; import com.cyanogenmod.setupwizard.R; import com.cyanogenmod.setupwizard.SetupWizardApp; -import com.cyanogenmod.setupwizard.cmstats.SetupStats; import com.cyanogenmod.setupwizard.ui.LocalePicker; import com.cyanogenmod.setupwizard.ui.SetupPageFragment; import com.cyanogenmod.setupwizard.util.SetupWizardUtils; @@ -90,9 +89,6 @@ public class LocalePage extends SetupPage { confirmCyanogenCredentials(mLocaleFragment); return true; } else { - if (mLocaleFragment != null) { - mLocaleFragment.sendLocaleStats(); - } return super.doNextAction(); } } @@ -248,14 +244,6 @@ public class LocalePage extends SetupPage { return R.layout.setup_locale; } - public void sendLocaleStats() { - if (!mCurrentLocale.equals(mInitialLocale)) { - SetupStats.addEvent(SetupStats.Categories.SETTING_CHANGED, - SetupStats.Action.CHANGE_LOCALE, SetupStats.Label.LOCALE, - mCurrentLocale.getDisplayName()); - } - } - public void fetchAndUpdateSimLocale() { if (mIgnoreSimLocale || isDetached()) { return; -- cgit v1.2.3