服务启动应用配置问题修复。

This commit is contained in:
2025-12-12 19:05:26 +08:00
parent 181e3e8a34
commit 01e4e8031b
8 changed files with 381 additions and 297 deletions

View File

@@ -100,10 +100,10 @@
android:foregroundServiceType="dataSync"
android:exported="false" />
<!-- 辅助服务dataSync + microphone 类型(适配录音业务) -->
<!-- 辅助服务dataSync 类型 -->
<service
android:name=".services.AssistantService"
android:foregroundServiceType="dataSync|microphone"
android:foregroundServiceType="dataSync"
android:exported="false" />
<!-- 通话UI服务系统绑定 -->
@@ -135,9 +135,10 @@
</service>
<!-- API 30+ 通话筛选服务(替代 PROCESS_OUTGOING_CALLS 权限) -->
<service
android:name=".services.MyCallScreeningService"
android:permission="android.permission.BIND_CALL_SCREENING_SERVICE"
<service
android:name=".services.MyCallScreeningService"
android:foregroundServiceType="phoneCall"
android:permission="android.permission.BIND_CALL_SCREENING_SERVICE"
android:exported="true">
<intent-filter>
<action android:name="android.telecom.CallScreeningService"/>