mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 19:04:38 -06:00
[Manifest] Remove APK install to comply with Google Play policies.
This commit is contained in:
parent
f4e7e8978c
commit
8e5f750a80
@ -70,9 +70,11 @@ android {
|
|||||||
sourceSets {
|
sourceSets {
|
||||||
unofficial {
|
unofficial {
|
||||||
java.srcDirs = ["src/main/java", "src/play-not/java"]
|
java.srcDirs = ["src/main/java", "src/play-not/java"]
|
||||||
|
manifest.srcFile("src/play-not/AndroidManifest.xml")
|
||||||
}
|
}
|
||||||
official {
|
official {
|
||||||
java.srcDirs = ["src/main/java", "src/play-not/java"]
|
java.srcDirs = ["src/main/java", "src/play-not/java"]
|
||||||
|
manifest.srcFile("src/play-not/AndroidManifest.xml")
|
||||||
}
|
}
|
||||||
play {
|
play {
|
||||||
java.srcDirs = ["src/main/java", "src/play/java"]
|
java.srcDirs = ["src/main/java", "src/play/java"]
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
package="pl.szczodrzynski.edziennik">
|
package="pl.szczodrzynski.edziennik">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||||
|
5
app/src/play-not/AndroidManifest.xml
Normal file
5
app/src/play-not/AndroidManifest.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
||||||
|
</manifest>
|
Loading…
Reference in New Issue
Block a user