82 lines
2.1 KiB
Smali
82 lines
2.1 KiB
Smali
.class public Ls/h;
|
|
.super Ls/g;
|
|
.source "CameraDeviceCompatApi28Impl.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1c
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/hardware/camera2/CameraDevice;)V
|
|
.locals 1
|
|
.param p1 # Landroid/hardware/camera2/CameraDevice;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"cameraDevice"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p1}, Lr1/o;->k(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/hardware/camera2/CameraDevice;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-direct {p0, p1, v0}, Ls/g;-><init>(Landroid/hardware/camera2/CameraDevice;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public b(Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat;)V
|
|
.locals 1
|
|
.param p1 # Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"config"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/hardware/camera2/CameraAccessException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Landroidx/camera/camera2/internal/compat/params/SessionConfigurationCompat;->k()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/hardware/camera2/params/SessionConfiguration;
|
|
|
|
.line 2
|
|
invoke-static {p1}, Lr1/o;->k(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 3
|
|
iget-object v0, p0, Ls/j;->a:Landroid/hardware/camera2/CameraDevice;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/hardware/camera2/CameraDevice;->createCaptureSession(Landroid/hardware/camera2/params/SessionConfiguration;)V
|
|
|
|
return-void
|
|
.end method
|