summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-10-23 13:06:17 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-10-30 13:21:02 +0100
commit25bee28717a64b0613f4be2ee8a7ea63a2e4da39 (patch)
tree44222e535e1fc06a842159ab4d32e362f0e1f10d /android
parent3a947d3e0e20b2d097df74ca1147071ade39a430 (diff)
move package declaration from AndroidManifest.xml to gradle
that's the recommended way now/using the package attribute in the manifest is deprecated and by default the namespace value is also used for the packagename/applicationId https://developer.android.com/studio/releases/gradle-plugin#package-deprecated Change-Id: I9d12ec11705abea354b2d223d0b8ea3268e4fb21
Diffstat (limited to 'android')
-rw-r--r--android/sdremote/build.gradle3
-rw-r--r--android/sdremote/mobile/src/full/AndroidManifest.xml3
-rw-r--r--android/sdremote/mobile/src/main/AndroidManifest.xml3
-rw-r--r--android/sdremote/wear/src/main/AndroidManifest.xml3
4 files changed, 5 insertions, 7 deletions
diff --git a/android/sdremote/build.gradle b/android/sdremote/build.gradle
index d6c7f39..5414a6f 100644
--- a/android/sdremote/build.gradle
+++ b/android/sdremote/build.gradle
@@ -20,10 +20,11 @@ subprojects {
compileSdkVersion 31
defaultConfig {
targetSdkVersion 31
- applicationId 'org.libreoffice.impressremote'
+ namespace 'org.libreoffice.impressremote'
versionName '2.5.2'
// prevent having android studio create PNGs from the vectors
vectorDrawables.useSupportLibrary = true
+
}
}
}
diff --git a/android/sdremote/mobile/src/full/AndroidManifest.xml b/android/sdremote/mobile/src/full/AndroidManifest.xml
index f7261f4..d220d29 100644
--- a/android/sdremote/mobile/src/full/AndroidManifest.xml
+++ b/android/sdremote/mobile/src/full/AndroidManifest.xml
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="org.libreoffice.impressremote"
- android:installLocation="auto">
+ android:installLocation="auto">
<application>
diff --git a/android/sdremote/mobile/src/main/AndroidManifest.xml b/android/sdremote/mobile/src/main/AndroidManifest.xml
index 03b6588..b630a84 100644
--- a/android/sdremote/mobile/src/main/AndroidManifest.xml
+++ b/android/sdremote/mobile/src/main/AndroidManifest.xml
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="org.libreoffice.impressremote"
- android:installLocation="auto">
+ android:installLocation="auto">
<uses-permission
android:name="android.permission.INTERNET"/>
diff --git a/android/sdremote/wear/src/main/AndroidManifest.xml b/android/sdremote/wear/src/main/AndroidManifest.xml
index 8b042c2..c03e706 100644
--- a/android/sdremote/wear/src/main/AndroidManifest.xml
+++ b/android/sdremote/wear/src/main/AndroidManifest.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="org.libreoffice.impressremote" >
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-feature android:name="android.hardware.type.watch" />