116 lines
2.3 KiB
Smali
116 lines
2.3 KiB
Smali
.class final Lcom/moji/api/APIManager$5;
|
|
.super Ljava/lang/Object;
|
|
.source "APIManager.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/content/ServiceConnection;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/moji/api/APIManager;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 520
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
|
|
.locals 1
|
|
|
|
.line 524
|
|
invoke-static {}, Lcom/moji/api/APIManager;->a()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
monitor-enter p1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 525
|
|
:try_start_0
|
|
invoke-static {v0}, Lcom/moji/api/APIManager;->a(Z)Z
|
|
|
|
.line 526
|
|
invoke-static {p2}, Lcom/moji/api/service/IAPIManagerInterface$Stub;->a(Landroid/os/IBinder;)Lcom/moji/api/service/IAPIManagerInterface;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p2}, Lcom/moji/api/APIManager;->a(Lcom/moji/api/service/IAPIManagerInterface;)Lcom/moji/api/service/IAPIManagerInterface;
|
|
|
|
.line 527
|
|
invoke-static {}, Lcom/moji/api/APIManager;->b()Lcom/moji/api/service/IAPIManagerInterface;
|
|
|
|
move-result-object p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 528
|
|
invoke-static {}, Lcom/moji/api/APIManager;->c()V
|
|
|
|
.line 530
|
|
:cond_0
|
|
monitor-exit p1
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p2
|
|
|
|
monitor-exit p1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p2
|
|
.end method
|
|
|
|
.method public onServiceDisconnected(Landroid/content/ComponentName;)V
|
|
.locals 1
|
|
|
|
.line 535
|
|
invoke-static {}, Lcom/moji/api/APIManager;->a()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
monitor-enter p1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 536
|
|
:try_start_0
|
|
invoke-static {v0}, Lcom/moji/api/APIManager;->a(Z)Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 537
|
|
invoke-static {v0}, Lcom/moji/api/APIManager;->a(Lcom/moji/api/service/IAPIManagerInterface;)Lcom/moji/api/service/IAPIManagerInterface;
|
|
|
|
.line 538
|
|
monitor-exit p1
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v0
|
|
.end method
|