Revert "Added imports to SettingsActivity"

This reverts commit 3397e2eef4.
This commit is contained in:
misaochan 2015-10-04 15:55:48 +13:00
parent 3397e2eef4
commit c0f4ba4955

View file

@ -1,4 +1,4 @@
package org.wikimedia.commons;
package fr.free.nrw.commons;
import android.content.SharedPreferences;
@ -8,10 +8,6 @@ import android.preference.Preference;
import android.preference.PreferenceManager;
import android.util.Log;
import com.actionbarsherlock.app.SherlockPreferenceActivity;
import fr.free.nrw.commons.*;
import fr.free.nrw.commons.CommonsApplication;
import fr.free.nrw.commons.Prefs;
import fr.free.nrw.commons.Utils;
public class SettingsActivity extends SherlockPreferenceActivity implements SharedPreferences.OnSharedPreferenceChangeListener {
CommonsApplication app;
@ -60,7 +56,7 @@ public class SettingsActivity extends SherlockPreferenceActivity implements Shar
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
if(key.equals(Prefs.TRACKING_ENABLED)) {
// We force log this, so it is logged even if EL is turned off
fr.free.nrw.commons.EventLog.schema(CommonsApplication.EVENT_EVENTLOGGING_CHANGE)
EventLog.schema(CommonsApplication.EVENT_EVENTLOGGING_CHANGE)
.param("username", app.getCurrentAccount().name)
.param("state", sharedPreferences.getBoolean(key, true))
.log(true);