title: Content Provider permission when accessing via android.widget.RemoteViewsService
body: <p>I'm developing an application's widget as part of a bigger application.
  The application contains a ContentProvider which is declared in the manifest.xml as follow:</p>
  
  <pre><code>&lt;provider android:name="aaa.bbb.providers.MyContentProvider"
      android:authorities="aaa.bbb.myprovider"
      android:enabled="true" 
      android:exported="false"&gt;
  &lt;/provider&gt;
  </code></pre>
  
  <p>As you can see the content provider exported attribute is set to false, since I don't want
  other applications to access it (accoridng to google's developers guide..). 
  The problem is that this attribute causes the widget to crash when trying to fetch data
  from the content provider, although it runs from the SAME process (the widget uses a StackView which uses a android.widget.RemoteViewsService) I get:</p>
  
  <pre><code>java.lang.SecurityException: Permission Denial: reading aaa.bbb.providers.MyContentProvider uri content://aaa.bbb.myprovider/users from pid=203, uid=10022 requires null
  </code></pre>
  
  <p>Now as far as I know, this kind of error occurres when a permission is missing, but it says
  that permission <code>null</code> is required, and there is no such permission as we all know...</p>
  
  <p>Thanks!</p>