feat(platform): 优化设备适配与抖动检测逻辑

- 新增DX11平台强制安装应用白名单
- 优化加速度传感器选择策略,优先使用TYPE_ACCELEROMETER
- 分离普通加速度计与线性加速度计检测算法,调整方差阈值参数
- 增加默认输入法和默认浏览器设置广播
- 扩展USB广播兼容DX11平台
- 移除已废弃的ActivityController和重复代码
- 统一强制安装应用设置逻辑
This commit is contained in:
2026-08-05 20:42:25 +08:00
parent 621ebd64d7
commit e7a570fe09
11 changed files with 323 additions and 190 deletions

View File

@@ -18,8 +18,8 @@ android {
defaultConfig {
applicationId "com.aoleyun.sn"
versionCode 229
versionName "1.6.0711"
versionCode 233
versionName "1.6.0805"
//There are no CERT files because If the mini sdk version is 23+, the AGP will ignore the V1 scheme signature.
minSdkVersion 24
@@ -286,9 +286,32 @@ android {
v1SigningEnabled true
v2SigningEnabled true
}
DX11 {
storeFile file("keystore/DX11.p12")
storePassword "123456"
keyAlias "dx11"
keyPassword "123456"
v1SigningEnabled true
v2SigningEnabled true
}
}
buildTypes {
DX11Debug.initWith(debug)
DX11Debug {
buildConfigField "String", "platform", '"DX11"'
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.DX11
}
DX11Release.initWith(release)
DX11Release {
buildConfigField "String", "platform", '"DX11"'
signingConfig signingConfigs.DX11
}
G122Debug.initWith(debug)
G122Debug {
buildConfigField "String", "platform", '"MT6765"'