you might miss to set the device graphics group.
for example, /dev/graphics/* is belong to graphics group. as a result, SF
will have permission to access it.

refer to ueventd.rc
/dev/graphics/*           0660   root       graphics

thanks,
--lx

On Sun, Dec 4, 2011 at 11:36 AM, [email protected] <[email protected]>wrote:

> Hi all,
>   I am using <uses-permission
>                 android:name="android.permission.ACCESS_SURFACE_FLINGER" />
> to access the ISurface, But I am getting the error:
>
> E/SecHardwareRenderer(  424): iSurface is get
> E/SecHardwareRenderer(  424): mframesize set  ok
> W/ServiceManager(   90): Permission failure:
> android.permission.ACCESS_SURFACE_FLINGER from uid=10036 pid=424
> E/SurfaceFlinger(   90): Permission Denial: can't access SurfaceFlinger
> pid=424, uid=10036
> E/SecHardwareRenderer(  424): i surface register Buffer is ok
>
> How to Rectify the above error?
>
> Thanks
> --
> Jiang Bian
> http://www.wifihack.net/
> http://golang-china.org/
>
>  --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to