Improve AndroidManifest.xml readability

This commit is contained in:
Gioacchino Mazzurco 2017-04-10 14:52:36 +02:00
parent e06d92e939
commit 6aa7143a24

View File

@ -1,7 +1,16 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<manifest package="org.retroshare.android.qml_app" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0" android:versionCode="1" android:installLocation="auto"> <manifest package="org.retroshare.android.qml_app"
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="RetroShare"> xmlns:android="http://schemas.android.com/apk/res/android"
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation" android:name=".RetroShareQmlActivity" android:label="RetroShare QML" android:screenOrientation="unspecified" android:launchMode="singleTop"> android:versionName="1.0" android:versionCode="1"
android:installLocation="auto">
<application android:name="org.qtproject.qt5.android.bindings.QtApplication"
android:hardwareAccelerated="true"
android:label="RetroShare">
<activity android:name=".RetroShareQmlActivity"
android:label="RetroShare QML"
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation"
android:screenOrientation="unspecified"
android:launchMode="singleTop">
<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"/>
@ -78,7 +87,8 @@
</receiver> </receiver>
<!-- For adding service(s) please check: https://wiki.qt.io/AndroidServices --> <!-- For adding service(s) please check: https://wiki.qt.io/AndroidServices -->
<service android:process=":rs" android:name=".RetroShareAndroidService" android:label="RetroShare Service" android:exported="true"> <service android:name=".RetroShareAndroidService" android:process=":rs"
android:label="RetroShare Service" android:exported="true">
<!-- android:exported="true" Added to be able to run the service from adb shell --> <!-- android:exported="true" Added to be able to run the service from adb shell -->
<!-- android:process=":rs" is needed to force the service to run on a separate process than the Activity --> <!-- android:process=":rs" is needed to force the service to run on a separate process than the Activity -->
@ -92,8 +102,9 @@
one is which. one is which.
--> -->
<!-- Application to launch --> <!-- Qt Application to launch -->
<meta-data android:name="android.app.lib_name" android:value="retroshare-android-service"/> <meta-data android:name="android.app.lib_name"
android:value="retroshare-android-service"/>
<!-- Application to launch --> <!-- Application to launch -->
<!-- Ministro --> <!-- Ministro -->
@ -124,7 +135,10 @@
</service> </service>
<!-- For adding service(s) please check: https://wiki.qt.io/AndroidServices --> <!-- For adding service(s) please check: https://wiki.qt.io/AndroidServices -->
<service android:process=":nf" android:name=".RetroShareAndroidNotifyService" android:label="RetroShare Notify Service" android:exported="true"> <service android:name=".RetroShareAndroidNotifyService"
android:label="RetroShare Notify Service"
android:process=":nf"
android:exported="true">
<!-- android:exported="true" Added to be able to run the service from adb shell --> <!-- android:exported="true" Added to be able to run the service from adb shell -->
<!-- android:process=":nf" is needed to force the service to run on a separate process than the Activity --> <!-- android:process=":nf" is needed to force the service to run on a separate process than the Activity -->