chore: 清理历史对照注释并补充纯手机开发计划
删除源码及资源中的历史品牌、旧类名和对照说明,统一浩瑞项目介绍。新增 M0-M7 开发计划与验收门槛,保留集中来源记录。58 个源码及 XML 文件的程序标记和结构指纹一致,运行逻辑未变。
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
浩瑞无障碍服务配置
|
||||
对照原产品 res/xml/accessibility_service_config.xml
|
||||
无障碍服务能力声明,配合目标页面节点读取、手势和截图流程使用。
|
||||
-->
|
||||
<accessibility-service xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:accessibilityEventTypes="typeWindowStateChanged|typeWindowContentChanged|typeViewClicked"
|
||||
|
||||
@@ -1,18 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
浩瑞 · FileProvider 路径配置
|
||||
|
||||
用途:把下载的视频文件(file://)转成 content:// URI,
|
||||
供 ACTION_SEND 分享给头条发布器。
|
||||
|
||||
⚠️ Android 7+ 禁止跨应用传递 file:// URI(FileUriExposedException),
|
||||
必须走 FileProvider。对照原产品 ToutiaoAccessibilityService.p2():
|
||||
type.putExtra("android.intent.extra.STREAM", uri)
|
||||
其 mediaUri 为 content:// 形态。
|
||||
|
||||
路径对应 VideoDownloader.videoDir:
|
||||
context.getExternalFilesDir("videos") + "/videos/"
|
||||
= /storage/emulated/0/Android/data/com.haorui.app/files/videos/videos/
|
||||
通过 FileProvider 授权分享应用视频目录,避免跨应用暴露 file:// 路径。
|
||||
-->
|
||||
<paths>
|
||||
<!-- 对应 context.getExternalFilesDir("videos"),其下含 videos/ 子目录 -->
|
||||
|
||||
Reference in New Issue
Block a user