fixes in copy/past

This commit is contained in:
tom79 2017-09-30 09:01:36 +02:00
parent 28450bd9b9
commit bd9c0f527c
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@ public class StreamingLocalTimelineService extends IntentService {
public void onCreate() { public void onCreate() {
super.onCreate(); super.onCreate();
SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE); SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);
boolean display_global = sharedpreferences.getBoolean(Helper.SET_DISPLAY_GLOBAL, true); boolean display_local = sharedpreferences.getBoolean(Helper.SET_DISPLAY_LOCAL, true);
if( !display_global){ if( !display_local){
stopSelf(); stopSelf();
} }
SharedPreferences.Editor editor = sharedpreferences.edit(); SharedPreferences.Editor editor = sharedpreferences.edit();