Skip to content

Commit 9af70c1

Browse files
committed
Attempted to remove integrity.
1 parent 7bfd969 commit 9af70c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

TMessagesProj/src/main/java/org/telegram/tgnet/ConnectionsManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,7 +1589,7 @@ public static void onPremiumFloodWait(final int currentAccount, final int reques
15891589

15901590
@Keep
15911591
public static void onIntegrityCheckClassic(final int currentAccount, final int requestToken, final String project, final String nonce) {
1592-
AndroidUtilities.runOnUIThread(() -> {
1592+
/*AndroidUtilities.runOnUIThread(() -> {
15931593
long start = System.currentTimeMillis();
15941594
FileLog.d("account"+currentAccount+": server requests integrity classic check with project = "+project+" nonce = " + nonce);
15951595
IntegrityManager integrityManager = IntegrityManagerFactory.create(ApplicationLoader.applicationContext);
@@ -1623,7 +1623,7 @@ public static void onIntegrityCheckClassic(final int currentAccount, final int r
16231623
FileLog.e("account"+currentAccount+": integrity check failed to give a token in " + (System.currentTimeMillis() - start) + "ms", e);
16241624
native_receivedIntegrityCheckClassic(currentAccount, requestToken, nonce, "PLAYINTEGRITY_FAILED_EXCEPTION_" + LoginActivity.errorString(e));
16251625
});
1626-
});
1626+
});*/
16271627
}
16281628

16291629
@Keep

0 commit comments

Comments
 (0)