43 lines
1.1 KiB
Smali
43 lines
1.1 KiB
Smali
.class public Lorg/webrtc/JNILogging;
|
|
.super Ljava/lang/Object;
|
|
.source "JNILogging.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final loggable:Lorg/webrtc/Loggable;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lorg/webrtc/Loggable;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lorg/webrtc/JNILogging;->loggable:Lorg/webrtc/Loggable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public logToInjectable(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;)V
|
|
.locals 2
|
|
.annotation build Lorg/webrtc/CalledByNative;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lorg/webrtc/JNILogging;->loggable:Lorg/webrtc/Loggable;
|
|
|
|
invoke-static {}, Lorg/webrtc/Logging$Severity;->values()[Lorg/webrtc/Logging$Severity;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result p2
|
|
|
|
aget-object p2, v1, p2
|
|
|
|
invoke-interface {v0, p1, p2, p3}, Lorg/webrtc/Loggable;->onLogMessage(Ljava/lang/String;Lorg/webrtc/Logging$Severity;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|