67 lines
1.3 KiB
Smali
67 lines
1.3 KiB
Smali
.class public Lu/b;
|
|
.super Ljava/lang/Object;
|
|
.source "AspectRatioLegacyApi21Quirk.java"
|
|
|
|
# interfaces
|
|
.implements Lx/a1;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static b(Ls/d;)Z
|
|
.locals 1
|
|
.param p0 # Ls/d;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x10
|
|
}
|
|
names = {
|
|
"cameraCharacteristicsCompat"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object v0, Landroid/hardware/camera2/CameraCharacteristics;->INFO_SUPPORTED_HARDWARE_LEVEL:Landroid/hardware/camera2/CameraCharacteristics$Key;
|
|
|
|
invoke-virtual {p0, v0}, Ls/d;->a(Landroid/hardware/camera2/CameraCharacteristics$Key;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/Integer;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result p0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x2
|
|
|
|
return v0
|
|
.end method
|