1
0
mirror of https://github.com/etesync/android synced 2025-01-25 15:10:55 +00:00

Don't export private activities.

Fixes #84.
This commit is contained in:
Tom Hacohen 2019-08-05 14:25:31 +01:00
parent 687f973725
commit d1d08658f9

View File

@ -184,25 +184,30 @@
<activity <activity
android:name=".ui.AboutActivity" android:name=".ui.AboutActivity"
android:exported="false"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar" android:theme="@style/AppTheme.NoActionBar"
android:parentActivityName=".ui.AccountsActivity"/> android:parentActivityName=".ui.AccountsActivity"/>
<activity <activity
android:name=".syncadapter.SyncNotification$NotificationHandlerActivity" android:name=".syncadapter.SyncNotification$NotificationHandlerActivity"
android:exported="false"
android:theme="@style/Theme.Transparent" /> android:theme="@style/Theme.Transparent" />
<activity <activity
android:name=".ui.AppSettingsActivity" android:name=".ui.AppSettingsActivity"
android:exported="false"
android:label="@string/app_settings" android:label="@string/app_settings"
android:parentActivityName=".ui.AccountsActivity"/> android:parentActivityName=".ui.AccountsActivity"/>
<activity android:name=".ui.PermissionsActivity" <activity android:name=".ui.PermissionsActivity"
android:exported="false"
android:label="@string/permissions_title" android:label="@string/permissions_title"
android:parentActivityName=".ui.AccountsActivity"/> android:parentActivityName=".ui.AccountsActivity"/>
<activity <activity
android:name=".ui.setup.LoginActivity" android:name=".ui.setup.LoginActivity"
android:exported="false"
android:label="@string/login_title" android:label="@string/login_title"
android:parentActivityName=".ui.AccountsActivity"> android:parentActivityName=".ui.AccountsActivity">
<intent-filter> <intent-filter>
@ -212,16 +217,41 @@
<activity <activity
android:name=".ui.AccountActivity" android:name=".ui.AccountActivity"
android:exported="false"
android:parentActivityName=".ui.AccountsActivity"> android:parentActivityName=".ui.AccountsActivity">
</activity> </activity>
<activity android:name=".ui.ViewCollectionActivity"/> <activity
<activity android:name=".ui.CollectionMembersActivity"/> android:name=".ui.ViewCollectionActivity"
<activity android:name=".ui.JournalItemActivity"/> android:exported="false"
<activity android:name=".ui.importlocal.ImportActivity"/> />
<activity android:name=".ui.AccountSettingsActivity"/> <activity
<activity android:name=".ui.ChangeEncryptionPasswordActivity"/> android:name=".ui.CollectionMembersActivity"
<activity android:name=".ui.CreateCollectionActivity"/> android:exported="false"
<activity android:name=".ui.EditCollectionActivity"/> />
<activity
android:name=".ui.JournalItemActivity"
android:exported="false"
/>
<activity
android:name=".ui.importlocal.ImportActivity"
android:exported="false"
/>
<activity
android:name=".ui.AccountSettingsActivity"
android:exported="false"
/>
<activity
android:name=".ui.ChangeEncryptionPasswordActivity"
android:exported="false"
/>
<activity
android:name=".ui.CreateCollectionActivity"
android:exported="false"
/>
<activity
android:name=".ui.EditCollectionActivity"
android:exported="false"
/>
<activity <activity
android:name=".ui.DebugInfoActivity" android:name=".ui.DebugInfoActivity"
@ -229,7 +259,10 @@
android:label="@string/debug_info_title"> android:label="@string/debug_info_title">
</activity> </activity>
<activity android:name=".ui.WebViewActivity" /> <activity
android:name=".ui.WebViewActivity"
android:exported="false"
/>
<provider <provider
android:name="androidx.core.content.FileProvider" android:name="androidx.core.content.FileProvider"