what-the-bank/sources/com/huawei/hms/framework/common/Utils.java

29 lines
745 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.huawei.hms.framework.common;
import android.content.Context;
import android.os.Process;
import android.os.SystemClock;
/* loaded from: classes2.dex */
public class Utils {
private static final String TAG = "Utils";
public static long getCurrentTime(boolean z) {
if (z) {
return SystemClock.elapsedRealtime();
}
return System.currentTimeMillis();
}
public static boolean is64Bit(Context context) {
if (context == null) {
Logger.e(TAG, "Null context, please check it.");
return false;
}
if (context.getApplicationContext() != null) {
context.getApplicationContext();
}
return Process.is64Bit();
}
}