This is a system permission - you cannot access it from an application unless it is signed with the system keys. It's a bad idea to be messing around with SurfaceFlinger low-levels from an application.
On May 4, 9:49 pm, "[email protected]" <[email protected]> wrote: > I want to call Surface.openTransaction(); in camera.java,so I added > user permission ACCESS_SURFACE_FLINGER in Manifest.xml,but the log > will fail in below info: > > W/ServiceManager( 176): Permission failure: > android.permission.ACCESS_SURFACE_FLINGER from uid=10046 pid=554 > > E/SurfaceFlinger( 176): Permission Denial: can't > openGlobalTransaction pid=554, uid=10046 > > But refers the info in SK > athttp://developer.android.com/reference/android/Manifest.permission.html: > String ACCESS_SURFACE_FLINGER Allows an application to use > SurfaceFlinger's low level features > > Who knows why? --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
