X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/281212045672b8439f09e50896d90a1f5c7524f1..2628eceb6b7548d151ab61c42969b42064e586bd:/src/com/owncloud/android/authentication/AuthenticatorActivity.java diff --git a/src/com/owncloud/android/authentication/AuthenticatorActivity.java b/src/com/owncloud/android/authentication/AuthenticatorActivity.java index cf768833..074751e6 100644 --- a/src/com/owncloud/android/authentication/AuthenticatorActivity.java +++ b/src/com/owncloud/android/authentication/AuthenticatorActivity.java @@ -537,6 +537,27 @@ SsoWebViewClientListener, OnSslUntrustedCertListener { } } + + @Override + protected void onStart() { + if (mOperationsServiceBinder != null) { + mOperationsServiceBinder.addOperationListener(AuthenticatorActivity.this, mHandler); + } + + super.onStart(); + } + + + @Override + protected void onStop() { + if (mOperationsServiceBinder != null) { + mOperationsServiceBinder.removeOperationListener(this); + } + super.onStop(); + } + + + /** * The redirection triggered by the OAuth authentication server as response to the GET AUTHORIZATION, and * deferred in {@link #onNewIntent(Intent)}, is processed here.