92 lines
2.5 KiB
Smali
92 lines
2.5 KiB
Smali
.class final Lcom/vk/webapp/VkUiConnectFragment$enableFlashlight$completeCallback$1;
|
|
.super Lkotlin/jvm/internal/Lambda;
|
|
.source "VkUiConnectFragment.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/b/Functions;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/vk/webapp/VkUiConnectFragment;->a(ZLkotlin/jvm/b/Functions;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/internal/Lambda;",
|
|
"Lkotlin/jvm/b/Functions<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/vk/webapp/VkUiConnectFragment;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/vk/webapp/VkUiConnectFragment;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/vk/webapp/VkUiConnectFragment$enableFlashlight$completeCallback$1;->this$0:Lcom/vk/webapp/VkUiConnectFragment;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/Lambda;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/vk/webapp/VkUiConnectFragment$enableFlashlight$completeCallback$1;->invoke()V
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()V
|
|
.locals 4
|
|
|
|
.line 2
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v1, "result"
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
.line 3
|
|
iget-object v2, p0, Lcom/vk/webapp/VkUiConnectFragment$enableFlashlight$completeCallback$1;->this$0:Lcom/vk/webapp/VkUiConnectFragment;
|
|
|
|
invoke-virtual {v2}, Lcom/vk/webapp/VkUiConnectFragment;->Z4()Lcom/vk/webapp/bridges/VkUiConnectBridge;
|
|
|
|
move-result-object v2
|
|
|
|
sget-object v3, Lcom/vk/webapp/internal/data/JsApiMethodType;->FLASH_SET_LEVEL:Lcom/vk/webapp/internal/data/JsApiMethodType;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v1, "VKWebAppFlashSetLevelResult"
|
|
|
|
invoke-virtual {v2, v3, v1, v0}, Lcom/vk/webapp/bridges/AndroidBridge;->a(Lcom/vk/webapp/internal/data/JsApiMethodType;Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
|
|
return-void
|
|
.end method
|