Fixed possible crashes
Fixed photo sharing on devices with low memory
Add giflib and GifDrawable
Gif support, applying localization files from document messages
restore photo attach long press, bug fixes
Save localization files applyed from document, fixed forwarded name position in group chats, added links to telegram FAQ and support alert message, move all menus creation to code for localization purposes
Bug fixes
Optimize files upload, gif auto play after download, crash and bug fixes
Fixed sharing gif files from gallery
Fixed files uploading in secret chats, allow move application to sd card(not tested)
Attempt to detect screenshots(not perfect now, disabled)
fixed forwarded messages name position, fixed login activity state restore
partly revert last commit, fixed infinite updating
restore login activity even if app was killed
Added some additional checks
Fixed lock position in secret chat placeholder for long strings
fixed previous commit
Fixed null pointer exceptions
Fixed native library checking, fixed preview sending for gif documents
Fixed sharing gif files from picasa and G+ albums