You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
5.6 KiB
131 lines
5.6 KiB
<?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.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
|
|
<!-- 相机权限 -->
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<uses-feature android:name="android.hardware.camera" android:required="true" />
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
|
|
|
|
<!-- 24小时无人值守所需权限 -->
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
|
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
|
|
|
<!-- 自启动功能所需权限 -->
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.QUICKBOOT_POWERON" />
|
|
<uses-permission android:name="android.permission.AUTO_START" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
android:maxSdkVersion="28" />
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
|
|
android:maxSdkVersion="32" />
|
|
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
|
|
tools:ignore="ScopedStorage" />
|
|
|
|
<application
|
|
android:name=".OxFaceApplication"
|
|
android:allowBackup="false"
|
|
android:largeHeap="true"
|
|
android:hardwareAccelerated="true"
|
|
android:dataExtractionRules="@xml/data_extraction_rules"
|
|
android:fullBackupContent="@xml/backup_rules"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/Theme.OxFaceLogin"
|
|
android:requestLegacyExternalStorage="true"
|
|
tools:targetApi="31">
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:theme="@style/Theme.OxFaceLogin.Splash"
|
|
android:screenOrientation="portrait"
|
|
android:launchMode="singleTop"
|
|
android:configChanges="orientation|screenSize|keyboardHidden">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- 系统启动完成广播接收器 -->
|
|
<receiver
|
|
android:name=".receiver.BootReceiver"
|
|
android:enabled="true"
|
|
android:exported="true"
|
|
android:priority="1000">
|
|
<intent-filter android:priority="1000">
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
|
|
<action android:name="android.intent.action.REBOOT" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<!-- 闹钟广播接收器 -->
|
|
<receiver
|
|
android:name=".receiver.AlarmReceiver"
|
|
android:enabled="true"
|
|
android:exported="false" />
|
|
|
|
<!-- 自动启动服务 -->
|
|
<service
|
|
android:name=".receiver.AutoStartService"
|
|
android:enabled="true"
|
|
android:exported="false"
|
|
android:foregroundServiceType="specialUse" />
|
|
|
|
<!-- Shell命令测试Activity(仅用于调试) -->
|
|
<activity
|
|
android:name=".debug.ShellTestActivity"
|
|
android:exported="true"
|
|
android:theme="@style/Theme.OxFaceLogin" />
|
|
|
|
<!-- 自启动功能综合测试Activity(仅用于调试) -->
|
|
<activity
|
|
android:name=".debug.AutoStartComprehensiveTestActivity"
|
|
android:exported="true"
|
|
android:theme="@style/Theme.OxFaceLogin" />
|
|
|
|
<!-- 直接BootReceiver测试Activity(仅用于调试) -->
|
|
<activity
|
|
android:name=".debug.DirectBootTestActivity"
|
|
android:exported="true"
|
|
android:theme="@style/Theme.OxFaceLogin" />
|
|
|
|
<!-- 调试界面Activity -->
|
|
<activity
|
|
android:name=".DebugActivity"
|
|
android:exported="false"
|
|
android:theme="@style/Theme.OxFaceLogin" />
|
|
|
|
<!-- 人脸识别在线检测Activity -->
|
|
<activity
|
|
android:name=".OXFaceOnlineActivity"
|
|
android:exported="false"
|
|
android:theme="@style/Theme.OxFaceLogin" />
|
|
|
|
<!-- 验证码开门Activity -->
|
|
<activity
|
|
android:name=".orderOX.VerificationCodeActivity"
|
|
android:exported="false"
|
|
android:theme="@style/Theme.Transparent" />
|
|
|
|
<!-- 订单核销结果Activity -->
|
|
<activity
|
|
android:name=".orderOX.OrderVerificationResultActivity"
|
|
android:exported="false"
|
|
android:theme="@style/Theme.Transparent" />
|
|
</application>
|
|
|
|
</manifest>
|