Fix CTS android.media package testEncodeVirtualDisplay seldom fail issue

This test case will do 720p avc 15fps 6Mbps encoding without query target capabilities that will cause some low end platform out of it's specification can not start this test.
Suggest to apply the query capability first before testing like the behavior of
EncodeVirtualDisplayWithCompositionTest.java

Change-Id: I392741cc5137f91735a33703a4581e07629af9e3
Signed-off-by: Junjie Hu <junjie.hu@mediatek.com>
1 file changed