fix: 修复推送接收/AIDL 兼容/管控开关并清理冗余接口

- 推送: AliyunMessageReceiver 广播 action 改回 com.alibaba.sdk.android.push.RECEIVE,恢复消息接收
- AIDL: 补回 com.fuying.sn.service.RemoteService / receiver.BootReceiver 旧路径壳,兼容外部桌面绑定与开机广播
- 设置写入: 反射调用 IContentProvider 时跳过 Android 13 的 default call(内部固定 authority 为 unknown)
- 管控: 关闭管控时仍统计应用使用时长;control/getSetting 仅授权类错误才关闭管控,400 限流保留现有配置
- 缓存: sn/getSnInfo 7 天、device/info 30 天(绑定成功主动失效)
- 清理: 删除无调用接口(sn/getTimeControl、device/check-update、file/getFiles)与旧时间管控协议;合并 control/getSetting 双入口
- 上报: Bugly 补充设备型号与渠道信息
This commit is contained in:
tongtong committed 2026-11-27 18:15:06 +08:00
1 parent 5c037fb676
commit 72cfca40f6
26 files changed
+202 -827

No files matched your search

+13 -2
View File
@@ -121,6 +121,12 @@
android:enabled="true"
android:exported="true" />
<!-- 旧路径兼容:外部应用按类名显式绑定 AIDL 服务,勿删 -->
<service
android:name="com.fuying.sn.service.RemoteService"
android:enabled="true"
android:exported="true" />
<service
android:name=".runtime.service.main.MainService"
android:enabled="true"
@@ -149,6 +155,11 @@
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<!-- 旧路径兼容:外部应用按类名显式发送开机广播,不声明 intent-filter 避免重复处理 -->
<receiver
android:name="com.fuying.sn.receiver.BootReceiver"
android:enabled="true"
android:exported="true" />
<receiver
android:name=".runtime.receiver.ApkInstallReceiver"
android:enabled="true"
@@ -191,7 +202,7 @@
<action android:name="com.alibaba.push2.action.NOTIFICATION_REMOVED" />
</intent-filter>
<intent-filter>
<action android:name="com.alibaba.sdk.android.runtime.push.RECEIVE" />
<action android:name="com.alibaba.sdk.android.push.RECEIVE" />
</intent-filter>
</receiver>
@@ -205,7 +216,7 @@
<!-- <action android:name="com.alibaba.push2.action.NOTIFICATION_REMOVED" />-->
<!-- </intent-filter>-->
<!-- <intent-filter>-->
<!-- <action android:name="com.alibaba.sdk.android.runtime.push.RECEIVE" />-->
<!-- <action android:name="com.alibaba.sdk.android.push.RECEIVE" />-->
<!-- </intent-filter>-->
<!-- </service>-->