Fix negation...

This commit is contained in:
Marvin W 2017-02-08 22:03:42 +01:00
parent 32d6040e55
commit cbfb373bd0
No known key found for this signature in database
GPG Key ID: 072E9235DB996F2A

View File

@ -43,7 +43,7 @@ public class CheckinManager {
LastCheckinInfo info = LastCheckinInfo.read(context); LastCheckinInfo info = LastCheckinInfo.read(context);
if (!force && info.lastCheckin > System.currentTimeMillis() - MIN_CHECKIN_INTERVAL) if (!force && info.lastCheckin > System.currentTimeMillis() - MIN_CHECKIN_INTERVAL)
return null; return null;
if (PreferenceManager.getDefaultSharedPreferences(context).getBoolean(PREF_ENABLE_CHECKIN, false)) if (!PreferenceManager.getDefaultSharedPreferences(context).getBoolean(PREF_ENABLE_CHECKIN, false))
return null; return null;
List<CheckinClient.Account> accounts = new ArrayList<CheckinClient.Account>(); List<CheckinClient.Account> accounts = new ArrayList<CheckinClient.Account>();
AccountManager accountManager = AccountManager.get(context); AccountManager accountManager = AccountManager.get(context);