1
0
mirror of https://github.com/moparisthebest/SSLDroid synced 2024-11-23 09:22:16 -05:00

cleaned up AndroidManifest to get rid of AndroidLint warnings and

properly define API level, also added security on the Service intent
This commit is contained in:
Balint Kovacs 2013-06-12 09:16:50 +02:00
parent f269d18052
commit 76677d959a

View File

@ -2,7 +2,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="hu.blint.ssldroid" android:versionCode="1" package="hu.blint.ssldroid" android:versionCode="1"
android:versionName="1.0"> android:versionName="1.0">
<application android:label="@string/app_name" android:icon="@drawable/icon"> <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="7" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.READ_LOGS" />
<application android:label="@string/app_name" android:icon="@drawable/icon" android:allowBackup="true">
<activity android:name="SSLDroidGui" android:label="@string/app_name"> <activity android:name="SSLDroidGui" android:label="@string/app_name">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
@ -13,7 +19,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"> <service android:enabled="true" android:name="SSLDroid" android:permission="android.permission.CHANGE_NETWORK_STATE">
<intent-filter> <intent-filter>
<action android:name="hu.blint.ssldroid.SSLDroid" /> <action android:name="hu.blint.ssldroid.SSLDroid" />
</intent-filter> </intent-filter>
@ -30,9 +36,4 @@
</intent-filter> </intent-filter>
</receiver> </receiver>
</application> </application>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.READ_LOGS" />
</manifest> </manifest>