mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Removed Prefs.TRACKING_ENABLED condition in SettingsActivity.java
This commit is contained in:
parent
234c7ccd48
commit
23c73ab45a
1 changed files with 0 additions and 7 deletions
|
|
@ -54,13 +54,6 @@ 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
|
||||
EventLog.schema(CommonsApplication.EVENT_EVENTLOGGING_CHANGE)
|
||||
.param("username", app.getCurrentAccount().name)
|
||||
.param("state", sharedPreferences.getBoolean(key, true))
|
||||
.log(true);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue