Add dump permission check in the MediaExtractorFactory::dump(int fd, const Vector<String16>&) same as dumpExtractors(int fd, const Vector<String16>&)

The purpose of TC is to check if the dump produces minimal output, but it fails because the output of dump() has more than one line.

BUG: 118364777
Test: run cts -m CtsSecurityTestCases -t android.security.cts.ServicePermissionsTest#testDumpProtected

Change-Id: Ifd15f4e7a6626feadb9debe5c1d4f3fbeedfb964
Merged-In: Ifd15f4e7a6626feadb9debe5c1d4f3fbeedfb964
Signed-off-by: Mark Hong <sungmin.h@samsung.com>
1 file changed