what-the-bank/sources/com/huawei/hms/utils/RegionUtils.java

16 lines
477 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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));
}
}