On Wed, 3 Feb 2010 00:28:37 -0500
Sandeep Prakash <[email protected]> wrote:

> But the following ERROR occurs when we try to run the .apk.
> 
> 02-03 09:55:51.258: WARN/ServiceManager(582): Permission failure:
> android.permission.ACCESS_SURFACE_FLINGER from uid=10032 pid=1361
> 02-03 09:55:51.258: ERROR/SurfaceFlinger(582): Permission Denial:
> can't access SurfaceFlinger pid=1361, uid=10032
> 
> The I changed the permission for
> "android.permission.ACCESS_SURFACE_FLINGER" in frameworks/base/core/
> res/AndroidManifest.xml to "dangerous" and recompiled. But got the
> same error.
> 
> Then I commented out the "checkCallingPermission" method in
> IServiceManager.cpp and recompiled. Then also i got the same error.

http://groups.google.com/group/android-porting/browse_thread/thread/6f649c42d30f7572

You can't use that permission unless your package is signed with the
same key as the system image.
-- 
-Johann Koenig

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to