title: Custom permission failing on Motorola devices
body: <p>I wrote a custom permission for receiving broadcasts for my widget, I get a permission denial for Motorola devices.</p>
  
  <blockquote>
    <p>Creating permission</p>
  </blockquote>
  
  <pre><code>&lt;permission
      android:name="com.sample.app.WIDGET_PERMISSION"
      android:description="@string/widgetDesc"
      android:label="@string/widgetLabel"
      android:protectionLevel="signature" &gt;
  &lt;/permission&gt;
  </code></pre>
  
  <blockquote>
    <p>Adding permission to Manifest file</p>
  </blockquote>
  
  <pre><code>    &lt;uses-permission android:name="com.sample.app.WIDGET_PERMISSION" /&gt;
  </code></pre>
  
  <blockquote>
    <p>Adding receiver</p>
  </blockquote>
  
  <pre><code>    &lt;receiver android:name=".MyWidget" android:label="MyApp"
                  android:icon="@drawable/image" 
                  android:permission="com.sample.app.WIDGET_PERMISSION"&gt;
                  &lt;intent-filter&gt;
                      &lt;action android:name="android.appwidget.action.APPWIDGET_UPDATE" /&gt;
                       &lt;category android:name="com.sample.app" /&gt;
                  &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  </code></pre>
  
  <blockquote>
    <p>I get permission denial message only for Motorola devices,</p>
  </blockquote>
  
  <pre><code>07-17 11:48:18.781: W/ActivityManager(479): Permission Denial: broadcasting Intent { act=android.appwidget.action.APPWIDGET_ENABLED cmp=com.sample.app/.MyWidget} from android (pid=3116, uid=10006) requires com.sample.app.WIDGET_PERMISSION due to receiver com.sample.app/com.sample.app.MyWidget
  
  07-17 11:48:18.781: W/ActivityManager(479): Permission Denial: broadcasting Intent { act=android.appwidget.action.APPWIDGET_UPDATE cmp=com.sample.app/.MyWidget(has extras) } from android (pid=3116, uid=10006) requires com.sample.app.WIDGET_PERMISSION due to receiver com.sample.app/com.sample.app.MyWidget
  
  07-17 11:48:18.828: W/ActivityManager(479): Permission Denial: broadcasting Intent { act=com.motorola.blur.home.ACTION_SET_WIDGET_SIZE cmp=com.sample.app/.MyWidget(has extras) } from com.motorola.blur.home (pid=3116, uid=10006) requires com.sample.app.WIDGET_PERMISSION due to receiver com.sample.app/com.sample.app.MyWidget
  </code></pre>