<?xml version='1.0' encoding='utf-8'?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="cc.winboll.studio.libappbase">

	<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

    <application>
        <activity
            android:name=".CrashHandler$CrashActivity"
            android:label="CrashActivity"
            android:launchMode="singleInstance"
            android:process=":CrashActivity"/>

        <activity
            android:name=".GlobalCrashActivity"
            android:label="GlobalCrashActivity"
            android:launchMode="singleInstance"
            android:process=":GlobalCrashActivity"/>

        <activity
            android:name=".LogActivity"
            android:label="LogActivity"
            android:resizeableActivity="true"
            android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
            android:exported="true"
            android:launchMode="singleInstance"
            android:process=":LogActivity">

        </activity>

		<!-- 崩溃通知复制活动（类库Manifest配置，确保宿主能合并注册） -->
		<activity
			android:name="cc.winboll.studio.libappbase.activities.CrashCopyReceiverActivity"
			android:theme="@android:style/Theme.Translucent.NoTitleBar"
			android:launchMode="singleTask"
			android:excludeFromRecents="true"
			android:taskAffinity=""
			android:exported="true"
			android:allowTaskReparenting="false"
			android:clearTaskOnLaunch="true">
			<intent-filter>
				<action android:name="cc.winboll.studio.action.COPY_CRASH_LOG" />
				<category android:name="android.intent.category.DEFAULT" />
			</intent-filter>
		</activity>

    </application>

</manifest>
