.class public final Lz5/ft1;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Landroid/hardware/display/DisplayManager$DisplayListener;
.implements Lz5/et1;


# instance fields
.field public final r:Landroid/hardware/display/DisplayManager;

.field public s:Lz5/g61;


# direct methods
.method public constructor <init>(Landroid/hardware/display/DisplayManager;)V
    .registers 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/ft1;->r:Landroid/hardware/display/DisplayManager;

    return-void
.end method


# virtual methods
.method public final j(Lz5/g61;)V
    .registers 4

    iput-object p1, p0, Lz5/ft1;->s:Lz5/g61;

    iget-object v0, p0, Lz5/ft1;->r:Landroid/hardware/display/DisplayManager;

    const/4 v1, 0x0

    invoke-static {v1}, Lz5/r7;->n(Landroid/os/Handler$Callback;)Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v0, p0, v1}, Landroid/hardware/display/DisplayManager;->registerDisplayListener(Landroid/hardware/display/DisplayManager$DisplayListener;Landroid/os/Handler;)V

    .line 1
    iget-object v0, p0, Lz5/ft1;->r:Landroid/hardware/display/DisplayManager;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/hardware/display/DisplayManager;->getDisplay(I)Landroid/view/Display;

    move-result-object v0

    .line 2
    invoke-virtual {p1, v0}, Lz5/g61;->c(Landroid/view/Display;)V

    return-void
.end method

.method public final onDisplayAdded(I)V
    .registers 2

    return-void
.end method

.method public final onDisplayChanged(I)V
    .registers 4

    iget-object v0, p0, Lz5/ft1;->s:Lz5/g61;

    if-eqz v0, :cond_10

    if-nez p1, :cond_10

    .line 1
    iget-object p1, p0, Lz5/ft1;->r:Landroid/hardware/display/DisplayManager;

    const/4 v1, 0x0

    invoke-virtual {p1, v1}, Landroid/hardware/display/DisplayManager;->getDisplay(I)Landroid/view/Display;

    move-result-object p1

    .line 2
    invoke-virtual {v0, p1}, Lz5/g61;->c(Landroid/view/Display;)V

    :cond_10
    return-void
.end method

.method public final onDisplayRemoved(I)V
    .registers 2

    return-void
.end method

.method public final zzb()V
    .registers 2

    iget-object v0, p0, Lz5/ft1;->r:Landroid/hardware/display/DisplayManager;

    invoke-virtual {v0, p0}, Landroid/hardware/display/DisplayManager;->unregisterDisplayListener(Landroid/hardware/display/DisplayManager$DisplayListener;)V

    const/4 v0, 0x0

    iput-object v0, p0, Lz5/ft1;->s:Lz5/g61;

    return-void
.end method
