121 lines
2.4 KiB
Smali
121 lines
2.4 KiB
Smali
.class final Lcom/vk/auth/t/c/SmartLockHelper$c;
|
|
.super Ljava/lang/Object;
|
|
.source "SmartLockHelper.kt"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/gms/tasks/c;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/vk/auth/t/c/SmartLockHelper;->a(Lcom/vk/auth/api/models/AuthCredentials;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<TResult:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lcom/google/android/gms/tasks/c<",
|
|
"Ljava/lang/Void;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Lcom/vk/auth/t/c/SmartLockHelper$c;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/vk/auth/t/c/SmartLockHelper$c;
|
|
|
|
invoke-direct {v0}, Lcom/vk/auth/t/c/SmartLockHelper$c;-><init>()V
|
|
|
|
sput-object v0, Lcom/vk/auth/t/c/SmartLockHelper$c;->a:Lcom/vk/auth/t/c/SmartLockHelper$c;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onComplete(Lcom/google/android/gms/tasks/g;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/google/android/gms/tasks/g<",
|
|
"Ljava/lang/Void;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->e()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
new-array p1, v1, [Ljava/lang/Object;
|
|
|
|
const-string v0, "Smart lock: credential deleted"
|
|
|
|
aput-object v0, p1, v2
|
|
|
|
.line 2
|
|
invoke-static {p1}, Lcom/vk/log/L;->a([Ljava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x2
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
const-string v3, "Smart lock: credential failed to delete"
|
|
|
|
aput-object v3, v0, v2
|
|
|
|
.line 3
|
|
invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->a()Ljava/lang/Exception;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const-string p1, ""
|
|
|
|
:goto_0
|
|
aput-object p1, v0, v1
|
|
|
|
invoke-static {v0}, Lcom/vk/log/L;->b([Ljava/lang/Object;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|