16 lines
477 B
Java
16 lines
477 B
Java
|
package com.huawei.hms.utils;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import com.huawei.hms.framework.network.grs.GrsApp;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public class RegionUtils {
|
||
|
private static String a(Context context) {
|
||
|
return (context == null || context.getApplicationContext() == null) ? "" : GrsApp.getInstance().getIssueCountryCode(context);
|
||
|
}
|
||
|
|
||
|
public static boolean isChinaROM(Context context) {
|
||
|
return "CN".equalsIgnoreCase(a(context));
|
||
|
}
|
||
|
}
|