Skip to content

Commit 647c571

Browse files
committed
优化真我手机 Os 代码注释上面的名称
1 parent b91bdee commit 647c571

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ DeviceOs.isMiuiByGlobal();
8888
// 判断当前设备的厂商系统是否开启了 MIUI 优化选项
8989
DeviceOs.isMiuiOptimization();
9090

91-
// 判断当前设备的厂商系统是否为 RealmeUI(真我手机的系统)
91+
// 判断当前设备的厂商系统是否为 realmeUI(真我手机的系统)
9292
DeviceOs.isRealmeUi();
9393

9494
// 判断当前设备的厂商系统是否为 ColorOS(OPPO 手机、一加手机的系统)

library/src/main/java/com/hjq/device/compat/DeviceOs.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ private DeviceOs() {
401401

402402
if (sCurrentOsName == null) {
403403
String realmeUiVersion = SystemPropertyCompat.getSystemPropertyValue(OS_VERSION_NAME_REALME_UI);
404-
// RealmeUI 一定要放在 ColorOS 之前判断,因为 RealmeUI 是 ColorOS 的另外一个分支
404+
// realmeUI 一定要放在 ColorOS 之前判断,因为 realmeUI 是 ColorOS 的另外一个分支
405405
if (!TextUtils.isEmpty(realmeUiVersion)) {
406406
sCurrentOsName = OS_NAME_REALME_UI;
407407
sCurrentOriginalOsVersionName = realmeUiVersion;
@@ -737,7 +737,7 @@ private static boolean isXiaoMiSystemOptimization() {
737737
}
738738

739739
/**
740-
* 判断当前是否为 RealmeUI(真我手机的系统)
740+
* 判断当前是否为 realmeUI(真我手机的系统)
741741
*/
742742
public static boolean isRealmeUi() {
743743
return TextUtils.equals(sCurrentOsName, OS_NAME_REALME_UI);
-297 KB
Loading

0 commit comments

Comments
 (0)