Android broadcast receiver custom permissions
问题 In view of the security model in Android, I'm trying out custom permissions. I'm trying out to enforce broadcaster permissions in my application. The scenario is that I have an activity A, which triggers a broadcasts like this (with a permission) : Intent updateUserBroadcast = new Intent(); updateUserBroadcast.setAction("android.intent.action.ACTION_UPDATE_USERNAME"); updateUserBroadcast.putExtra("username", userName); sendBroadcast(updateUserBroadcast, "com.android.MaliciousApp.RECEIVE