Is my signature not same as PackageManager, so it cannot assign the
permission to me?

If the answer is Yes, any solution can help me to get this permission?

Thanks all of you

On 4月13日, 下午1時55分, JustinLai <[email protected]> wrote:
> Hello,
>
> I am trying to delete the content in DrmProvider.
>
> When i execute the statement
> "getContentResolver().delete(Uri.parse("content://drm/audio/1"), null,
> null);", the exception of "Requires DRM permission" will be shown.
>
> And one of warning message was found in logger.
> "04-12 13:21:51.074: WARN/PackageManager(55): Not granting permission
> android.permission.ACCESS_DRM to package com.cellcast.android
> (protectionLevel=2 flags=0x4444)"
>
> Is any setting i was missed.
>
> The following is my AndroidManifest.xml.
>
> <?xml version="1.0" encoding="utf-8"?>
> <manifest xmlns:android="http://schemas.android.com/apk/res/android";
>       package="com.cellcast.android" android:versionCode="1"
>       android:versionName="1.0">
>
>       <uses-permission android:name="android.permission.ACCESS_DRM" />
>       <uses-permission android:name="android.permission.INSTALL_DRM" /
>
>
>
>       <application android:icon="@drawable/icon"android:label="@string/
> app_name">
>               <activity android:name=".DRMTest"android:label="@string/
> app_name">
>                       <intent-filter>
>                               <action
> android:name="android.intent.action.MAIN" />
>                               <category
> android:name="android.intent.category.LAUNCHER" />
>                       </intent-filter>
>               </activity>
>       </application>
> </manifest>
>
> Thanks all of you

-- 
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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to