Last active
March 28, 2020 04:12
-
-
Save fahmi182/b863ee72b4321c87b46b38d5a435c23e to your computer and use it in GitHub Desktop.
Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.method public final c(Ljava/util/List;Lndh;Landroid/os/Handler;)V | |
.locals 6 | |
:try_start_0 | |
iget-object v0, p0, Lmxr;->a:Landroid/hardware/camera2/CameraDevice; | |
const/4 v1, 0x0 | |
invoke-virtual {v0}, Landroid/hardware/camera2/CameraDevice;->getId()Ljava/lang/String; | |
move-result-object v3 | |
invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I | |
move-result v3 | |
if-eqz v3, :cond_0 | |
goto :goto_0 | |
:cond_0 | |
sget-object v3, Lcom/google/googlex/gcam/hdrplus/MetadataConverter;->deviceProperties:Lndb; | |
invoke-virtual {v3}, Lndb;->isXiaomi()Z | |
move-result v3 | |
if-nez v3, :cond_1 | |
const v3, 0xf008 | |
goto :goto_1 | |
:cond_1 | |
sget v3, Lcom/custom/extras;->sFPS:I | |
if-nez v3, :cond_2 | |
const v3, 0xf004 | |
goto :goto_1 | |
:cond_2 | |
:goto_0 | |
const v3, 0x0 | |
:goto_1 | |
invoke-static {p1}, Lmyi;->a(Ljava/util/List;)Ljava/util/List; | |
move-result-object v2 | |
new-instance v4, Lmxw; | |
invoke-direct {v4, p2}, Lmxw;-><init>(Lndh;)V | |
move-object/from16 v5, p3 | |
invoke-virtual/range {v0 .. v5}, Landroid/hardware/camera2/CameraDevice;->createCustomCaptureSession(Landroid/hardware/camera2/params/InputConfiguration;Ljava/util/List;ILandroid/hardware/camera2/CameraCaptureSession$StateCallback;Landroid/os/Handler;)V | |
:try_end_0 | |
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_4 | |
.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_3 | |
.catch Landroid/hardware/camera2/CameraAccessException; {:try_start_0 .. :try_end_0} :catch_2 | |
.catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_1 | |
.catch Ljava/lang/UnsupportedOperationException; {:try_start_0 .. :try_end_0} :catch_0 | |
return-void | |
:catch_0 | |
move-exception p1 | |
goto :goto_2 | |
:catch_1 | |
move-exception p1 | |
goto :goto_2 | |
:catch_2 | |
move-exception p1 | |
goto :goto_2 | |
:catch_3 | |
move-exception p1 | |
goto :goto_2 | |
:catch_4 | |
move-exception p1 | |
:goto_2 | |
new-instance p2, Lmmi; | |
invoke-direct {p2, p1}, Lmmi;-><init>(Ljava/lang/Throwable;)V | |
throw p2 | |
.end method |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment