소스 검색

Remove excessive auto-generated permissions by Qt

Ivan Savenko 1 년 전
부모
커밋
bdd9ae5268
2개의 변경된 파일3개의 추가작업 그리고 10개의 파일을 삭제
  1. 2 9
      android/AndroidManifest.xml
  2. 1 1
      android/vcmi-app/build.gradle

+ 2 - 9
android/AndroidManifest.xml

@@ -2,16 +2,9 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="eu.vcmi.vcmi">
 
-    <!-- %%INSERT_PERMISSIONS -->
+    <uses-permission android:name="android.permission.INTERNET" />
     <uses-permission android:name="android.permission.VIBRATE" />
-
-    <!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
-         Remove the comment if you do not require these default permissions. -->
-    <!-- %%INSERT_PERMISSIONS_DISABLED -->
-
-    <!-- The following comment will be replaced upon deployment with default features based on the dependencies of the application.
-         Remove the comment if you do not require these default features. -->
-    <!-- %%INSERT_FEATURES -->
+    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
 
 	<supports-screens
         android:largeScreens="true"

+ 1 - 1
android/vcmi-app/build.gradle

@@ -26,7 +26,7 @@ android {
 		minSdk = qtMinSdkVersion as Integer
 		targetSdk = qtTargetSdkVersion as Integer // ANDROID_TARGET_SDK_VERSION in the CMake project
 
-		versionCode 1530
+		versionCode 1531
 		versionName "1.5.3"
 
 		setProperty("archivesBaseName", "vcmi")