zhibo/android-app/app/src/main/AndroidManifest.xml
2026-01-08 20:20:59 +08:00

354 lines
13 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.

<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.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<!-- 定位权限 -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="32" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<!-- 位置权限,用于附近功能 -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!-- Android 10+ 需要此权限来显示来电全屏界面 -->
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
<!-- 前台服务权限,用于保持通话连接 -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" />
<!-- 系统警报窗口权限,用于在锁屏上显示来电 -->
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<application
android:name=".LiveStreamingApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="Live Streaming"
tools:replace="android:allowBackup,android:label"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.LiveStreaming"
android:usesCleartextTraffic="true"
android:hardwareAccelerated="true"
android:largeHeap="true">
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
<activity
android:name="com.example.livestreaming.TabPlaceholderActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.SearchActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.SettingsPageActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.BlacklistActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.NotificationSettingsActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.NotificationsActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.WatchHistoryActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.MyRecordsActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.MyFriendsActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.AddFriendActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.FansListActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.FollowingActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.LikedRoomsActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.MyLikesActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.MyCollectionsActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.LikesListActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.FollowingListActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.EditProfileActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.FishPondActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.FishPondWebViewActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.VoiceMatchActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.HeartbeatSignalActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.DynamicCommunityActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.OnlineDatingActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.FindGameActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.KTVTogetherActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.DrawGuessActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.PeaceEliteActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.TableGamesActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.ProfileActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.WalletActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.RechargeActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.BalanceActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.TransactionHistoryActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.UserProfileReadOnlyActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.UserProfileActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.WishTreeActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.WishTreeWebViewActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.MessagesActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.ConversationActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.BurnImageViewerActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.PlayerActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.RoomDetailActivity"
android:exported="false"
android:configChanges="orientation|screenSize|keyboardHidden"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.LoginActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.RegisterActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.MainActivity"
android:exported="true"
android:launchMode="singleTop"
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="com.example.livestreaming.PublishWorkActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.WorkDetailActivity"
android:exported="false"
android:screenOrientation="portrait" />
<!-- 通话相关Activity -->
<activity
android:name="com.example.livestreaming.call.CallActivity"
android:exported="false"
android:screenOrientation="portrait"
android:launchMode="singleTop"
android:showOnLockScreen="true"
android:turnScreenOn="true" />
<activity
android:name="com.example.livestreaming.call.IncomingCallActivity"
android:exported="false"
android:screenOrientation="portrait"
android:launchMode="singleTop"
android:showOnLockScreen="true"
android:turnScreenOn="true"
android:excludeFromRecents="true" />
<activity
android:name="com.example.livestreaming.call.CallHistoryActivity"
android:exported="false"
android:screenOrientation="portrait" />
<!-- 群组管理相关Activity -->
<activity
android:name="com.example.livestreaming.GroupListActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.GroupDetailActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.CreateGroupActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.AddGroupMemberActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name="com.example.livestreaming.GroupChatActivity"
android:exported="false"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize" />
<!-- 主播认证相关Activity -->
<activity
android:name="com.example.livestreaming.StreamerApplyActivity"
android:exported="false"
android:screenOrientation="portrait" />
<!-- 主播中心Activity -->
<activity
android:name="com.example.livestreaming.StreamerCenterActivity"
android:exported="false"
android:screenOrientation="portrait" />
<!-- 我的粉丝团Activity -->
<activity
android:name="com.example.livestreaming.MyFanGroupActivity"
android:exported="false"
android:screenOrientation="portrait" />
<!-- 粉丝团详情Activity粉丝视角 -->
<activity
android:name="com.example.livestreaming.FanGroupDetailActivity"
android:exported="false"
android:screenOrientation="portrait" />
<!-- 手机开播Activity -->
<activity
android:name="com.example.livestreaming.BroadcastActivity"
android:exported="false"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize" />
<!-- 聊天室详情Activity -->
<activity
android:name="com.example.livestreaming.ChatRoomDetailActivity"
android:exported="false"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize" />
</application>
</manifest>