diff options
author | David Barksdale <amatus@amatus.name> | 2013-09-18 22:59:29 -0500 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2013-09-18 22:59:29 -0500 |
commit | 5696a8d661e962e85c013dc2f6cafbe2d02e0c49 (patch) | |
tree | 9fc35434eddb2b41cc022d2f8c09edf2dff0f755 /src/clojure/io/cons/carddav_sync/authenticator.clj | |
parent | a2463668724a54ad67bba4f902cff4a3bc21ea2e (diff) |
Upgrade to neko 3.0.0-beta6.
Diffstat (limited to 'src/clojure/io/cons/carddav_sync/authenticator.clj')
-rw-r--r-- | src/clojure/io/cons/carddav_sync/authenticator.clj | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/clojure/io/cons/carddav_sync/authenticator.clj b/src/clojure/io/cons/carddav_sync/authenticator.clj index 2bd6b00..ca90f62 100644 --- a/src/clojure/io/cons/carddav_sync/authenticator.clj +++ b/src/clojure/io/cons/carddav_sync/authenticator.clj @@ -4,7 +4,7 @@ (:import android.accounts.AccountManager android.content.Intent android.os.Bundle - [io.cons.carddav_sync authenticator_activity SplashActivity]) + io.cons.carddav_sync.authenticator_activity) (:gen-class :extends android.accounts.AbstractAccountAuthenticator :state context @@ -17,12 +17,10 @@ (defn -addAccount [this response accountType authTokenType requiredFeatures options] (log-i "addAccount") - (let [selector (Intent. (.context this) authenticator_activity) - intent (Intent. (.context this) SplashActivity) + (let [intent (Intent. (.context this) authenticator_activity) bundle (Bundle.)] - (.putExtra selector AccountManager/KEY_ACCOUNT_AUTHENTICATOR_RESPONSE + (.putExtra intent AccountManager/KEY_ACCOUNT_AUTHENTICATOR_RESPONSE response) - (.setSelector intent selector) (.putParcelable bundle AccountManager/KEY_INTENT intent) bundle)) |