From c12319eb8ff27f41ae577aee19fd341d6191c3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Wed, 9 Apr 2014 01:41:35 +0200 Subject: Debug url files + Debug permissions --- bitmask_android/build.gradle | 6 +++-- bitmask_android/src/debug/AndroidManifest.xml | 27 ++++++++++++++++++++++ .../src/debug/assets/urls/cdev.bitmask.net.url | 3 +++ .../src/debug/assets/urls/dev.bitmask.net.url | 3 +++ bitmask_android/src/main/AndroidManifest.xml | 7 ------ 5 files changed, 37 insertions(+), 9 deletions(-) create mode 100644 bitmask_android/src/debug/AndroidManifest.xml create mode 100644 bitmask_android/src/debug/assets/urls/cdev.bitmask.net.url create mode 100644 bitmask_android/src/debug/assets/urls/dev.bitmask.net.url diff --git a/bitmask_android/build.gradle b/bitmask_android/build.gradle index 07ec7c1d..879a007d 100644 --- a/bitmask_android/build.gradle +++ b/bitmask_android/build.gradle @@ -45,11 +45,13 @@ android { } sourceSets { - main - { + main { assets.srcDirs = ['assets', 'ovpnlibs/assets'] jniLibs.srcDirs = ['ovpnlibs/jniLibs'] jni.srcDirs = [] //disable automatic ndk-build + } + debug { + assets.srcDirs = ['src/debug/assets'] } } } diff --git a/bitmask_android/src/debug/AndroidManifest.xml b/bitmask_android/src/debug/AndroidManifest.xml new file mode 100644 index 00000000..4c648a5f --- /dev/null +++ b/bitmask_android/src/debug/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + diff --git a/bitmask_android/src/debug/assets/urls/cdev.bitmask.net.url b/bitmask_android/src/debug/assets/urls/cdev.bitmask.net.url new file mode 100644 index 00000000..4ceca5ee --- /dev/null +++ b/bitmask_android/src/debug/assets/urls/cdev.bitmask.net.url @@ -0,0 +1,3 @@ +{ + "main_url" : "https://cdev.bitmask.net/" +} \ No newline at end of file diff --git a/bitmask_android/src/debug/assets/urls/dev.bitmask.net.url b/bitmask_android/src/debug/assets/urls/dev.bitmask.net.url new file mode 100644 index 00000000..a1e53f69 --- /dev/null +++ b/bitmask_android/src/debug/assets/urls/dev.bitmask.net.url @@ -0,0 +1,3 @@ +{ + "main_url" : "https://dev.bitmask.net/" +} \ No newline at end of file diff --git a/bitmask_android/src/main/AndroidManifest.xml b/bitmask_android/src/main/AndroidManifest.xml index c1f13ba6..b2366b82 100644 --- a/bitmask_android/src/main/AndroidManifest.xml +++ b/bitmask_android/src/main/AndroidManifest.xml @@ -23,13 +23,6 @@ - - - - - - -