remove double rotation of group avatars

//FREEBIE
fork-5.53.8
agrajaghh 2014-12-16 13:05:07 +01:00 zatwierdzone przez Jake McGinty
rodzic f1572774f2
commit 44a4570870
1 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -205,10 +205,8 @@ public class BitmapUtil {
public static Bitmap getScaledCircleCroppedBitmap(Context context, MasterSecret masterSecret, Uri uri, int destSize)
throws FileNotFoundException, BitmapDecodingException
{
InputStream orientationStream = PartAuthority.getPartStream(context, masterSecret, uri);
Bitmap bitmap = createScaledBitmap(context, masterSecret, uri, destSize, destSize);
return getScaledCircleCroppedBitmap(fixOrientation(bitmap, orientationStream), destSize);
Bitmap bitmap = createScaledBitmap(context, masterSecret, uri, destSize, destSize);
return getScaledCircleCroppedBitmap(bitmap, destSize);
}
public static Bitmap getScaledCircleCroppedBitmap(Bitmap bitmap, int destSize) {