반응형
 Allows an application to use SurfaceFlinger's low level features -->
<permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
android:label="@string/permlab_accessSurfaceFlinger"
android:description="@string/permdesc_accessSurfaceFlinger"
android:protectionLevel="signature" />

Going from 1.1 to 1.5 the SurfaceFlinger protectionLevel has been
bumped to signature.  I suppose this was to stop people using the
isurface directly to render graphics and to ensure the android
development process remained as uniform as possible?  I can see the
logic here, though I would be better if this was left at dangerous
until the proper NDK was released so developers can do some
prototyping.  Then again, if I want to do prototyping I can always
edit the file myself...

Thanks

Chris

On Jun 11, 10:10 pm, Dianne Hackborn <hack...@android.com> wrote:
> Oh and if you just want to find out the levels you can use some form of "adb
> shell pm permissions"
>
> On Thu, Jun 11, 2009 at 1:08 PM, Dianne Hackborn <hack...@android.com>wrote:
>
>
>
> > The permission level is stored where the permission is defined, in the
> > owning AndroidManifest.xml.  For framework permissions, these are in
> > framework/base/core/res/AndroidManifest.xml I believe.
>
> > On Wed, Jun 10, 2009 at 10:58 PM, chrismrutherf...@googlemail.com <
> > chrismrutherf...@googlemail.com> wrote:
>
> >> Hi,
>
> >> I noticed there is an XML file that is used to map manifest privaliges
> >> to Unix groups such as logs or input.  I was wondering if there is a
> >> similar XML file for storing the  android:protectionLevel for the
> >> Manifest.permission such as Internet or RECORD_AUDIO.  If so, where is
> >> it?  If not, how are the protectionLevels stored for
> >> Manifest.permission.

----------------------------------------------------------------------------------------------------------------------------
<permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
android:label="@string/permlab_accessSurfaceFlinger"
android:description="@string/permdesc_accessSurfaceFlinger"
android:protectionLevel="signature" />

를 사용하면 surfaceflinger의 low level 기능을 사용 할 수 있다고 되어 있는데 도대체 low level 기능은 뭘까?
반응형
Posted by Real_G

댓글을 달아 주세요