Files
vtosters/smali/smali_classes3/com/vk/libvideo/VideoFileController$Receiver.smali
T

84 lines
2.1 KiB
Smali

.class public final Lcom/vk/libvideo/VideoFileController$Receiver;
.super Landroid/content/BroadcastReceiver;
.source "VideoFileController.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/vk/libvideo/VideoFileController;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Receiver"
.end annotation
# instance fields
.field private a:Ljava/lang/ref/WeakReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/ref/WeakReference<",
"Lcom/vk/libvideo/VideoFileController;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/ref/WeakReference;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/ref/WeakReference<",
"Lcom/vk/libvideo/VideoFileController;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
iput-object p1, p0, Lcom/vk/libvideo/VideoFileController$Receiver;->a:Ljava/lang/ref/WeakReference;
return-void
.end method
# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.locals 1
.line 1
invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object p2
const-string v0, "com.vkontakte.android.VIDEO_MOVED"
.line 2
invoke-static {v0, p2}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_0
.line 3
iget-object p2, p0, Lcom/vk/libvideo/VideoFileController$Receiver;->a:Ljava/lang/ref/WeakReference;
invoke-virtual {p2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/vk/libvideo/VideoFileController;
if-eqz p2, :cond_0
invoke-static {p2, p1}, Lcom/vk/libvideo/VideoFileController;->a(Lcom/vk/libvideo/VideoFileController;Landroid/content/Context;)V
:cond_0
return-void
.end method