diff options
Diffstat (limited to 'src/clojure/io/cons/carddav_sync/sync_service.clj')
-rw-r--r-- | src/clojure/io/cons/carddav_sync/sync_service.clj | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/clojure/io/cons/carddav_sync/sync_service.clj b/src/clojure/io/cons/carddav_sync/sync_service.clj index e069f86..bcfd881 100644 --- a/src/clojure/io/cons/carddav_sync/sync_service.clj +++ b/src/clojure/io/cons/carddav_sync/sync_service.clj @@ -1,6 +1,6 @@ (ns io.cons.carddav_sync.sync_service (:use io.cons.carddav_sync.log) - (:require io.cons.carddav_sync.sync_adapter) + (:import io.cons.carddav_sync.sync_adapter) (:gen-class :extends android.app.Service :exposes-methods {onCreate superOnCreate @@ -17,9 +17,7 @@ (.superOnCreate this) (log-i "Service created") (swap! (.state this) - #(when-not % - (io.cons.carddav_sync.sync_adapter. - (.getApplicationContext this) true)))) + #(when-not % (sync_adapter. (.getApplicationContext this) true)))) (defn -onDestroy [this] |