这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit 2968854

Browse files
Changed: Protect ShareAPI.ContentProvider write acess with permissoion in case it was allowed in future without setting permission
1 parent 292c309 commit 2968854

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
<!-- This permission is not used, but a permission is needed on the sharedfiles contentprovider,
3535
which will always use FLAG_GRANT_READ_URI_PERMISSION. -->
36-
<permission android:name="${TERMUX_PACKAGE_NAME}.sharedfiles.READ" android:protectionLevel="signature" />
36+
<permission android:name="${TERMUX_PACKAGE_NAME}.sharedfiles.READ_WRITE" android:protectionLevel="signature" />
3737

3838

3939

@@ -109,7 +109,7 @@
109109
<provider
110110
android:name=".apis.ShareAPI$ContentProvider"
111111
android:authorities="${TERMUX_PACKAGE_NAME}.sharedfiles"
112-
android:readPermission="${TERMUX_PACKAGE_NAME}.sharedfiles.READ"
112+
android:permission="${TERMUX_PACKAGE_NAME}.sharedfiles.READ_WRITE"
113113
android:grantUriPermissions="true"
114114
android:exported="true" />
115115

0 commit comments

Comments
 (0)