title: Android Permission Denial: broadcasting Intent
body: <p><br>
  I really do not know what is wrong, but my if widget is update by system by "APPWIDGET_UPDATE" it throws following exception. I tried several things, exporting receiver (true/false), I tried it on emulators and real phones, but it is same. I added several <code>intent-filters</code>, but it did not work.</p>
  
  <pre><code>11-06 20:10:10.279: W/ActivityManager(61): Permission denied: checkComponentPermission() reqUid=1000
  11-06 20:10:10.279: W/ActivityManager(61): Permission Denial: broadcasting Intent { act=android.appwidget.action.APPWIDGET_UPDATE (has extras) } from com.ency.easychange (pid=1196, uid=10034) requires null due to receiver com.android.settings/com.android.settings.widget.SettingsAppWidgetProvider
  </code></pre>
  
  <p>My AppWidgetProvider is only declared, because I tried to eliminate possibilities, but the exception is throw before <code>ExchangeRateWidgetProvider.onReceive()</code> is called.</p>
  
  <pre><code>public class ExchangeRateWidgetProvider extends AppWidgetProvider {
      public static final String tag = "ExchangeRateWidgetProvider"; 
  
          @Override
          public void onUpdate(Context context, AppWidgetManager appWidgetManager,
                  int[] appWidgetIds) {
  
          }   
  }
  </code></pre>
  
  <p>My Manifest:</p>
  
  <p></p>
  
  <pre><code>&lt;uses-sdk
      android:minSdkVersion="9"
      android:targetSdkVersion="15" /&gt;
  
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  
  &lt;!--  TODO: Remove, only for traces  --&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt; 
  
  &lt;application
      android:icon="@drawable/ic_launcher_main"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:name=".EasyChange"
          android:label="@string/title_activity_easy_change" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  
  
      &lt;service android:name=".ExchangeRateWidgetService"
               android:exported="true"&gt;
          &lt;intent-filter&gt;
          &lt;action android:name="android.intent.action.MAIN" /&gt;
          &lt;action android:name="android.appwidget.action.APPWIDGET_ENABLED" /&gt;
          &lt;/intent-filter&gt;        
      &lt;/service&gt;
  
  
      &lt;receiver
          android:name=".ExchangeRateWidgetProvider"
          android:label="@string/exchange_rate_widget_name"
          android:exported="true"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.appwidget.action.APPWIDGET_UPDATE" /&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
          &lt;/intent-filter&gt;
  
          &lt;meta-data
              android:name="android.appwidget.provider"
              android:resource="@xml/exchange_rate_widget_providerinfo" /&gt;
      &lt;/receiver&gt;
  
     &lt;activity
          android:name=".WidgetConfigSmall"
          android:label="@string/title_activity_widget_config_small"
          android:theme="@android:style/Theme.Holo.Dialog"
          android:excludeFromRecents="true"
          android:exported="true" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>I appreciate if you can take a look ... </p>