BatteryProfileAddLocationFragment$onViewCreated$7.smali
.class final Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment$onViewCreated$7;
.super Ljava/lang/Object;
# interfaces
.implements Landroid/view/View$OnFocusChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic f:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment;
# direct methods
.method constructor <init>(Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment;)V
.registers 2
iput-object p1, p0, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment$onViewCreated$7;->f:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onFocusChange(Landroid/view/View;Z)V
.registers 5
const/4 v1, 0x4
iget-object p1, p0, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment$onViewCreated$7;->f:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment;
const/4 v1, 0x7
sget v0, Lcom/avast/android/cleaner/R$id;->location_name_label:I
invoke-virtual {p1, v0}, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment;->_$_findCachedViewById(I)Landroid/view/View;
move-result-object p1
const/4 v1, 0x6
check-cast p1, Lcom/google/android/material/textview/MaterialTextView;
iget-object v0, p0, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment$onViewCreated$7;->f:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileAddLocationFragment;
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
move-result-object v0
if-eqz p2, :cond_1b
const/4 v1, 0x0
const p2, 0x7f0400d9
const/4 v1, 0x0
goto :goto_1f
:cond_1b
const/4 v1, 0x3
const p2, 0x7f0400e9
:goto_1f
const/4 v1, 0x0
invoke-static {v0, p2}, Lcom/avast/android/cleaner/util/AttrUtil;->b(Landroid/content/Context;I)I
move-result p2
const/4 v1, 0x1
invoke-virtual {p1, p2}, Landroid/widget/TextView;->setTextColor(I)V
const/4 v1, 0x5
return-void
.end method