RustAssistant/app/src/main/AndroidManifest.xml

349 lines
15 KiB
XML
Raw Normal View History

2022-04-04 14:03:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2022-05-14 00:19:30 +00:00
xmlns:tools="http://schemas.android.com/tools">
2022-04-04 14:03:10 +00:00
<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">
2022-07-04 14:39:28 +00:00
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileProvider"
2022-04-04 14:03:10 +00:00
android:exported="false"
2022-07-04 14:39:28 +00:00
android:grantUriPermissions="true"
tools:ignore="WrongManifestParent">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/content_file_provider" />
</provider>
2022-04-04 14:03:10 +00:00
<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注册 -->
2022-07-04 14:39:28 +00:00
<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" /> <!-- 适配全面屏 -->
2022-04-04 14:03:10 +00:00
<activity
android:name=".OrderListActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".SearchActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".PayActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".ReviewModActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".ReportListActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".ErrorInfoActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".UserListActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".ActivateActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".ThanksActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".WorkManagementActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".FullScreenCoverActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".TagActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".ReportActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".EditUserInfoActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".UserHomePageActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".WebModInfoActivity"
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".ErrorActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-04-04 14:03:10 +00:00
android:screenOrientation="portrait" />
<activity
android:name="com.yalantis.ucrop.UCropActivity"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" /> <!-- <activity -->
2022-04-04 14:03:10 +00:00
<!-- 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"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".ValueTypeActivity"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".GlobalOperationsActivity"
android:label="@string/global_operations"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".EditActivity"
android:configChanges="orientation"
android:exported="true"
android:label="@string/mod_action1"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".CreateModActivity"
android:screenOrientation="portrait" />
<activity
android:name=".UnitsActivity"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".OptimizeActivity"
android:screenOrientation="portrait" />
<activity
android:name=".FileManagerActivity"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".CreateUnitActivity"
android:screenOrientation="portrait" />
<activity
android:name=".TemplateParserActivity"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".LibraryActivity"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".SettingsActivity"
android:exported="true"
android:label="@string/setting"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".TemplateMakerActivity"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".CreateTemplateActivity"
android:screenOrientation="portrait" />
<activity
android:name=".CodeTableActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-04-04 14:03:10 +00:00
android:screenOrientation="portrait" />
<activity
android:name=".LoginActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".RegisterActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".EditModInfoActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".ApplicationListActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".GameCheckActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-04-04 14:03:10 +00:00
android:screenOrientation="portrait" />
<activity
android:name=".RecyclingStationActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".BookmarkManagerActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".ReleaseModActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
<activity
android:name=".PackActivity"
2022-07-04 14:39:28 +00:00
android:exported="false"
2022-05-14 00:19:30 +00:00
android:screenOrientation="portrait" />
2022-04-04 14:03:10 +00:00
</application>
</manifest>