UnityWebViewActivity$4.smali

.class Lcom/garena/unity/webview/UnityWebViewActivity$4;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/view/View$OnSystemUiVisibilityChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/garena/unity/webview/UnityWebViewActivity;->setSystemUiVisibility()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/garena/unity/webview/UnityWebViewActivity;


# direct methods
.method constructor <init>(Lcom/garena/unity/webview/UnityWebViewActivity;)V
    .registers 2

    iput-object p1, p0, Lcom/garena/unity/webview/UnityWebViewActivity$4;->this$0:Lcom/garena/unity/webview/UnityWebViewActivity;

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

    return-void
.end method


# virtual methods
.method public onSystemUiVisibilityChange(I)V
    .registers 3

    and-int/lit8 p1, p1, 0x4

    if-nez p1, :cond_15

    iget-object p1, p0, Lcom/garena/unity/webview/UnityWebViewActivity$4;->this$0:Lcom/garena/unity/webview/UnityWebViewActivity;

    invoke-virtual {p1}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object p1

    invoke-virtual {p1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object p1

    # getter for: Lcom/garena/unity/webview/UnityWebViewActivity;->SYSTEM_UI_VISIBILITY:I
    invoke-static {}, Lcom/garena/unity/webview/UnityWebViewActivity;->access$700()I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/view/View;->setSystemUiVisibility(I)V

    :cond_15
    return-void
.end method