Permissions with PendingIntent.getBroadcast() and AlarmManager
<p>Is there a way to enforce receiver permissions for intents broadcast by the AlarmManager? For example, I want to do this:</p>

<pre><code>AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
Intent intent = new Intent("myapp.MY_ACTION");
PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0);
am.setRepeating(AlarmManager.RTC_WAKEUP, now, MY_INTERVAL, pendingIntent);
</code></pre>

<p>But make the broadcasts sent by the AlarmManager act like this:</p>

<pre><code>sendBroadcast(intent, "myapp.permission.RECEIVE_BROADCASTS");
</code></pre>
