From bca03b5f891af5966a06b1ecd00f6cd573659ce6 Mon Sep 17 00:00:00 2001
From: panlili2024 <14743743+panlili2024@user.noreply.gitee.com>
Date: 星期四, 27 二月 2025 14:34:21 +0800
Subject: [PATCH] 兼容安卓14

---
 HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/AndroidManifest.xml |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/AndroidManifest.xml b/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/AndroidManifest.xml
index f7da630..6ec55b0 100644
--- a/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/AndroidManifest.xml
+++ b/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/AndroidManifest.xml
@@ -19,17 +19,34 @@
 
     <application
         android:allowBackup="true"
+        android:exported="true"
         android:label="@string/app_name"
         android:supportsRtl="true">
-        <activity android:name=".activity.HDLLinphoneReverseCallActivity">
+        <activity
+            android:name=".activity.HDLLinphoneReverseCallActivity"
+            android:exported="true">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
             </intent-filter>
         </activity>
-        <activity android:name=".activity.HDLLinphoneMonitorActivity" />
-        <activity android:name=".activity.HDLLinphoneIntercomActivity" />
+        <activity
+            android:name=".activity.HDLLinphoneMonitorActivity"
+            android:exported="true" />
+        <activity
+            android:name=".activity.HDLLinphoneIntercomActivity"
+            android:exported="true" />
+        <service
+            android:name=".core.service.HDLLinphoneService"
+            android:exported="true" />
 
-        <service android:name=".core.service.HDLLinphoneService" />
+        <receiver
+            android:name=".receiver.CallBroadcastReceiver"
+            android:enabled="true"
+            android:exported="true">
+            <intent-filter>
+                <action android:name="com.hdl.homepro.call.action" />
+            </intent-filter>
+        </receiver>
     </application>
 
 </manifest>
\ No newline at end of file

--
Gitblit v1.8.0