File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
java/com/ibm/watson/developer_cloud/android/library/util Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 6
6
android : label =" @string/app_name" >
7
7
8
8
<provider
9
- android : name =" android.support.v4.content.FileProvider "
10
- android : authorities =" com.ibm.watson.developer_cloud.android.provider"
9
+ android : name =" .util.WatsonFileProvider "
10
+ android : authorities =" ${applicationId}. com.ibm.watson.developer_cloud.android.provider"
11
11
android : exported =" false"
12
12
android : grantUriPermissions =" true" >
13
13
<meta-data
Original file line number Diff line number Diff line change
1
+ package com .ibm .watson .developer_cloud .android .library .util ;
2
+
3
+ import android .support .v4 .content .FileProvider ;
4
+
5
+ /**
6
+ * Trivial subclass of FileProvider to avoid provider authority collisions.
7
+ * See https://commonsware.com/blog/2017/06/27/fileprovider-libraries.html for more info.
8
+ */
9
+ public class WatsonFileProvider extends FileProvider { }
You can’t perform that action at this time.
0 commit comments