y.smali
.class Lcom/xiaomi/push/service/y;
.super Lcom/xiaomi/push/service/XMPushService$h;
# instance fields
.field private a:Lcom/xiaomi/push/service/XMPushService;
.field private b:Lcom/xiaomi/c/b;
# direct methods
.method public constructor <init>(Lcom/xiaomi/push/service/XMPushService;Lcom/xiaomi/c/b;)V
.registers 4
const/4 v0, 0x4
invoke-direct {p0, v0}, Lcom/xiaomi/push/service/XMPushService$h;-><init>(I)V
const/4 v0, 0x0
iput-object v0, p0, Lcom/xiaomi/push/service/y;->a:Lcom/xiaomi/push/service/XMPushService;
iput-object p1, p0, Lcom/xiaomi/push/service/y;->a:Lcom/xiaomi/push/service/XMPushService;
iput-object p2, p0, Lcom/xiaomi/push/service/y;->b:Lcom/xiaomi/c/b;
return-void
.end method
# virtual methods
.method public a()V
.registers 4
:try_start_0
iget-object v0, p0, Lcom/xiaomi/push/service/y;->b:Lcom/xiaomi/c/b;
if-eqz v0, :cond_b
iget-object v0, p0, Lcom/xiaomi/push/service/y;->a:Lcom/xiaomi/push/service/XMPushService;
iget-object v1, p0, Lcom/xiaomi/push/service/y;->b:Lcom/xiaomi/c/b;
invoke-virtual {v0, v1}, Lcom/xiaomi/push/service/XMPushService;->a(Lcom/xiaomi/c/b;)V
:try_end_b
.catch Lcom/xiaomi/smack/l; {:try_start_0 .. :try_end_b} :catch_c
:cond_b
:goto_b
return-void
:catch_c
move-exception v0
invoke-static {v0}, Lcom/xiaomi/channel/commonutils/b/c;->a(Ljava/lang/Throwable;)V
iget-object v1, p0, Lcom/xiaomi/push/service/y;->a:Lcom/xiaomi/push/service/XMPushService;
const/16 v2, 0xa
invoke-virtual {v1, v2, v0}, Lcom/xiaomi/push/service/XMPushService;->a(ILjava/lang/Exception;)V
goto :goto_b
.end method
.method public b()Ljava/lang/String;
.registers 2
const-string/jumbo v0, "send a message."
return-object v0
.end method