940 lines
21 KiB
Smali
940 lines
21 KiB
Smali
.class public final Lcom/google/android/gms/ads/VideoController;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.android.gms:play-services-ads-lite@@19.1.0"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final PLAYBACK_STATE_ENDED:I = 0x3
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final PLAYBACK_STATE_PAUSED:I = 0x2
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final PLAYBACK_STATE_PLAYING:I = 0x1
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final PLAYBACK_STATE_READY:I = 0x5
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final PLAYBACK_STATE_UNKNOWN:I
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field private final lock:Ljava/lang/Object;
|
|
|
|
.field private zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Ljavax/annotation/concurrent/GuardedBy;
|
|
value = "lock"
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private zzacx:Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Ljavax/annotation/concurrent/GuardedBy;
|
|
value = "lock"
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
new-instance v0, Ljava/lang/Object;
|
|
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getAspectRatio()F
|
|
.locals 4
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return v2
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1}, Lcom/google/android/gms/internal/ads/zzxl;->getAspectRatio()F
|
|
|
|
move-result v1
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
const-string v3, "Unable to call getAspectRatio on video controller."
|
|
|
|
.line 5
|
|
invoke-static {v3, v1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 7
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final getPlaybackState()I
|
|
.locals 4
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return v2
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1}, Lcom/google/android/gms/internal/ads/zzxl;->getPlaybackState()I
|
|
|
|
move-result v1
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
const-string v3, "Unable to call getPlaybackState on video controller."
|
|
|
|
.line 5
|
|
invoke-static {v3, v1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 7
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final getVideoCurrentTime()F
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return v2
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1}, Lcom/google/android/gms/internal/ads/zzxl;->getCurrentTime()F
|
|
|
|
move-result v1
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
const-string v3, "Unable to call getCurrentTime on video controller."
|
|
|
|
.line 5
|
|
invoke-static {v3, v1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 7
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final getVideoDuration()F
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return v2
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1}, Lcom/google/android/gms/internal/ads/zzxl;->getDuration()F
|
|
|
|
move-result v1
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
const-string v3, "Unable to call getDuration on video controller."
|
|
|
|
.line 5
|
|
invoke-static {v3, v1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 7
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final getVideoLifecycleCallbacks()Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacx:Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
|
|
|
|
monitor-exit v0
|
|
|
|
return-object v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final hasVideoContent()Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final isClickToExpandEnabled()Z
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return v2
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1}, Lcom/google/android/gms/internal/ads/zzxl;->isClickToExpandEnabled()Z
|
|
|
|
move-result v1
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
const-string v3, "Unable to call isClickToExpandEnabled."
|
|
|
|
.line 5
|
|
invoke-static {v3, v1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 7
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final isCustomControlsEnabled()Z
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return v2
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1}, Lcom/google/android/gms/internal/ads/zzxl;->isCustomControlsEnabled()Z
|
|
|
|
move-result v1
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
const-string v3, "Unable to call isUsingCustomPlayerControls."
|
|
|
|
.line 5
|
|
invoke-static {v3, v1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 7
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final isMuted()Z
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return v2
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1}, Lcom/google/android/gms/internal/ads/zzxl;->isMuted()Z
|
|
|
|
move-result v1
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
const-string v3, "Unable to call isMuted on video controller."
|
|
|
|
.line 5
|
|
invoke-static {v3, v1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 7
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final mute(Z)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1, p1}, Lcom/google/android/gms/internal/ads/zzxl;->mute(Z)V
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
:try_start_2
|
|
const-string v1, "Unable to call mute on video controller."
|
|
|
|
.line 5
|
|
invoke-static {v1, p1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
:goto_0
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final pause()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1}, Lcom/google/android/gms/internal/ads/zzxl;->pause()V
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
:try_start_2
|
|
const-string v2, "Unable to call pause on video controller."
|
|
|
|
.line 5
|
|
invoke-static {v2, v1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
:goto_0
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final play()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1}, Lcom/google/android/gms/internal/ads/zzxl;->play()V
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
:try_start_2
|
|
const-string v2, "Unable to call play on video controller."
|
|
|
|
.line 5
|
|
invoke-static {v2, v1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
:goto_0
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final setVideoLifecycleCallbacks(Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;)V
|
|
.locals 3
|
|
|
|
const-string v0, "VideoLifecycleCallbacks may not be null."
|
|
|
|
.line 1
|
|
invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 3
|
|
:try_start_0
|
|
iput-object p1, p0, Lcom/google/android/gms/ads/VideoController;->zzacx:Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
|
|
|
|
.line 4
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 5
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return-void
|
|
|
|
.line 6
|
|
:cond_0
|
|
:try_start_1
|
|
new-instance v2, Lcom/google/android/gms/internal/ads/zzzf;
|
|
|
|
invoke-direct {v2, p1}, Lcom/google/android/gms/internal/ads/zzzf;-><init>(Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;)V
|
|
|
|
invoke-interface {v1, v2}, Lcom/google/android/gms/internal/ads/zzxl;->zza(Lcom/google/android/gms/internal/ads/zzxm;)V
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
:try_start_2
|
|
const-string v1, "Unable to call setVideoLifecycleCallbacks on video controller."
|
|
|
|
.line 7
|
|
invoke-static {v1, p1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 8
|
|
:goto_0
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final stop()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-interface {v1}, Lcom/google/android/gms/internal/ads/zzxl;->stop()V
|
|
:try_end_1
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
:try_start_2
|
|
const-string v2, "Unable to call stop on video controller."
|
|
|
|
.line 5
|
|
invoke-static {v2, v1}, Lcom/google/android/gms/internal/ads/zzazw;->zzc(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 6
|
|
:goto_0
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final zza(Lcom/google/android/gms/internal/ads/zzxl;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iput-object p1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
.line 3
|
|
iget-object p1, p0, Lcom/google/android/gms/ads/VideoController;->zzacx:Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 4
|
|
invoke-virtual {p0, p1}, Lcom/google/android/gms/ads/VideoController;->setVideoLifecycleCallbacks(Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;)V
|
|
|
|
.line 5
|
|
:cond_0
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final zzdu()Lcom/google/android/gms/internal/ads/zzxl;
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzacw:Lcom/google/android/gms/internal/ads/zzxl;
|
|
|
|
monitor-exit v0
|
|
|
|
return-object v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 3
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|