You've already forked PlayIntegrityFork
mirror of
https://github.com/osm0sis/PlayIntegrityFork.git
synced 2025-09-06 06:37:06 +00:00
More logging
Co-authored-by: chiteroman <98092901+chiteroman@users.noreply.github.com>
This commit is contained in:
@@ -12,6 +12,7 @@ public final class CustomProvider extends Provider {
|
||||
|
||||
@Override
|
||||
public synchronized Service getService(String type, String algorithm) {
|
||||
if (EntryPoint.getVerboseLogs() > 2) EntryPoint.LOG(String.format("Service: Caller type '%s' with algorithm '%s'", type, algorithm));
|
||||
if (type.equals("KeyStore")) EntryPoint.spoofDevice();
|
||||
return super.getService(type, algorithm);
|
||||
}
|
||||
|
||||
@@ -20,6 +20,10 @@ public final class EntryPoint {
|
||||
|
||||
private static final Map<String, String> map = new HashMap<>();
|
||||
|
||||
public static Integer getVerboseLogs() {
|
||||
return verboseLogs;
|
||||
}
|
||||
|
||||
public static void init(int level) {
|
||||
verboseLogs = level;
|
||||
if (verboseLogs > 99) logFields();
|
||||
|
||||
Reference in New Issue
Block a user