Merge branch 'master' into release-1.7.0
authorDavid A. Velasco <dvelasco@solidgear.es>
Tue, 3 Feb 2015 11:46:23 +0000 (12:46 +0100)
committerDavid A. Velasco <dvelasco@solidgear.es>
Tue, 3 Feb 2015 11:46:23 +0000 (12:46 +0100)
1  2 
src/com/owncloud/android/authentication/AuthenticatorActivity.java

@@@ -683,7 -683,7 +683,7 @@@ SsoWebViewClientListener, OnSslUntruste
          \r
          if (mOperationsServiceBinder != null) {\r
              //Log_OC.wtf(TAG, "getting access token..." );\r
 -            mWaitingForOpId = mOperationsServiceBinder.newOperation(getServerInfoIntent);\r
 +            mWaitingForOpId = mOperationsServiceBinder.queueNewOperation(getServerInfoIntent);\r
          }\r
      }\r
  \r
                  normalizeUrlSuffix(uri)\r
              );\r
              if (mOperationsServiceBinder != null) {\r
 -                mWaitingForOpId = mOperationsServiceBinder.newOperation(getServerInfoIntent);\r
 +                mWaitingForOpId = mOperationsServiceBinder.queueNewOperation(getServerInfoIntent);\r
              } else {\r
                Log_OC.wtf(TAG, "Server check tried with OperationService unbound!" );\r
              }\r
          \r
          if (mOperationsServiceBinder != null) {\r
              //Log_OC.wtf(TAG, "starting existenceCheckRemoteOperation..." );\r
 -            mWaitingForOpId = mOperationsServiceBinder.newOperation(existenceCheckIntent);\r
 +            mWaitingForOpId = mOperationsServiceBinder.queueNewOperation(existenceCheckIntent);\r
          }\r
      }\r
  \r
          dismissDialog(WAIT_DIALOG_TAG);\r
  
          if (result.isIdPRedirection()) {
-             String url = result.getRedirectedLocation();\r
              String targetUrl = mServerInfo.mBaseUrl \r
                      + AccountUtils.getWebdavPath(mServerInfo.mVersion, mAuthTokenType);\r
  \r
              // Show dialog\r
-             SamlWebViewDialog dialog = SamlWebViewDialog.newInstance(url, targetUrl);            \r
+             SamlWebViewDialog dialog = SamlWebViewDialog.newInstance(targetUrl, targetUrl);            \r
              dialog.show(getSupportFragmentManager(), SAML_DIALOG_TAG);\r
  \r
              mAuthStatusIcon = 0;\r
          \r
          if (mOperationsServiceBinder != null) {\r
              //Log_OC.wtf(TAG, "starting getRemoteUserNameOperation..." );\r
 -            mWaitingForOpId = mOperationsServiceBinder.newOperation(getUserNameIntent);\r
 +            mWaitingForOpId = mOperationsServiceBinder.queueNewOperation(getUserNameIntent);\r
          }\r
      }\r
  \r