SnapdragonGallery:Add FileProvider

Add a FileProvider to provide Uri of
files to avoid FileUriExposedException
when target sdk level is above 24.

Change-Id: I05f651c97733d27e5ba42065130dcc0ff963a073
CRs-Fixed: 2296203
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index fdc7635..25371f9 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -316,6 +316,15 @@
                 android:authorities="com.android.gallery3d.photoprovider"
                 android:syncable="false"
                 android:exported="false"/>
+        <provider
+            android:name="android.support.v4.content.FileProvider"
+            android:authorities="com.android.gallery3d.fileprovider"
+            android:exported="false"
+            android:grantUriPermissions="true">
+            <meta-data
+                android:name="android.support.FILE_PROVIDER_PATHS"
+                android:resource="@xml/provider_paths"/>
+        </provider>
         <activity
                 android:name="com.android.gallery3d.gadget.WidgetClickHandler"
                 android:theme="@android:style/Theme.NoDisplay" />