updated AndroidManifest, changed monocles.de to monocles.eu

This commit is contained in:
Arne 2022-02-25 21:58:16 +01:00
parent 67a724ce7a
commit 0db72f0e42
2 changed files with 18 additions and 32 deletions

View file

@ -120,7 +120,7 @@ android {
buildConfigField("String", "LOGTAG", '"monocles chat"') buildConfigField("String", "LOGTAG", '"monocles chat"')
buildConfigField("String", "DOMAIN_LOCK", 'null') buildConfigField("String", "DOMAIN_LOCK", 'null')
buildConfigField("boolean", "SHOW_INTRO", 'true') buildConfigField("boolean", "SHOW_INTRO", 'true')
buildConfigField("String", "UPDATE_URL", '"https://monocles.de/chat/update/"') buildConfigField("String", "UPDATE_URL", '"https://monocles.eu/chat/update/"')
resValue "string", "applicationId", applicationId resValue "string", "applicationId", applicationId
resValue "string", "app_name", "monocles chat" resValue "string", "app_name", "monocles chat"
} }

View file

@ -72,8 +72,7 @@
<service android:name=".services.XmppConnectionService" /> <service android:name=".services.XmppConnectionService" />
<receiver android:name=".services.EventReceiver" <receiver android:name=".services.EventReceiver">
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
@ -83,7 +82,9 @@
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.PACKAGE_REPLACED" /> <action android:name="android.intent.action.PACKAGE_REPLACED" />
<data
android:path="${applicationId}"
android:scheme="package" />
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.PACKAGE_RESTARTED" /> <action android:name="android.intent.action.PACKAGE_RESTARTED" />
@ -92,7 +93,7 @@
android:scheme="package" /> android:scheme="package" />
</intent-filter> </intent-filter>
</receiver> </receiver>
<receiver android:name=".services.AlarmReceiver" /> <receiver android:name=".services.AlarmReceiver"></receiver>
<activity <activity
android:name="de.monocles.chat.ui.StartUI" android:name="de.monocles.chat.ui.StartUI"
@ -100,8 +101,7 @@
android:label="@string/app_name" android:label="@string/app_name"
android:launchMode="singleTask" android:launchMode="singleTask"
android:theme="@style/SplashTheme" android:theme="@style/SplashTheme"
android:windowSoftInputMode="stateHidden" android:windowSoftInputMode="stateHidden">
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
@ -121,8 +121,7 @@
android:windowSoftInputMode="stateAlwaysHidden" /> android:windowSoftInputMode="stateAlwaysHidden" />
<activity <activity
android:name=".ui.UriHandlerActivity" android:name=".ui.UriHandlerActivity"
android:label="@string/app_name" android:label="@string/app_name">
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
@ -138,7 +137,7 @@
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" /> <data android:scheme="https" />
<data android:host="monocles.de" /> <data android:host="monocles.eu" />
<data android:pathPrefix="/i/" /> <data android:pathPrefix="/i/" />
<data android:pathPrefix="/j/" /> <data android:pathPrefix="/j/" />
</intent-filter> </intent-filter>
@ -163,8 +162,7 @@
android:name=".ui.StartConversationActivity" android:name=".ui.StartConversationActivity"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:label="@string/title_activity_start_conversation" android:label="@string/title_activity_start_conversation"
android:launchMode="singleTop" android:launchMode="singleTop">
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
</intent-filter> </intent-filter>
@ -184,8 +182,7 @@
<activity <activity
android:name=".ui.ImportBackupActivity" android:name=".ui.ImportBackupActivity"
android:label="@string/restore_backup" android:label="@string/restore_backup"
android:launchMode="singleTask" android:launchMode="singleTask">
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
@ -237,8 +234,7 @@
</activity> </activity>
<activity <activity
android:name=".ui.SettingsActivity" android:name=".ui.SettingsActivity"
android:label="@string/title_activity_settings" android:label="@string/title_activity_settings">
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.NOTIFICATION_PREFERENCES" /> <category android:name="android.intent.category.NOTIFICATION_PREFERENCES" />
@ -256,8 +252,7 @@
<activity <activity
android:name=".ui.ChooseAccountForProfilePictureActivity" android:name=".ui.ChooseAccountForProfilePictureActivity"
android:enabled="false" android:enabled="false"
android:label="@string/choose_account" android:label="@string/choose_account">
android:exported="false">
<intent-filter android:label="@string/set_profile_picture"> <intent-filter android:label="@string/set_profile_picture">
<action android:name="android.intent.action.ATTACH_DATA" /> <action android:name="android.intent.action.ATTACH_DATA" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
@ -293,15 +288,10 @@
<activity <activity
android:name=".ui.PublishGroupChatProfilePictureActivity" android:name=".ui.PublishGroupChatProfilePictureActivity"
android:label="@string/group_chat_avatar" /> android:label="@string/group_chat_avatar" />
<activity
android:name=".ui.VerifyOTRActivity"
android:label="@string/verify_otr"
android:windowSoftInputMode="stateHidden" />
<activity <activity
android:name=".ui.ShareWithActivity" android:name=".ui.ShareWithActivity"
android:label="@string/app_name" android:label="@string/app_name"
android:launchMode="singleTop" android:launchMode="singleTop">
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SEND" /> <action android:name="android.intent.action.SEND" />
<action android:name="android.intent.action.SEND_MULTIPLE" /> <action android:name="android.intent.action.SEND_MULTIPLE" />
@ -353,8 +343,7 @@
android:name=".ui.AboutActivity" android:name=".ui.AboutActivity"
android:label="@string/title_activity_about" android:label="@string/title_activity_about"
android:launchMode="singleTask" android:launchMode="singleTask"
android:parentActivityName=".ui.SettingsActivity" android:parentActivityName=".ui.SettingsActivity">
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.PREFERENCE" /> <category android:name="android.intent.category.PREFERENCE" />
@ -367,8 +356,7 @@
android:name=".ui.MemoryManagementActivity" android:name=".ui.MemoryManagementActivity"
android:label="@string/title_memory_management" android:label="@string/title_memory_management"
android:launchMode="singleTask" android:launchMode="singleTask"
android:parentActivityName=".ui.SettingsActivity" android:parentActivityName=".ui.SettingsActivity">
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.PREFERENCE" /> <category android:name="android.intent.category.PREFERENCE" />
@ -386,8 +374,7 @@
<activity <activity
android:name=".ui.ShortcutActivity" android:name=".ui.ShortcutActivity"
android:label="@string/contact" android:label="@string/contact"
android:launchMode="singleTask" android:launchMode="singleTask">
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" /> <action android:name="android.intent.action.CREATE_SHORTCUT" />
</intent-filter> </intent-filter>
@ -426,8 +413,7 @@
<service android:name=".services.ImportBackupService" /> <service android:name=".services.ImportBackupService" />
<service <service
android:name=".services.ContactChooserTargetService" android:name=".services.ContactChooserTargetService"
android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE" android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="android.service.chooser.ChooserTargetService" /> <action android:name="android.service.chooser.ChooserTargetService" />
</intent-filter> </intent-filter>