Commit 9d13d92b authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Registered bootreceiver

parent b60a5eb7
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
package="com.frostnerd.dnsserver"> package="com.frostnerd.dnsserver">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application <application
android:allowBackup="true" android:allowBackup="true"
...@@ -19,7 +20,15 @@ ...@@ -19,7 +20,15 @@
</intent-filter> </intent-filter>
</activity> </activity>
<service android:name=".services.ServerService" android:stopWithTask="false"/> <service
android:name=".services.ServerService"
android:stopWithTask="false" />
<receiver android:name=".receivers.BootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
</intent-filter>
</receiver>
</application> </application>
</manifest> </manifest>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment