Add permission for debug apps
This commit is contained in:
parent
7c275bd8ec
commit
af83e79816
3 changed files with 9 additions and 1 deletions
5
OsmAnd/AndroidManifest-debug.xml
Normal file
5
OsmAnd/AndroidManifest-debug.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
|
||||||
|
</manifest>
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
|
|
||||||
<application
|
<application
|
||||||
android:icon="@mipmap/icon_nightly"
|
android:icon="@mipmap/icon_nightly"
|
||||||
tools:replace="android:icon">
|
tools:replace="android:icon">
|
||||||
|
|
|
@ -97,6 +97,9 @@ android {
|
||||||
res.srcDirs = ["res"]
|
res.srcDirs = ["res"]
|
||||||
assets.srcDirs = ["assets"]
|
assets.srcDirs = ["assets"]
|
||||||
}
|
}
|
||||||
|
debug {
|
||||||
|
manifest.srcFile "AndroidManifest-debug.xml"
|
||||||
|
}
|
||||||
free {
|
free {
|
||||||
manifest.srcFile "AndroidManifest-free.xml"
|
manifest.srcFile "AndroidManifest-free.xml"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue