Răsfoiți Sursa

update AndroidManifest.xml, fix #439

ffdfgdfg 5 ani în urmă
părinte
comite
6bd853b6f6
1 a modificat fișierele cu 11 adăugiri și 28 ștergeri
  1. 11 28
      gui/npc/AndroidManifest.xml

+ 11 - 28
gui/npc/AndroidManifest.xml

@@ -1,37 +1,20 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest
         xmlns:android="http://schemas.android.com/apk/res/android"
-        android:versionCode="1"
-        android:versionName="0.26.5"
         package="org.nps.client"
-        platformBuildVersionCode="15"
-        platformBuildVersionName="4.0.4-1406430">
-
-    <uses-permission
-            android:name="android.permission.INTERNET"/>
-
-    <application
-            android:label="Npc"
-            android:debuggable="true">
-
-        <activity
-                android:label="Npc"
-                android:name="org.golang.app.GoNativeActivity"
-                android:configChanges="0xa0">
-
-            <meta-data
-                    android:name="android.app.lib_name"
-                    android:value="npc"/>
+        android:versionCode="1"
+        android:versionName="0.26.5">
 
+    <application android:label="Npc" android:debuggable="true">
+        <activity android:name="org.golang.app.GoNativeActivity"
+                  android:label="Npc"
+                  android:configChanges="orientation|keyboardHidden">
+            <meta-data android:name="android.app.lib_name" android:value="npc"/>
             <intent-filter>
-
-                <action
-                        android:name="android.intent.action.MAIN"/>
-
-                <category
-                        android:name="android.intent.category.LAUNCHER"/>
+                <action android:name="android.intent.action.MAIN"/>
+                <category android:name="android.intent.category.LAUNCHER"/>
             </intent-filter>
         </activity>
     </application>
-</manifest>
-
+    <uses-permission android:name="android.permission.INTERNET"/>
+</manifest>