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

Commit 88fc2b85 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

MTP: Fix typo that resulted in the MTP provider returning thumb format for object format



BUG: 2994234

Change-Id: I99574043d3e0b310b9b7246f89b5b4a1e14fb5a6
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 4200dcaa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ public final class Mtp
         * or any of the valid MTP object formats as defined in the MTP specification.
         * <P>Type: INTEGER</P>
         */
        public static final String THUMB_FORMAT = "format";
        public static final String THUMB_FORMAT = "thumb_format";

        /**
         * The size of the object's thumbnail in bytes.
+1 −1
Original line number Diff line number Diff line
@@ -371,7 +371,7 @@ bool MtpCursor::fillObject(CursorWindow* window, MtpDevice* device,
                    goto fail;
                break;
            default:
                LOGE("fillStorage: unknown column %d\n", mColumns[i]);
                LOGE("fillObject: unknown column %d\n", mColumns[i]);
                goto fail;
        }
    }