zhibo/android-app/app/src/main/AndroidManifest.xml

276 lines
10 KiB
XML
Raw Normal View History

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
2025-12-16 15:47:36 +08:00
<uses-permission android:name="android.permission.INTERNET" />
2025-12-19 10:50:13 +08:00
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<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" />
<!-- 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" />
2025-12-16 15:47:36 +08:00
<application
android:name=".LiveStreamingApplication"
2025-12-16 15:47:36 +08:00
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="Live Streaming"
tools:replace="android:allowBackup,android:label"
2025-12-16 15:47:36 +08:00
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.LiveStreaming"
2025-12-17 17:23:54 +08:00
android:usesCleartextTraffic="true"
android:hardwareAccelerated="true"
android:largeHeap="true">
2025-12-16 15:47:36 +08:00
2025-12-18 14:20:41 +08:00
<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" />
2025-12-23 12:39:14 +08:00
<activity
android:name="com.example.livestreaming.NotificationSettingsActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.NotificationsActivity"
android:exported="false" />
2025-12-18 14:20:41 +08:00
<activity
android:name="com.example.livestreaming.WatchHistoryActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.MyFriendsActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.AddFriendActivity"
android:exported="false" />
2025-12-18 14:20:41 +08:00
<activity
android:name="com.example.livestreaming.FansListActivity"
android:exported="false" />
2026-01-03 17:01:58 +08:00
<activity
android:name="com.example.livestreaming.FollowingActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.LikedRoomsActivity"
android:exported="false" />
2025-12-18 14:20:41 +08:00
<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" />
2025-12-17 15:38:00 +08:00
<activity
android:name="com.example.livestreaming.FishPondActivity"
android:exported="false" />
<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" />
2025-12-17 15:38:00 +08:00
<activity
android:name="com.example.livestreaming.ProfileActivity"
android:exported="false" />
2025-12-19 10:50:13 +08:00
<activity
android:name="com.example.livestreaming.UserProfileReadOnlyActivity"
android:exported="false" />
2025-12-17 15:38:00 +08:00
<activity
android:name="com.example.livestreaming.WishTreeActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.MessagesActivity"
android:exported="false" />
2025-12-19 15:11:49 +08:00
<activity
android:name="com.example.livestreaming.ConversationActivity"
android:exported="false" />
2025-12-16 15:47:36 +08:00
<activity
android:name="com.example.livestreaming.PlayerActivity"
android:exported="false" />
<activity
android:name="com.example.livestreaming.RoomDetailActivity"
2025-12-17 19:06:57 +08:00
android:exported="false"
android:configChanges="orientation|screenSize|keyboardHidden"
android:screenOrientation="portrait" />
2025-12-16 15:47:36 +08:00
2025-12-23 18:09:56 +08:00
<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" />
2025-12-16 15:47:36 +08:00
<activity
android:name="com.example.livestreaming.MainActivity"
2025-12-17 17:23:54 +08:00
android:exported="true"
android:launchMode="singleTop"
android:screenOrientation="portrait">
2025-12-16 15:47:36 +08:00
<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" />
2025-12-30 16:22:27 +08:00
<!-- 群组管理相关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.BroadcastActivity"
android:exported="false"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize" />
2025-12-16 15:47:36 +08:00
</application>
</manifest>