From 8ecb9e97c92d607af78850cd2d9685ab24b38100 Mon Sep 17 00:00:00 2001 From: DrKLO Date: Thu, 6 Mar 2014 00:18:25 +0400 Subject: [PATCH] Fixed blurry images in secret chats on some devices --- TMessagesProj/src/main/AndroidManifest.xml | 2 +- .../src/main/java/org/telegram/objects/PhotoObject.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TMessagesProj/src/main/AndroidManifest.xml b/TMessagesProj/src/main/AndroidManifest.xml index 8f6bfd84b..6f350b9f1 100644 --- a/TMessagesProj/src/main/AndroidManifest.xml +++ b/TMessagesProj/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ diffW || closestHeight > diffH) { + if (closestObject == null || closestObject instanceof TLRPC.TL_photoCachedSize || closestWidth > diffW || closestHeight > diffH) { closestObject = obj; closestWidth = diffW; closestHeight = diffH;