First of all,
<uses-permission android:name="course.labs.permissions.DANGEROUS_ACTIVITY_PERM"/>
this should be in the app that you want to access this app.
let's say you have app A and you want to open Dangerous App, you put this permission usage to in A's manifest file.
Second :
You also need to tell application about permission. Add this permission to application.
<application
android:permission="course.labs.permissions.DANGEROUS_ACTIVITY_PERM"
<!-- your other attributes -->
>
Third :
Intent filter should link to Activity not the permission string.
<intent-filter>
<action android:name="course.labs.permissions.DANGEROUS_ACTIVITY" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>