Skip to content

Commit

Permalink
Update server libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenlagus committed Oct 15, 2014
1 parent a01df8c commit 9107e01
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
Binary file modified TMessagesProj/libs/markConversation.jar
Binary file not shown.
Binary file modified TMessagesProj/libs/ownedConversation.jar
Binary file not shown.
Binary file modified TMessagesProj/libs/users.jar
Binary file not shown.
20 changes: 13 additions & 7 deletions TMessagesProj/src/main/java/org/tsupport/messenger/Utilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -801,16 +801,22 @@ public static byte[] decodeQuotedPrintable(final byte[] bytes) {
}

public static void checkForCrashes(Activity context) {
CrashManager.register(context, BuildVars.HOCKEY_APP_HASH, new CrashManagerListener() {
@Override
public boolean includeDeviceData() {
return true;
}
});
if (BuildVars.DEBUG_VERSION) {
CrashManager.register(context, BuildVars.HOCKEY_APP_HASH_BETA, new CrashManagerListener() {
@Override
public boolean includeDeviceData() {
return true;
}
});
}
}

public static void checkForUpdates(Activity context) {
UpdateManager.register(context, BuildVars.HOCKEY_APP_HASH);
if (BuildVars.DEBUG_VERSION) {
UpdateManager.register(context, BuildVars.HOCKEY_APP_HASH_BETA);
} else {
UpdateManager.register(context, BuildVars.HOCKEY_APP_HASH_RELEASE);
}
}

public static boolean isTablet(Context context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@ protected void onStart() {
protected void onResume() {
super.onResume();
// Disabled
// Utilities.checkForCrashes(this);
// Utilities.checkForUpdates(this);
Utilities.checkForCrashes(this);
Utilities.checkForUpdates(this);
ApplicationLoader.mainInterfacePaused = false;
ConnectionsManager.getInstance().setAppPaused(false, false);
MessagesController.getInstance().getDifference();
Expand Down

0 comments on commit 9107e01

Please sign in to comment.