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

Commit daa61d45 authored by Daichi Hirono's avatar Daichi Hirono
Browse files

Fix MtpDatabaseTest#testFormatCodeForMpeg.

ag/1241051 explicitly specified the primary mime type for MTP format
code. And it changes mime type for MtpConstants.FORMAT_MPEG from
video/mp4 to video/mpeg.

FIX=30266226

Change-Id: I362bd7d651140b9928aa76e0d54e4769296d9498
parent 16c01b04
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1115,7 +1115,7 @@ public class MtpDatabaseTest extends AndroidTestCase {
            // Don't return mime type that is inconsistent with format code.
            cursor.moveToNext();
            assertEquals("inconsistent.txt", cursor.getString(0));
            assertEquals("video/mp4", cursor.getString(1));
            assertEquals("video/mpeg", cursor.getString(1));
            cursor.moveToNext();
            assertEquals("noext", cursor.getString(0));
            assertEquals("application/octet-stream", cursor.getString(1));