c$2.smali

.class final Lcom/polly/mobile/videosdk/c$2;
.super Landroid/hardware/camera2/CameraCaptureSession$StateCallback;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/polly/mobile/videosdk/c;->o()V
.end annotation

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


# instance fields
.field final synthetic a:Ljava/util/concurrent/CountDownLatch;

.field final synthetic b:Ljava/util/concurrent/CountDownLatch;

.field final synthetic c:Landroid/os/HandlerThread;

.field final synthetic d:Lcom/polly/mobile/videosdk/c;


# direct methods
.method constructor <init>(Lcom/polly/mobile/videosdk/c;Ljava/util/concurrent/CountDownLatch;Ljava/util/concurrent/CountDownLatch;Landroid/os/HandlerThread;)V
    .registers 5

    .line 287
    iput-object p1, p0, Lcom/polly/mobile/videosdk/c$2;->d:Lcom/polly/mobile/videosdk/c;

    iput-object p2, p0, Lcom/polly/mobile/videosdk/c$2;->a:Ljava/util/concurrent/CountDownLatch;

    iput-object p3, p0, Lcom/polly/mobile/videosdk/c$2;->b:Ljava/util/concurrent/CountDownLatch;

    iput-object p4, p0, Lcom/polly/mobile/videosdk/c$2;->c:Landroid/os/HandlerThread;

    invoke-direct {p0}, Landroid/hardware/camera2/CameraCaptureSession$StateCallback;-><init>()V

    return-void
.end method


# virtual methods
.method public final onConfigureFailed(Landroid/hardware/camera2/CameraCaptureSession;)V
    .registers 2

    .line 299
    iget-object p1, p0, Lcom/polly/mobile/videosdk/c$2;->b:Ljava/util/concurrent/CountDownLatch;

    invoke-virtual {p1}, Ljava/util/concurrent/CountDownLatch;->countDown()V

    .line 300
    iget-object p1, p0, Lcom/polly/mobile/videosdk/c$2;->c:Landroid/os/HandlerThread;

    invoke-virtual {p1}, Landroid/os/HandlerThread;->quitSafely()Z

    return-void
.end method

.method public final onConfigured(Landroid/hardware/camera2/CameraCaptureSession;)V
    .registers 3

    .line 291
    iget-object v0, p0, Lcom/polly/mobile/videosdk/c$2;->d:Lcom/polly/mobile/videosdk/c;

    invoke-static {v0, p1}, Lcom/polly/mobile/videosdk/c;->a(Lcom/polly/mobile/videosdk/c;Landroid/hardware/camera2/CameraCaptureSession;)Landroid/hardware/camera2/CameraCaptureSession;

    .line 292
    iget-object p1, p0, Lcom/polly/mobile/videosdk/c$2;->a:Ljava/util/concurrent/CountDownLatch;

    invoke-virtual {p1}, Ljava/util/concurrent/CountDownLatch;->countDown()V

    .line 293
    iget-object p1, p0, Lcom/polly/mobile/videosdk/c$2;->b:Ljava/util/concurrent/CountDownLatch;

    invoke-virtual {p1}, Ljava/util/concurrent/CountDownLatch;->countDown()V

    .line 294
    iget-object p1, p0, Lcom/polly/mobile/videosdk/c$2;->c:Landroid/os/HandlerThread;

    invoke-virtual {p1}, Landroid/os/HandlerThread;->quitSafely()Z

    return-void
.end method