As of 1.5 ACCESS_SURFACE_FLINGER permissions have been bumped to
signature. I haven't tried, but to get signature permissions you could
sign your app with the same key that signed the surfaceflinger or you
could set the surfaceflinger permissions to dangerous or normal in
frameworks/base/core/res/AndroidManifest.xml.

On Jun 12, 3:40 am, paullee <li.pau...@gmail.com> wrote:
> Hi:
>
>       I have implemented dislay frame with pushbuffer type of
> surfaceflinger on SDK1.0.
>       1. Creat a surface holder and pass the surface to JNI;
>       2. Declare memerybase and call registerbuffers() in JNI to init
> surfaceflinger;
>       3. Copy local frame into memerybase;
>       4. Call postbuffer() to display.
>       But when migrate my code on the SDK1.5, it cannot work well.
> There are some error  as following "Permission failure:
> android.permission.ACCESS_SURFACE_FLINGER ", and i have declare the
> "android.permission.ACCESS_SURFACE_FLINGER" in my
> AndroidManifest.xml.
>       Why and how can i solve it?
>
> Best Regards
> Paullee
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to