mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
move SMSReceiver from main manifest to the others
Theory is that the store's buggy site is presenting its banned-permissions interface because it's detecting a Receiver that requires SMS_RECEIVE permission even though the permissions themselves aren't there any more.
This commit is contained in:
parent
dc5b134708
commit
5f29af46e0
4 changed files with 30 additions and 9 deletions
|
@ -215,15 +215,6 @@
|
|||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<receiver android:name="SMSReceiver" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.DATA_SMS_RECEIVED" />
|
||||
<data android:scheme="sms" />
|
||||
<data android:port="@string/nbs_port" />
|
||||
<data android:host="*" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<service android:name="FBMService">
|
||||
<intent-filter>
|
||||
<action android:name="com.google.firebase.MESSAGING_EVENT" />
|
||||
|
|
|
@ -22,5 +22,14 @@
|
|||
|
||||
<service android:name="WiDirService"/>
|
||||
|
||||
<receiver android:name="SMSReceiver" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.DATA_SMS_RECEIVED" />
|
||||
<data android:scheme="sms" />
|
||||
<data android:port="@string/nbs_port" />
|
||||
<data android:host="*" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
</application>
|
||||
</manifest>
|
||||
|
|
|
@ -28,5 +28,14 @@
|
|||
|
||||
<service android:name="WiDirService"/>
|
||||
|
||||
<receiver android:name="SMSReceiver" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.DATA_SMS_RECEIVED" />
|
||||
<data android:scheme="sms" />
|
||||
<data android:port="@string/nbs_port" />
|
||||
<data android:host="*" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
</application>
|
||||
</manifest>
|
||||
|
|
|
@ -7,4 +7,16 @@
|
|||
must be added per-variant !-->
|
||||
<uses-permission android:name="android.permission.RECEIVE_SMS" />
|
||||
<uses-permission android:name="android.permission.SEND_SMS" />
|
||||
|
||||
<application>
|
||||
<receiver android:name="SMSReceiver" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.DATA_SMS_RECEIVED" />
|
||||
<data android:scheme="sms" />
|
||||
<data android:port="@string/nbs_port" />
|
||||
<data android:host="*" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
|
Loading…
Reference in a new issue