SubSmarthomeFragment$7.smali
.class Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;
.super Ljava/lang/Object;
# interfaces
.implements Lcom/cmcm/xiaobao/phone/smarthome/base/Callback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->getSamedeviceList()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/cmcm/xiaobao/phone/smarthome/base/Callback",
"<",
"Ljava/lang/Void;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;
# direct methods
.method constructor <init>(Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;)V
.registers 2
iput-object p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onError(Ljava/lang/Exception;)V
.registers 5
.param p1 # Ljava/lang/Exception;
.annotation build Landroid/support/annotation/NonNull;
.end annotation
.end param
iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;
const/4 v1, 0x0
# setter for: Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->mIsSyncing:Z
invoke-static {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->access$502(Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;Z)Z
invoke-static {}, Lcom/sdk/orion/ui/baselibrary/BaseApp;->getAppContext()Landroid/content/Context;
move-result-object v0
sget v1, Lcom/cmcm/xiaobao/phone/smarthome/R$string;->smarthome_sync_failure:I
invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
instance-of v1, p1, Lcom/cmcm/xiaobao/phone/smarthome/base/SyncException;
if-eqz v1, :cond_1a
check-cast p1, Lcom/cmcm/xiaobao/phone/smarthome/base/SyncException;
invoke-virtual {p1}, Lcom/cmcm/xiaobao/phone/smarthome/base/SyncException;->getTips()Ljava/lang/String;
move-result-object v0
:cond_1a
# getter for: Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->TAG:Ljava/lang/String;
invoke-static {}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->access$200()Ljava/lang/String;
move-result-object v1
const-string/jumbo v2, "sync error"
invoke-static {v1, v2}, Lcom/cmcm/xiaobao/phone/commons/log/LogUtil;->d(Ljava/lang/String;Ljava/lang/String;)V
iget-object v1, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;
invoke-virtual {v1}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->getUserVisibleHint()Z
move-result v1
if-eqz v1, :cond_31
iget-object v1, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;
invoke-virtual {v1, v0}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->showToast(Ljava/lang/String;)V
:cond_31
iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->getDataFromService(Z)V
iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;
# getter for: Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->mHandler:Lcom/cmcm/xiaobao/phone/smarthome/baseui/BaseFragment$FragmentHandler;
invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->access$600(Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;)Lcom/cmcm/xiaobao/phone/smarthome/baseui/BaseFragment$FragmentHandler;
move-result-object v0
const/16 v1, 0x64
invoke-virtual {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/baseui/BaseFragment$FragmentHandler;->removeMessages(I)V
return-void
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.registers 2
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;->onSuccess(Ljava/lang/Void;)V
return-void
.end method
.method public onSuccess(Ljava/lang/Void;)V
.registers 4
# getter for: Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->TAG:Ljava/lang/String;
invoke-static {}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->access$200()Ljava/lang/String;
move-result-object v0
const-string/jumbo v1, "sync success"
invoke-static {v0, v1}, Lcom/cmcm/xiaobao/phone/commons/log/LogUtil;->d(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;
const/4 v1, 0x0
# setter for: Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->mIsSyncing:Z
invoke-static {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->access$502(Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;Z)Z
iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->getDataFromService(Z)V
iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$7;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;
# getter for: Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->mHandler:Lcom/cmcm/xiaobao/phone/smarthome/baseui/BaseFragment$FragmentHandler;
invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->access$600(Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;)Lcom/cmcm/xiaobao/phone/smarthome/baseui/BaseFragment$FragmentHandler;
move-result-object v0
const/16 v1, 0x64
invoke-virtual {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/baseui/BaseFragment$FragmentHandler;->removeMessages(I)V
return-void
.end method