Move package declarations to build.gradle

Requested by AGP upgrade and also is crashing test builds

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey 2022-09-16 11:00:39 +02:00
parent 07aedfd888
commit 9a0848e486
No known key found for this signature in database
GPG key ID: 2585783189A62105
5 changed files with 8 additions and 7 deletions

View file

@ -73,6 +73,11 @@ android {
// install this NDK version and Cmake to produce smaller APKs. Build will still work if not installed
ndkVersion "${ndkEnv.get("NDK_VERSION")}"
namespace 'com.owncloud.android'
testNamespace "${namespace}.test"
defaultConfig {
minSdkVersion 23
targetSdkVersion 30

View file

@ -26,7 +26,6 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="${applicationId}.test"
android:sharedUserId="${applicationId}.uid">
</manifest>

View file

@ -17,8 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.owncloud.android">
xmlns:tools="http://schemas.android.com/tools">
<application
android:name=".MainApp"

View file

@ -19,8 +19,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.owncloud.android">
xmlns:tools="http://schemas.android.com/tools">
<application
android:name=".MainApp"

View file

@ -18,8 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.owncloud.android">
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />