BLActionFragment$1.smali
.class Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment$1;
.super Lcom/sdk/orion/callback/ContentCallBack;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;->clickRightBtn()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/sdk/orion/callback/ContentCallBack",
"<",
"Ljava/lang/String;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;
# direct methods
.method constructor <init>(Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;)V
.registers 2
iput-object p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;
invoke-direct {p0}, Lcom/sdk/orion/callback/ContentCallBack;-><init>()V
return-void
.end method
# virtual methods
.method public onFailed(ILjava/lang/String;)V
.registers 5
iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;
sget v1, Lcom/cmcm/xiaobao/phone/smarthome/R$string;->orion_sdk_smarthome_save_failure:I
invoke-virtual {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/cmcm/xiaobao/phone/commons/utils/ToastUtils;->showToast(Ljava/lang/String;)V
return-void
.end method
.method public bridge synthetic onSucceed(Ljava/lang/Object;)V
.registers 2
check-cast p1, Ljava/lang/String;
invoke-virtual {p0, p1}, Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment$1;->onSucceed(Ljava/lang/String;)V
return-void
.end method
.method public onSucceed(Ljava/lang/String;)V
.registers 4
iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;
sget v1, Lcom/cmcm/xiaobao/phone/smarthome/R$string;->orion_sdk_smarthome_save_success:I
invoke-virtual {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/cmcm/xiaobao/phone/commons/utils/ToastUtils;->showToast(Ljava/lang/String;)V
invoke-static {}, Lorg/greenrobot/eventbus/c;->a()Lorg/greenrobot/eventbus/c;
move-result-object v0
new-instance v1, Lcom/cmcm/xiaobao/phone/smarthome/event/EventTag$RefreshDeviceList;
invoke-direct {v1}, Lcom/cmcm/xiaobao/phone/smarthome/event/EventTag$RefreshDeviceList;-><init>()V
invoke-virtual {v0, v1}, Lorg/greenrobot/eventbus/c;->c(Ljava/lang/Object;)V
iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;
# getter for: Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;->mActivity:Landroid/app/Activity;
invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;->access$000(Lcom/cmcm/xiaobao/phone/smarthome/BLActionFragment;)Landroid/app/Activity;
move-result-object v0
invoke-virtual {v0}, Landroid/app/Activity;->finish()V
return-void
.end method