Files
rr3-apk/smali_classes4/com/singular/sdk/internal/LicenseApiHelper.smali
supermegamestre 4bbd74a497 First Upload
Just the APK
Force update disabled, will only work offline.
2026-01-26 00:26:29 -03:00

67 lines
1.9 KiB
Smali

.class public abstract Lcom/singular/sdk/internal/LicenseApiHelper;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/singular/sdk/internal/LicenseApiHelper$LicenseResultHandler;
}
.end annotation
# static fields
.field public static final logger:Lcom/singular/sdk/internal/SingularLog;
# direct methods
.method static constructor <clinit>()V
.locals 1
const-class v0, Lcom/singular/sdk/internal/LicenseApiHelper;
.line 9
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/singular/sdk/internal/SingularLog;->getLogger(Ljava/lang/String;)Lcom/singular/sdk/internal/SingularLog;
move-result-object v0
sput-object v0, Lcom/singular/sdk/internal/LicenseApiHelper;->logger:Lcom/singular/sdk/internal/SingularLog;
return-void
.end method
.method public static checkLicense(Landroid/content/Context;Lcom/singular/sdk/internal/LicenseApiHelper$LicenseResultHandler;)V
.locals 1
.line 19
:try_start_0
new-instance v0, Lcom/singular/sdk/internal/LicenseChecker;
invoke-direct {v0, p0, p1}, Lcom/singular/sdk/internal/LicenseChecker;-><init>(Landroid/content/Context;Lcom/singular/sdk/internal/LicenseApiHelper$LicenseResultHandler;)V
.line 20
invoke-virtual {v0}, Lcom/singular/sdk/internal/LicenseChecker;->checkAccess()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p0
sget-object p1, Lcom/singular/sdk/internal/LicenseApiHelper;->logger:Lcom/singular/sdk/internal/SingularLog;
const-string v0, "Error occurred while trying to run license check"
.line 23
invoke-virtual {p1, v0, p0}, Lcom/singular/sdk/internal/SingularLog;->error(Ljava/lang/String;Ljava/lang/Throwable;)I
:goto_0
return-void
.end method