version: cude 5.9 mtk 3.4
fix:优化百度地图位置乱码 update:增加手动爱华解锁判断
This commit is contained in:
@@ -1328,7 +1328,7 @@ public class JGYUtils {
|
||||
if (locked == 1) {
|
||||
return;
|
||||
}
|
||||
int aihuaUnlock = Settings.Global.getInt(mContext.getContentResolver(), CommonConfig.AIHUA_UNLOCK, 0);
|
||||
int aihuaUnlock = Settings.System.getInt(mContext.getContentResolver(), CommonConfig.AIHUA_UNLOCK, 0);
|
||||
if (aihuaUnlock == 1) {
|
||||
return;
|
||||
}
|
||||
@@ -2300,6 +2300,10 @@ public class JGYUtils {
|
||||
return Build.HARDWARE;
|
||||
}
|
||||
|
||||
public boolean isAihuaFramwwork() {
|
||||
return (Utils.getProperty("ro.build.display.id", "获取失败").contains("_aihua"));
|
||||
}
|
||||
|
||||
public static boolean isAihuaDevice() {
|
||||
return getHardware().startsWith(MTK_HARDWARE) && Build.BRAND.startsWith(AIHUA_BRAND);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user