Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9435df3 authored by nicolasroard's avatar nicolasroard Committed by Android Git Automerger
Browse files

am 4d385a0a: Add missing flag for bounds decode

* commit '4d385a0a':
  Add missing flag for bounds decode
parents 3763b7cf 4d385a0a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -284,6 +284,7 @@ public final class ImageLoader {
     */
    public static Rect loadBitmapBounds(Context context, Uri uri) {
        BitmapFactory.Options o = new BitmapFactory.Options();
        o.inJustDecodeBounds = true;
        loadBitmap(context, uri, o);
        return new Rect(0, 0, o.outWidth, o.outHeight);
    }