Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2735650 authored by AsavarTzeth's avatar AsavarTzeth Committed by Marvin W.
Browse files

Exclude com.bankid.bus from provider installer

The addition of the ProviderInstallerImpl broke com.bankid.bus
(BankID säkerhetsapp). This app is essential to Swedish users since it
is effectively the de facto Swedish online id.

This issue is resolved by adding the app id to the existing black list.

Fixes #824
parent 0d9bb345
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.security.Security;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Set;
@@ -45,7 +46,7 @@ import javax.net.ssl.SSLContext;

public class ProviderInstallerImpl {
    private static final String TAG = "GmsProviderInstaller";
    private static final List<String> DISABLED = Collections.singletonList("com.discord");
    private static final List<String> DISABLED = Collections.unmodifiableList(Arrays.asList("com.discord", "com.bankid.bus"));

    public static void insertProvider(Context context) {
        String packageName = PackageUtils.packageFromProcessId(context, Process.myPid());