Skip to content

Commit

Permalink
Update log formatting
Browse files Browse the repository at this point in the history
The difference format seems more memorable
  • Loading branch information
kmark committed Feb 22, 2018
1 parent 83e38ec commit b789ebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/versobit/kmark/xhangouts/XHangouts.java
Expand Up @@ -129,9 +129,9 @@ public void handleLoadPackage(XC_LoadPackage.LoadPackageParam loadPackageParam)
// Do not warn unless Hangouts version is > +/- the VERSION_TOLERANCE of the supported version
if (!TESTED_VERSION.isCompatible(hangoutsVerCode)) {
unsupportedVersion = true;
log(String.format("Warning: Your Hangouts version, %s (%d), significantly differs from the version XHangouts was built against: v%s (%d - %d)",
log(String.format("Warning: Your Hangouts version, %s (%d), significantly differs from the version XHangouts was built against: %s (%d+)",
hangoutsVerName, hangoutsVerCode, TESTED_VERSION.getVersion(),
TESTED_VERSION.getMin(), TESTED_VERSION.getMax()), false);
TESTED_VERSION.getMin(), TESTED_VERSION.getDifference()), false);
}

findAndHookMethod(Application.class, "onCreate", new XC_MethodHook() {
Expand Down

0 comments on commit b789ebc

Please sign in to comment.