refactor(mdm): 抽象IMdmManager接口并支持多平台构建

移除AdminManager具体实现,引入IMdmManager接口以实现平台解耦。
重构MainActivity,通过接口调用MDM功能。
新增honor、huawei、emui产品变体,支持多平台编译。
添加AGENTS.md开发规范文件。
This commit is contained in:
tongtong committed 2026-08-04 18:01:18 +08:00
1 parent e7d342644a
commit e3bf43caeb
13 files changed
+1353 -571

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
# AGENTS.md — ElderlyDialerMdm
本文件是 `ElderlyDialerMdm/` 工程的 **AI 协作规则与开发规范**
## 1.所有ai生成的临时文件全部放在app/build/temp 目录下
## 2.所有实现IMdmManager接口的类,在调用以Manager结尾的类的方法时,都要加入try-catch块,防止异常