Skip to content

Instantly share code, notes, and snippets.

@garg-lucifer
Created September 24, 2022 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garg-lucifer/98a3a75c1ec45da0f3e7e676daa0ef37 to your computer and use it in GitHub Desktop.
Save garg-lucifer/98a3a75c1ec45da0f3e7e676daa0ef37 to your computer and use it in GitHub Desktop.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
...>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<application
...
<receiver android:name=".presentation.br.RebootBroadcastReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
</intent-filter>
</receiver>
...
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment