We have a need to access files from within the browser that have been
downloaded with the downloadprovider. In order to do that we had to
add the media certificate to the browser application to get access to
the files. As a result of this change we have some issues running the
CTS scripts.

The CTS performance test for browser is failing because of a
permission issue. It looks like it uses the method, getInstrumentation
().startActivitySync(i), to start the activity synchronously but this
fails to execute with the following permission error:

android.performance3.cts.AppStartup#testStartup...(fail)
Permission Denial: starting instrumentation ComponentInfo
{com.android.cts.performance3/android.test.InstrumentationTestRunner}
from pid=2263, uid=2263 not allowed because package
com.android.cts.performance3 does not have a signature matching the
target com.android.browser

So my questions are:
- Is there another issue besides failing CTS tests by using the media
certificate in the browser?
- Is there another way to open up access to downloadprovider files
without adding the certificate to dependent apps?
- If using the certificate is okay, is it just an assumption problem
with the CTS scripts?

Thanks,
Nate

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to