Taranfx
Taranfx

Reputation: 41

Android SecurityException with entry in Manifest

I'm doing a Gdata Blogger from Android device:

GoogleLoginServiceHelper.getCredentials(this, REQUEST_CODE_LOGIN, null,
          GoogleLoginServiceConstants.REQUIRE_GOOGLE,
          BLOGGER_SERVICE, true);

I have this permissions in my manifest:

<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH"/>   
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.blogger"/>

But I got a SecurityException:

ERROR/AndroidRuntime(20985): java.lang.SecurityException: caller pid 20985 uid 10044 lacks com.google.android.googleapps.permission.GOOGLE_AUTH.BLOGGER

What could be wrong?

Upvotes: 1

Views: 836

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006674

Neither GoogleLoginServiceHelper nor those permissions are part of the Android SDK, at least as of Android 2.1.

Upvotes: 1

Related Questions