masensio 10 lat temu
rodzic
commit
a091d39076

+ 1 - 1
owncloud-android-library

@@ -1 +1 @@
-Subproject commit 2f178c9c34e3dab507c46e718705913ed44db3c5
+Subproject commit 24110ba17870aa48a85751367922a87415a550d4

+ 4 - 7
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);