AuthenticatorService.smali

.class public Lim/tpelyyftgw/messenger/AuthenticatorService;
.super Landroid/app/Service;
.source "AuthenticatorService.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;
    }
.end annotation


# static fields
.field private static authenticator:Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .line 87
    const/4 v0, 0x0

    sput-object v0, Lim/tpelyyftgw/messenger/AuthenticatorService;->authenticator:Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    .line 22
    invoke-direct {p0}, Landroid/app/Service;-><init>()V

    return-void
.end method


# virtual methods
.method protected getAuthenticator()Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;
    .registers 2

    .line 90
    sget-object v0, Lim/tpelyyftgw/messenger/AuthenticatorService;->authenticator:Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;

    if-nez v0, :cond_b

    .line 91
    new-instance v0, Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;

    invoke-direct {v0, p0}, Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;-><init>(Landroid/content/Context;)V

    sput-object v0, Lim/tpelyyftgw/messenger/AuthenticatorService;->authenticator:Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;

    .line 93
    :cond_b
    sget-object v0, Lim/tpelyyftgw/messenger/AuthenticatorService;->authenticator:Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;

    return-object v0
.end method

.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
    .registers 4
    .param p1, "intent"    # Landroid/content/Intent;

    .line 99
    invoke-virtual {p1}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    const-string v1, "android.accounts.AccountAuthenticator"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_15

    .line 100
    invoke-virtual {p0}, Lim/tpelyyftgw/messenger/AuthenticatorService;->getAuthenticator()Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/messenger/AuthenticatorService$Authenticator;->getIBinder()Landroid/os/IBinder;

    move-result-object v0

    return-object v0

    .line 102
    :cond_15
    const/4 v0, 0x0

    return-object v0
.end method