MessagingWebView$2.smali

.class Lcom/avast/android/campaigns/internal/web/MessagingWebView$2;
.super Ljava/lang/Object;

# interfaces
.implements Lio/reactivex/functions/Function;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/avast/android/campaigns/internal/web/MessagingWebView;->c(Ljava/lang/String;Ljava/util/List;)Lio/reactivex/Single;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lio/reactivex/functions/Function<",
        "Lcom/avast/android/campaigns/internal/web/MessagingWebView$ContentLoaderState;",
        "Lio/reactivex/SingleSource<",
        "Lcom/avast/android/campaigns/util/Result<",
        "Ljava/lang/Void;",
        "Ljava/lang/String;",
        ">;>;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/avast/android/campaigns/internal/web/MessagingWebView;


# direct methods
.method constructor <init>(Lcom/avast/android/campaigns/internal/web/MessagingWebView;)V
    .registers 2

    iput-object p1, p0, Lcom/avast/android/campaigns/internal/web/MessagingWebView$2;->a:Lcom/avast/android/campaigns/internal/web/MessagingWebView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public bridge synthetic a(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    check-cast p1, Lcom/avast/android/campaigns/internal/web/MessagingWebView$ContentLoaderState;

    invoke-virtual {p0, p1}, Lcom/avast/android/campaigns/internal/web/MessagingWebView$2;->b(Lcom/avast/android/campaigns/internal/web/MessagingWebView$ContentLoaderState;)Lio/reactivex/SingleSource;

    move-result-object p1

    return-object p1
.end method

.method public b(Lcom/avast/android/campaigns/internal/web/MessagingWebView$ContentLoaderState;)Lio/reactivex/SingleSource;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/avast/android/campaigns/internal/web/MessagingWebView$ContentLoaderState;",
            ")",
            "Lio/reactivex/SingleSource<",
            "Lcom/avast/android/campaigns/util/Result<",
            "Ljava/lang/Void;",
            "Ljava/lang/String;",
            ">;>;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    new-instance v0, Lcom/avast/android/campaigns/internal/web/MessagingWebView$PublishResultCallable;

    invoke-direct {v0, p1}, Lcom/avast/android/campaigns/internal/web/MessagingWebView$PublishResultCallable;-><init>(Lcom/avast/android/campaigns/internal/web/MessagingWebView$ContentLoaderState;)V

    invoke-static {v0}, Lio/reactivex/Single;->c(Ljava/util/concurrent/Callable;)Lio/reactivex/Single;

    move-result-object p1

    invoke-static {}, Lio/reactivex/android/schedulers/AndroidSchedulers;->a()Lio/reactivex/Scheduler;

    move-result-object v0

    invoke-virtual {p1, v0}, Lio/reactivex/Single;->g(Lio/reactivex/Scheduler;)Lio/reactivex/Single;

    move-result-object p1

    return-object p1
.end method