Set the debuggable to false in release

This commit is contained in:
Sylvain Berfini 2015-04-21 14:55:10 +02:00
parent 1586eed0e9
commit dd2ced8244
2 changed files with 15 additions and 0 deletions

View file

@ -465,7 +465,9 @@ release: update-project
echo "What is the version name for the release ?"; \
read version; \
echo "version.name=$$version" > default.properties
patch -p1 < release.patch
$(ANT) release
git checkout HEAD AndroidManifest.xml
run-linphone:
ant run

13
release.patch Normal file
View file

@ -0,0 +1,13 @@
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 5ef1374..86e13be 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -45,7 +45,7 @@
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true"/>
- <application android:label="@string/app_name" android:icon="@drawable/logo_linphone_57x57" android:largeHeap="true" android:allowBackup="true">
+ <application android:label="@string/app_name" android:icon="@drawable/logo_linphone_57x57" android:largeHeap="true" android:allowBackup="true" android:debuggable="false">
<activity android:name="org.linphone.LinphoneLauncherActivity"
android:label="@string/app_name"