ProfileBackgroundComponent$8.smali

.class final Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroidx/lifecycle/Observer<",
        "Landroid/graphics/drawable/BitmapDrawable;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Landroidx/lifecycle/LiveData;

.field final synthetic b:Z

.field final synthetic c:Ljava/lang/String;

.field final synthetic d:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;Landroidx/lifecycle/LiveData;ZLjava/lang/String;)V
    .registers 5

    .line 602
    iput-object p1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;->d:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;

    iput-object p2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;->a:Landroidx/lifecycle/LiveData;

    iput-boolean p3, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;->b:Z

    iput-object p4, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;->c:Ljava/lang/String;

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

    return-void
.end method


# virtual methods
.method public final synthetic onChanged(Ljava/lang/Object;)V
    .registers 5

    .line 602
    check-cast p1, Landroid/graphics/drawable/BitmapDrawable;

    .line 1606
    iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;->a:Landroidx/lifecycle/LiveData;

    invoke-virtual {v0, p0}, Landroidx/lifecycle/LiveData;->removeObserver(Landroidx/lifecycle/Observer;)V

    .line 1607
    iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;->d:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->h(Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;)Z

    if-eqz p1, :cond_17

    .line 1612
    iget-object v0, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;->d:Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;

    iget-boolean v1, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;->b:Z

    iget-object v2, p0, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent$8;->c:Ljava/lang/String;

    invoke-virtual {v0, p1, v1, v2}, Lcom/imo/android/imoim/profile/background/ProfileBackgroundComponent;->a(Landroid/graphics/drawable/Drawable;ZLjava/lang/String;)V

    :cond_17
    return-void
.end method