mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
move GCM-related permissions into new manifest
Create an AndroidManifest.xml specific for the xw4 variant, and move the GCM-related permissions (including WakeLock) into it.
This commit is contained in:
parent
fd7f564e11
commit
6fa01eb971
2 changed files with 13 additions and 6 deletions
|
@ -34,13 +34,7 @@
|
|||
/>
|
||||
<uses-feature android:name="android.hardware.nfc" android:required="false" />
|
||||
|
||||
<!-- GCM stuff -->
|
||||
<permission android:name="${APP_ID}.permission.C2D_MESSAGE"
|
||||
android:protectionLevel="signature" />
|
||||
<uses-permission android:name="${APP_ID}.permission.C2D_MESSAGE" />
|
||||
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
||||
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.NFC" />
|
||||
|
||||
<application android:icon="@drawable/icon48x48"
|
||||
|
|
13
xwords4/android/app/src/xw4/AndroidManifest.xml
Normal file
13
xwords4/android/app/src/xw4/AndroidManifest.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.eehouse.android.xw4"
|
||||
>
|
||||
|
||||
<!-- GCM stuff -->
|
||||
<permission android:name="${APP_ID}.permission.C2D_MESSAGE"
|
||||
android:protectionLevel="signature" />
|
||||
<uses-permission android:name="${APP_ID}.permission.C2D_MESSAGE" />
|
||||
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
|
||||
</manifest>
|
Loading…
Reference in a new issue