From a091d39076128df9c90e9c3e878e5653458e2b67 Mon Sep 17 00:00:00 2001 From: masensio Date: Fri, 13 Feb 2015 15:07:11 +0100 Subject: [PATCH] Fix building --- owncloud-android-library | 2 +- .../android/authentication/AuthenticatorActivity.java | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/owncloud-android-library b/owncloud-android-library index 2f178c9c..24110ba1 160000 --- a/owncloud-android-library +++ b/owncloud-android-library @@ -1 +1 @@ -Subproject commit 2f178c9c34e3dab507c46e718705913ed44db3c5 +Subproject commit 24110ba17870aa48a85751367922a87415a550d4 diff --git a/src/com/owncloud/android/authentication/AuthenticatorActivity.java b/src/com/owncloud/android/authentication/AuthenticatorActivity.java index e2c3c033..5233e1b1 100644 --- a/src/com/owncloud/android/authentication/AuthenticatorActivity.java +++ b/src/com/owncloud/android/authentication/AuthenticatorActivity.java @@ -1460,13 +1460,10 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity * the new credentials when needed. */ private void updateAccountAuthentication() throws AccountNotFoundException { - try { - OwnCloudClientManagerFactory.getDefaultSingleton().removeClientFor( - new OwnCloudAccount(mAccount, this) - ); - } catch (Exception e) { - Log_OC.e(TAG, "Exception", e); - } + + OwnCloudClientManagerFactory.getDefaultSingleton().removeClientFor( + new OwnCloudAccount(mAccount, this) + ); Bundle response = new Bundle(); response.putString(AccountManager.KEY_ACCOUNT_NAME, mAccount.name); -- 2.11.0