Restrict exported components
This commit is contained in:
parent
b29a50fdb6
commit
1cefb40f58
1 changed files with 12 additions and 0 deletions
|
|
@ -47,6 +47,16 @@
|
||||||
android:name="android.permission.QUERY_ALL_PACKAGES"
|
android:name="android.permission.QUERY_ALL_PACKAGES"
|
||||||
tools:ignore="QueryAllPackagesPermission" />
|
tools:ignore="QueryAllPackagesPermission" />
|
||||||
|
|
||||||
|
<!-- Permission used to open settings -->
|
||||||
|
<permission
|
||||||
|
android:name="com.stevesoltys.seedvault.OPEN_SETTINGS"
|
||||||
|
android:protectionLevel="system|signature" />
|
||||||
|
|
||||||
|
<!-- Permission used to open backup gui -->
|
||||||
|
<permission
|
||||||
|
android:name="com.stevesoltys.seedvault.RESTORE_BACKUP"
|
||||||
|
android:protectionLevel="system|signature" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:name=".App"
|
android:name=".App"
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
|
|
@ -59,6 +69,7 @@
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".settings.SettingsActivity"
|
android:name=".settings.SettingsActivity"
|
||||||
|
android:permission="com.stevesoltys.seedvault.OPEN_SETTINGS"
|
||||||
android:exported="true" />
|
android:exported="true" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
|
|
@ -77,6 +88,7 @@
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".restore.RestoreActivity"
|
android:name=".restore.RestoreActivity"
|
||||||
|
android:permission="com.stevesoltys.seedvault.RESTORE_BACKUP"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:label="@string/restore_title"
|
android:label="@string/restore_title"
|
||||||
android:theme="@style/AppTheme.NoActionBar">
|
android:theme="@style/AppTheme.NoActionBar">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue