Skip to content

Commit 90477c8

Browse files
authored
Merge pull request #43 from moeshin/moeshin-patch
Android 7 以上使用 FileProvider
2 parents 9918c8b + 6fc2fe4 commit 90477c8

File tree

5 files changed

+750
-6
lines changed

5 files changed

+750
-6
lines changed

app/src/main/AndroidManifest.xml

+10-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,16 @@
5353
<activity
5454
android:name=".ui.HtmlViewerActivity"
5555
android:resizeableActivity="true"/>
56-
56+
57+
<provider
58+
android:name=".FileProvider"
59+
android:authorities="pansong291.xposed.quickenergy.fileProvider"
60+
android:grantUriPermissions="true"
61+
android:exported="false">
62+
<meta-data
63+
android:name="android.support.FILE_PROVIDER_PATHS"
64+
android:resource="@xml/file_paths" />
65+
</provider>
5766
</application>
5867

5968
</manifest>

0 commit comments

Comments
 (0)