mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-19 19:42:38 +02:00
19 lines
541 B
Java
19 lines
541 B
Java
|
package es.chiteroman.playintegrityfix;
|
||
|
|
||
|
import java.security.Provider;
|
||
|
|
||
|
public final class CustomProvider extends Provider {
|
||
|
|
||
|
CustomProvider(Provider provider) {
|
||
|
super(provider.getName(), provider.getVersion(), provider.getInfo());
|
||
|
putAll(provider);
|
||
|
this.put("KeyStore.AndroidKeyStore", CustomKeyStoreSpi.class.getName());
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public synchronized Service getService(String type, String algorithm) {
|
||
|
EntryPoint.spoofDevice();
|
||
|
return super.getService(type, algorithm);
|
||
|
}
|
||
|
}
|