RustAssistant/app/src/main/AndroidManifest.xml

349 lines
15 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission
android:name="android.permission.QUERY_ALL_PACKAGES"
tools:ignore="QueryAllPackagesPermission" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission
android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".RustApplication"
android:hasFragileUserData="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:preserveLegacyExternalStorage="true"
android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.rust.Concept"
android:usesCleartextTraffic="true">
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileProvider"
android:exported="false"
android:grantUriPermissions="true"
tools:ignore="WrongManifestParent">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/content_file_provider" />
</provider>
<meta-data
android:name="android.max_aspect"
android:value="2.4" /> <!-- 适配华为huawei刘海屏 -->
<meta-data
android:name="android.notch_support"
android:value="true" /> <!-- 适配小米xiaomi刘海屏 -->
<meta-data
android:name="notch.config"
android:value="portrait|landscape" /> <!-- Activity注册 -->
<activity
android:screenOrientation="portrait"
android:name=".CreationWizardActivity"
android:exported="false" />
<activity
android:name=".TurretDesignActivity"
android:screenOrientation="portrait"
android:exported="false" />
<activity
android:name=".BrowserActivity"
android:exported="false"
android:screenOrientation="portrait"
android:label="@string/built_in_browser" /> <!-- 适配全面屏 -->
<activity
android:name=".OrderListActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".SearchActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".PayActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".ReviewModActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".ReportListActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".ErrorInfoActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".UserListActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".ActivateActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".ThanksActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".WorkManagementActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".FullScreenCoverActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".TagActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".ReportActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".EditUserInfoActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".UserHomePageActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".WebModInfoActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".ErrorActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.yalantis.ucrop.UCropActivity"
android:screenOrientation="portrait" /> <!-- <activity -->
<!-- android:name=".StartActivity" -->
<!-- android:exported="true" -->
<!-- android:screenOrientation="portrait" -->
<!-- android:theme="@style/Theme.rust.Concept.SplashScreen"> -->
<!-- <intent-filter> -->
<!-- <action android:name="android.intent.action.MAIN" /> -->
<!-- <category android:name="android.intent.category.LAUNCHER" /> -->
<!-- </intent-filter> -->
<!-- </activity> -->
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTask"
android:screenOrientation="portrait"
android:theme="@style/Theme.rust.Concept.SplashScreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ImporterActivity"
android:documentLaunchMode="intoExisting"
android:excludeFromRecents="true"
android:exported="true"
android:label="@string/file_importer"
android:maxRecents="3"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:host="*" />
<data android:mimeType="*/*" />
<data android:pathPattern=".*\.rwmod" />
<data android:pathPattern=".*\..*\.rwmod" />
<data android:pathPattern=".*\..*\..*\.rwmod" />
<data android:pathPattern=".*\..*\..*\..*\.rwmod" />
<data android:pathPattern=".*\..*\..*\..*\..*\.rwmod" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\.rwmod" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:host="*" />
<data android:mimeType="*/*" />
<data android:pathPattern=".*\.rwmod" />
<data android:pathPattern=".*\..*\.rwmod" />
<data android:pathPattern=".*\..*\..*\.rwmod" />
<data android:pathPattern=".*\..*\..*\..*\.rwmod" />
<data android:pathPattern=".*\..*\..*\..*\..*\.rwmod" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\.rwmod" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:host="*" />
<data android:mimeType="*/*" />
<data android:pathPattern=".*\.rp" />
<data android:pathPattern=".*\..*\.rp" />
<data android:pathPattern=".*\..*\..*\.rp" />
<data android:pathPattern=".*\..*\..*\..*\.rp" />
<data android:pathPattern=".*\..*\..*\..*\..*\.rp" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\.rp" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:host="*" />
<data android:mimeType="*/*" />
<data android:pathPattern=".*\.rp" />
<data android:pathPattern=".*\..*\.rp" />
<data android:pathPattern=".*\..*\..*\.rp" />
<data android:pathPattern=".*\..*\..*\..*\.rp" />
<data android:pathPattern=".*\..*\..*\..*\..*\.rp" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\.rp" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:host="*" />
<data android:mimeType="application/zip" />
<data android:pathPattern=".*\.zip" />
<data android:pathPattern=".*\..*\.zip" />
<data android:pathPattern=".*\..*\..*\.zip" />
<data android:pathPattern=".*\..*\..*\..*\.zip" />
<data android:pathPattern=".*\..*\..*\..*\..*\.zip" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\.zip" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:host="*" />
<data android:mimeType="application/zip" />
<data android:pathPattern=".*\.zip" />
<data android:pathPattern=".*\..*\.zip" />
<data android:pathPattern=".*\..*\..*\.zip" />
<data android:pathPattern=".*\..*\..*\..*\.zip" />
<data android:pathPattern=".*\..*\..*\..*\..*\.zip" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\.zip" />
</intent-filter>
</activity>
<activity
android:name=".AboutActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".ValueTypeActivity"
android:screenOrientation="portrait" />
<activity
android:name=".GlobalOperationsActivity"
android:label="@string/global_operations"
android:screenOrientation="portrait" />
<activity
android:name=".EditActivity"
android:configChanges="orientation"
android:exported="true"
android:label="@string/mod_action1"
android:screenOrientation="portrait" />
<activity
android:name=".CreateModActivity"
android:screenOrientation="portrait" />
<activity
android:name=".UnitsActivity"
android:screenOrientation="portrait" />
<activity
android:name=".OptimizeActivity"
android:screenOrientation="portrait" />
<activity
android:name=".FileManagerActivity"
android:screenOrientation="portrait" />
<activity
android:name=".CreateUnitActivity"
android:screenOrientation="portrait" />
<activity
android:name=".TemplateParserActivity"
android:screenOrientation="portrait" />
<activity
android:name=".LibraryActivity"
android:screenOrientation="portrait" />
<activity
android:name=".SettingsActivity"
android:exported="true"
android:label="@string/setting"
android:screenOrientation="portrait" />
<activity
android:name=".TemplateMakerActivity"
android:screenOrientation="portrait" />
<activity
android:name=".CreateTemplateActivity"
android:screenOrientation="portrait" />
<activity
android:name=".CodeTableActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".LoginActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".RegisterActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".EditModInfoActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".ApplicationListActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".GameCheckActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".RecyclingStationActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".BookmarkManagerActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".ReleaseModActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".PackActivity"
android:exported="false"
android:screenOrientation="portrait" />
</application>
</manifest>