PhoneCallService.smali

.class public Lcom/cleanmaster/phonecall/PhoneCallService;
.super Landroid/telecom/InCallService;
.source "PhoneCallService.java"


# annotations
.annotation build Landroid/annotation/TargetApi;
    value = 0x17
.end annotation


# direct methods
.method public constructor <init>()V
    .registers 3

    .prologue
    .line 71
    invoke-direct {p0}, Landroid/telecom/InCallService;-><init>()V

    .line 72
    const-string v0, "lishutao"

    const-string v1, "PhoneCallService::PhoneCallService"

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/Logger;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 74
    return-void
.end method

.method private a()V
    .registers 3

    .prologue
    .line 38
    const-string v0, "lishutao"

    const-string/jumbo v1, "\u62c9\u6d3bcm"

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/Logger;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 41
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 42
    const/high16 v1, 0x10000000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 43
    const-string v1, "com.cleanmaster.telecom"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 44
    invoke-virtual {p0, v0}, Lcom/cleanmaster/phonecall/PhoneCallService;->sendBroadcast(Landroid/content/Intent;)V

    .line 45
    return-void
.end method

.method static synthetic a(Lcom/cleanmaster/phonecall/PhoneCallService;)V
    .registers 1

    .prologue
    .line 21
    invoke-direct {p0}, Lcom/cleanmaster/phonecall/PhoneCallService;->b()V

    return-void
.end method

.method private b()V
    .registers 2

    .prologue
    .line 54
    invoke-static {}, Landroid/os/Process;->myPid()I

    move-result v0

    invoke-static {v0}, Landroid/os/Process;->killProcess(I)V

    .line 56
    return-void
.end method


# virtual methods
.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
    .registers 4

    .prologue
    .line 64
    const-string v0, "lishutao"

    const-string v1, "PhoneCallService::onBind"

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/Logger;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 67
    invoke-super {p0, p1}, Landroid/telecom/InCallService;->onBind(Landroid/content/Intent;)Landroid/os/IBinder;

    move-result-object v0

    return-object v0
.end method

.method public onBringToForeground(Z)V
    .registers 4

    .prologue
    .line 90
    invoke-super {p0, p1}, Landroid/telecom/InCallService;->onBringToForeground(Z)V

    .line 91
    const-string v0, "lishutao"

    const-string v1, "PhoneCallService::onBringToForeground"

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/Logger;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 92
    return-void
.end method

.method public onCallAdded(Landroid/telecom/Call;)V
    .registers 4

    .prologue
    .line 27
    invoke-super {p0, p1}, Landroid/telecom/InCallService;->onCallAdded(Landroid/telecom/Call;)V

    .line 28
    invoke-direct {p0}, Lcom/cleanmaster/phonecall/PhoneCallService;->a()V

    .line 30
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/cleanmaster/phonecall/c;

    invoke-direct {v1, p0}, Lcom/cleanmaster/phonecall/c;-><init>(Lcom/cleanmaster/phonecall/PhoneCallService;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 36
    return-void
.end method

.method public onCallAudioStateChanged(Landroid/telecom/CallAudioState;)V
    .registers 4

    .prologue
    .line 84
    invoke-super {p0, p1}, Landroid/telecom/InCallService;->onCallAudioStateChanged(Landroid/telecom/CallAudioState;)V

    .line 85
    const-string v0, "lishutao"

    const-string v1, "PhoneCallService::onCallAudioStateChanged"

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/Logger;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 86
    return-void
.end method

.method public onCallRemoved(Landroid/telecom/Call;)V
    .registers 2

    .prologue
    .line 59
    invoke-super {p0, p1}, Landroid/telecom/InCallService;->onCallRemoved(Landroid/telecom/Call;)V

    .line 60
    return-void
.end method

.method public onCanAddCallChanged(Z)V
    .registers 4

    .prologue
    .line 96
    invoke-super {p0, p1}, Landroid/telecom/InCallService;->onCanAddCallChanged(Z)V

    .line 97
    const-string v0, "lishutao"

    const-string v1, "PhoneCallService::onCanAddCallChanged"

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/Logger;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 98
    return-void
.end method

.method public onUnbind(Landroid/content/Intent;)Z
    .registers 4

    .prologue
    .line 78
    const-string v0, "lishutao"

    const-string v1, "PhoneCallService::onUnBind"

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/Logger;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 79
    invoke-super {p0, p1}, Landroid/telecom/InCallService;->onUnbind(Landroid/content/Intent;)Z

    move-result v0

    return v0
.end method