1
0
mirror of https://github.com/moparisthebest/SSLDroid synced 2024-11-27 11:22:20 -05:00

Added proper permissions for service stop and start

Signed-off-by: Balint Kovacs <blint@blint.hu>
This commit is contained in:
Balint Kovacs 2013-06-14 11:51:52 +02:00
parent 5c2958ea69
commit f4641c4498

View File

@ -3,6 +3,8 @@
package="hu.blint.ssldroid" android:versionCode="4" package="hu.blint.ssldroid" android:versionCode="4"
android:versionName="1.2.1"> android:versionName="1.2.1">
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="7" /> <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="7" />
<permission android:name="hu.blint.ssldroid.permission.startstop" android:protectionLevel="normal" android:label="Start and stop the SSLDroid service" />
<uses-permission android:name="hu.blint.ssldroid.permission.startstop" />
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
@ -19,7 +21,7 @@
android:windowSoftInputMode="stateVisible|adjustResize" /> android:windowSoftInputMode="stateVisible|adjustResize" />
<activity android:name=".SSLDroidReadLogs" /> <activity android:name=".SSLDroidReadLogs" />
<activity android:name=".SSLDroidProvisioning" /> <activity android:name=".SSLDroidProvisioning" />
<service android:enabled="true" android:name="SSLDroid" android:permission="android.permission.INTERNET"> <service android:enabled="true" android:name="SSLDroid" android:permission="hu.blint.ssldroid.permission.startstop">
<intent-filter> <intent-filter>
<action android:name="hu.blint.ssldroid.SSLDroid" /> <action android:name="hu.blint.ssldroid.SSLDroid" />
</intent-filter> </intent-filter>