AndroidManifest.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. package="net.minetest.minetest"
  5. android:installLocation="auto">
  6. <uses-permission android:name="android.permission.INTERNET" />
  7. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  8. <!--
  9. `android:requestLegacyExternalStorage="true"` is workaround for using `/sdcard`
  10. instead of the `getFilesDir()` patch for assets. Check link below for more information:
  11. https://developer.android.com/training/data-storage/compatibility
  12. -->
  13. <application
  14. android:allowBackup="false"
  15. android:icon="@mipmap/ic_launcher"
  16. android:label="@string/label"
  17. android:requestLegacyExternalStorage="true"
  18. android:resizeableActivity="false"
  19. tools:ignore="UnusedAttribute">
  20. <meta-data
  21. android:name="android.max_aspect"
  22. android:value="3.0" />
  23. <activity
  24. android:name=".MainActivity"
  25. android:configChanges="orientation|keyboardHidden|navigation|screenSize"
  26. android:maxAspectRatio="3.0"
  27. android:screenOrientation="sensorLandscape"
  28. android:theme="@style/AppTheme">
  29. <intent-filter>
  30. <action android:name="android.intent.action.MAIN" />
  31. <category android:name="android.intent.category.LAUNCHER" />
  32. </intent-filter>
  33. </activity>
  34. <activity
  35. android:name=".GameActivity"
  36. android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize"
  37. android:hardwareAccelerated="true"
  38. android:launchMode="singleTask"
  39. android:maxAspectRatio="3.0"
  40. android:screenOrientation="sensorLandscape"
  41. android:theme="@style/AppTheme">
  42. <intent-filter>
  43. <action android:name="android.intent.action.MAIN" />
  44. </intent-filter>
  45. <meta-data
  46. android:name="android.app.lib_name"
  47. android:value="Minetest" />
  48. </activity>
  49. <service
  50. android:name=".UnzipService"
  51. android:enabled="true"
  52. android:exported="false" />
  53. </application>
  54. </manifest>