Created
July 17, 2015 21:12
-
-
Save peterclemenko/396f30260facfb4fe7f1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void updateMarkupViber(long newLastId, boolean serialize) { | |
if (Cfg.DEBUG) { | |
Check.log(TAG + " (updateMarkupViber), +lastId: " + newLastId); | |
} | |
try { | |
markup.writeMarkupSerializable(newLastId); | |
Long verify = markup.unserialize(new Long(0)); | |
if (!lastViberReadDate.equals(verify)) { | |
if (Cfg.DEBUG) { | |
Check.log(TAG + " (updateMarkupViber) Error: failed"); | |
} | |
} | |
} catch (IOException e) { | |
if (Cfg.DEBUG) { | |
Check.log(TAG + " (updateMarkupViber) Error: " + e); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment