j$3.smali

.class final Lcom/tencent/liteav/videoconsumer/consumer/j$3;
.super Landroid/content/BroadcastReceiver;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/tencent/liteav/videoconsumer/consumer/j;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/tencent/liteav/videoconsumer/consumer/j;


# direct methods
.method constructor <init>(Lcom/tencent/liteav/videoconsumer/consumer/j;)V
    .registers 2

    .line 102
    iput-object p1, p0, Lcom/tencent/liteav/videoconsumer/consumer/j$3;->a:Lcom/tencent/liteav/videoconsumer/consumer/j;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .registers 4

    if-eqz p2, :cond_2e

    if-nez p1, :cond_5

    goto :goto_2e

    .line 110
    :cond_5
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object p1

    const-string p2, "com.tencent.liteav.video.action.OUT_OF_MEMORY"

    .line 111
    invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-nez p2, :cond_12

    return-void

    .line 114
    :cond_12
    iget-object p2, p0, Lcom/tencent/liteav/videoconsumer/consumer/j$3;->a:Lcom/tencent/liteav/videoconsumer/consumer/j;

    .line 2054
    iget-object p2, p2, Lcom/tencent/liteav/videoconsumer/consumer/j;->a:Ljava/lang/String;

    .line 114
    invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    const-string v0, "onReceive, action:"

    invoke-virtual {v0, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p2, p1}, Lcom/tencent/liteav/base/util/LiteavLog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 115
    iget-object p1, p0, Lcom/tencent/liteav/videoconsumer/consumer/j$3;->a:Lcom/tencent/liteav/videoconsumer/consumer/j;

    .line 3054
    iget-object p1, p1, Lcom/tencent/liteav/videoconsumer/consumer/j;->c:Lcom/tencent/liteav/videobase/videobase/IVideoReporter;

    .line 115
    sget-object p2, Lcom/tencent/liteav/videobase/videobase/h$c;->u:Lcom/tencent/liteav/videobase/videobase/h$c;

    const/4 v0, 0x0

    invoke-interface {p1, p2, v0}, Lcom/tencent/liteav/videobase/videobase/IVideoReporter;->notifyWarning(Lcom/tencent/liteav/videobase/videobase/h$c;Ljava/lang/String;)V

    return-void

    .line 106
    :cond_2e
    :goto_2e
    iget-object p1, p0, Lcom/tencent/liteav/videoconsumer/consumer/j$3;->a:Lcom/tencent/liteav/videoconsumer/consumer/j;

    .line 1054
    iget-object p1, p1, Lcom/tencent/liteav/videoconsumer/consumer/j;->a:Ljava/lang/String;

    const-string p2, "onReceive, intent or context is null!"

    .line 106
    invoke-static {p1, p2}, Lcom/tencent/liteav/base/util/LiteavLog;->w(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method