title: Nougat getUriForFile issue with camera Return
body: <p>I've been trying to update my app to the way Nougat handles URI in intents and can't for the life of me figure out how to get the camera to work again. I've tried following the documentation but I must be missing something. Can anyone help?</p>
  
  <p>this is my dispatch event</p>
  
  <pre><code>Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
      if (takePictureIntent.resolveActivity(getPackageManager()) != null) {
          // Create the File where the photo should go
          File photoFile = null;
          try {
              photoFile = createImageFile();
          } catch (IOException ex) {
              // Error occurred while creating the File
              return;
          }
          // Continue only if the File was successfully created
          if (photoFile != null) {
              Uri photoURI = FileProvider.getUriForFile(this,
                     "com.everywhere_ww.provider",
                      photoFile);
              takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, photoURI);
              startActivityForResult(takePictureIntent, REQUEST_IMAGE_CAPTURE);
          }
      }
  </code></pre>
  
  <p>this is my provider in manifest:</p>
  
  <pre><code>&lt;provider
          android:name="android.support.v4.content.FileProvider"
          android:authorities="com.everywhere_ww.provider"
          android:exported="false"
          android:grantUriPermissions="true"&gt;
          &lt;meta-data
              android:name="android.support.FILE_PROVIDER_PATHS"
              android:resource="@xml/file_paths"/&gt;
      &lt;/provider&gt;
  </code></pre>
  
  <p>This is my file paths</p>
  
  <pre><code>&lt;paths xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;external-path name="imgFolder" path="pictures" /&gt;
  &lt;external-path name="tempFolder" path="temp" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>Attempting to take a picture always fails with a </p>
  
  <pre><code>java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/com.everywhere_ww/files/temp/JPEG_20170223_101548_1550424251.jpg
  </code></pre>