Ignore errors when installing Google SSL provider (#8002)

This commit is contained in:
Hans-Peter Lehmann 2025-09-21 17:06:17 +02:00 committed by GitHub
parent 07e72f8b9d
commit 31026dc0f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,6 @@ package de.danoeh.antennapod.net.ssl;
import android.content.Context;
import com.google.android.gms.common.GoogleApiAvailability;
import com.google.android.gms.common.GooglePlayServicesNotAvailableException;
import com.google.android.gms.common.GooglePlayServicesRepairableException;
import com.google.android.gms.security.ProviderInstaller;
@ -13,7 +12,7 @@ public class SslProviderInstaller {
} catch (GooglePlayServicesRepairableException e) {
e.printStackTrace();
GoogleApiAvailability.getInstance().showErrorNotification(context, e.getConnectionStatusCode());
} catch (GooglePlayServicesNotAvailableException e) {
} catch (Exception e) {
e.printStackTrace();
}
}