Restrict exported components
Change-Id: I30e5f530b6814acd4d3940279de6100f82e68445
This commit is contained in:
parent
38f01765ec
commit
b2cd3c76a3
1 changed files with 12 additions and 0 deletions
|
@ -50,6 +50,16 @@
|
||||||
<!-- Used to authenticate saving a new recovery code -->
|
<!-- Used to authenticate saving a new recovery code -->
|
||||||
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
|
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
|
||||||
|
|
||||||
|
<!-- 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"
|
||||||
|
@ -62,6 +72,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
|
||||||
|
@ -80,6 +91,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