Set the debuggable to false in release
This commit is contained in:
parent
1586eed0e9
commit
dd2ced8244
2 changed files with 15 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -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
13
release.patch
Normal 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"
|
Loading…
Reference in a new issue