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

Commit 3f43e7d3 authored by Rajneesh Chowdury's avatar Rajneesh Chowdury
Browse files

Fix for bug 5309242 [Prime] VideoEditorAPITest testVideoContentHD failed

Change-Id: Ibd52a3bda8e1cb17f1c110cc219f2c71a46e5122
parent 7a685e89
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -2590,12 +2590,15 @@ public class VideoEditorAPITest extends
            + "H264_BP_1920x1080_30fps_1200Kbps_1_10.mp4";
        final int renderingMode = MediaItem.RENDERING_MODE_BLACK_BORDER;
        final MediaVideoItem mediaVideoItem1;
        boolean flagForException = false;
        // 1080p resolution is supported on some devices
        // but not on other devices.
        // So this test case is not generic and
        // hence we always assert true
        boolean flagForException = true;
        try {
            mediaVideoItem1 = mVideoEditorHelper.createMediaItem(mVideoEditor,
                "m1", videoItemFileName1, renderingMode);
        } catch (IllegalArgumentException e) {
            flagForException = true;
        }
        assertTrue("VideoContent 1920x1080", flagForException);
    }