1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Fix bug when restoring SAML cookies after expiring a SAML session

This commit is contained in:
davigonz 2018-10-08 10:57:56 +02:00
parent 8841a0fcb7
commit 14ec6cb1ee
2 changed files with 4 additions and 8 deletions

View File

@ -56,11 +56,8 @@ public class DynamicSessionManager implements OwnCloudClientManager {
} }
@Override @Override
public void saveAllClients(Context context, String accountType) public void saveAllClients(Context context, String accountType) {
throws AccountUtils.AccountNotFoundException,
AuthenticatorException, IOException, OperationCanceledException {
mSimpleFactoryManager.saveAllClients(context, accountType); mSimpleFactoryManager.saveAllClients(context, accountType);
mSingleSessionManager.saveAllClients(context, accountType); mSingleSessionManager.saveAllClients(context, accountType);
} }
}
}

View File

@ -40,9 +40,8 @@ public class SimpleFactoryManager implements OwnCloudClientManager {
private static final String TAG = SimpleFactoryManager.class.getSimpleName(); private static final String TAG = SimpleFactoryManager.class.getSimpleName();
@Override @Override
public OwnCloudClient getClientFor(OwnCloudAccount account, Context context) public OwnCloudClient getClientFor(OwnCloudAccount account, Context context) throws
throws AccountNotFoundException, OperationCanceledException, AuthenticatorException, OperationCanceledException, AuthenticatorException, IOException {
IOException {
Log_OC.d(TAG, "getClientFor(OwnCloudAccount ... : "); Log_OC.d(TAG, "getClientFor(OwnCloudAccount ... : ");