AndroidManifest.xml 7.3 KB
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.br_technology.securitytrain_master">

    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
    <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-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
        tools:ignore="ScopedStorage" />

    <application
        android:name=".base.view.BaseApplication"
        android:allowBackup="true"
        android:hardwareAccelerated="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/Theme.SecurityTrainMaster"
        android:usesCleartextTraffic="true">
        <meta-data
            android:name="design_width_in_dp"
            android:value="375" />
        <meta-data
            android:name="design_height_in_dp"
            android:value="812" />

        <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" />

        <provider
            android:name="androidx.core.content.FileProvider"
            android:authorities="${applicationId}.provider"
            android:exported="false"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/file_paths" />
        </provider>


        <activity
            android:name=".ui.login.AccountLoginActivity"
            android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity
            android:name=".ui.main.MainActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".ui.login.ForgetPasswordActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.login.MobileLoginActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.home.activity.SearchActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.home.activity.DatabaseActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".ui.home.activity.DatabaseDetailActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.home.activity.WebViewActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.home.activity.TextCourseActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.home.activity.TextDetailActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.home.activity.OnlineActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.bank.activity.PracticeActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.bank.activity.AnswerSheetActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.bank.activity.ChallengeActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.bank.activity.LeaderboardActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.bank.activity.MockExamActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.bank.activity.ExamTypeActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.bank.activity.ExamDetailActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.bank.activity.ExamCardActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.home.activity.OnlineDetailActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.home.activity.LiveCourseActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.mine.activity.EditPersonalInfoActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.mine.activity.ChangePwdActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.mine.activity.ChangePhoneActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.mine.activity.MyErrorQuestionActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.mine.activity.QuestionRecordActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.mine.activity.MyCredentialsActivity"
            android:screenOrientation="portrait" />
        <activity android:name=".ui.mine.activity.AcademicFeedbackActivity" />
        <activity android:name=".ui.mine.activity.CredentialsUpLoadActivity" />
        <activity android:name=".ui.mine.activity.MyCredentialsDetailActivity" />
        <activity android:name=".ui.mine.activity.OfflineExerciseActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
            android:screenOrientation="portrait" />

        <activity android:name=".ui.mine.activity.LearningReportActivity" />
        <activity android:name=".ui.mine.activity.LearningReportDetailActivity" />
        <activity android:name=".ui.mine.activity.MessageNoticeActivity" />
        <activity android:name=".ui.mine.activity.MessageNoticeDetailActivity" />
        <activity android:name=".ui.mine.activity.ComplaintsAndSuggestionsActivity" />
        <activity android:name=".ui.mine.activity.ComplaintsAndSuggestionsSuccessActivity" />
        <activity android:name=".ui.mine.activity.ClassDutyActivity" />
        <activity android:name=".ui.mine.activity.SignInActivity" />
        <activity android:name=".ui.mine.activity.CollectActivity" />
        <activity android:name=".ui.mine.activity.ServiceActivity" />


    </application>

</manifest>