34 lines
1.3 KiB
XML
34 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!--
|
||
LnxGit 的 Android 清单片段。
|
||
|
||
pyside6-android-deploy 会基于此文件生成最终的 AndroidManifest.xml。
|
||
这里显式声明网络权限(Git 远端操作必需)以及应用元信息。
|
||
-->
|
||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||
package="cc.xnhw.lnxgit">
|
||
|
||
<!-- 连接远程 Git 仓库必需 -->
|
||
<uses-permission android:name="android.permission.INTERNET" />
|
||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||
|
||
<application
|
||
android:label="LnxGit"
|
||
android:allowBackup="true"
|
||
android:hardwareAccelerated="true"
|
||
android:usesCleartextTraffic="false">
|
||
|
||
<activity
|
||
android:name="org.kivy.android.PythonActivity"
|
||
android:label="LnxGit"
|
||
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density"
|
||
android:screenOrientation="portrait"
|
||
android:exported="true">
|
||
<intent-filter>
|
||
<action android:name="android.intent.action.MAIN" />
|
||
<category android:name="android.intent.category.LAUNCHER" />
|
||
</intent-filter>
|
||
</activity>
|
||
</application>
|
||
</manifest>
|