导航菜单

页面标题

页面副标题

CallApp v2.226 - KeepSyncAliveService.java 源代码

正在查看: CallApp v2.226 应用的 KeepSyncAliveService.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.callapp.contacts.service;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.Build;
import android.os.IBinder;
import com.callapp.contacts.manager.NotificationManager;
import com.callapp.contacts.util.CLog;
import com.callapp.framework.util.StringUtils;
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;

@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001:\u0001\u0004B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0005"}, d2 = {"Lcom/callapp/contacts/service/KeepSyncAliveService;", "Landroid/app/Service;", "<init>", "()V", "SyncKeepAliveServiceBinder", "callapp-client_playRelease"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final class KeepSyncAliveService extends Service {
    public final SyncKeepAliveServiceBinder a = new SyncKeepAliveServiceBinder();

    @Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\b\u0086\u0004\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u0006\u0010\u0004\u001a\u00020\u0005¨\u0006\u0006"}, d2 = {"Lcom/callapp/contacts/service/KeepSyncAliveService$SyncKeepAliveServiceBinder;", "Landroid/os/Binder;", "<init>", "(Lcom/callapp/contacts/service/KeepSyncAliveService;)V", "getService", "Lcom/callapp/contacts/service/KeepSyncAliveService;", "callapp-client_playRelease"}, k = 1, mv = {2, 1, 0}, xi = 48)
    public final class SyncKeepAliveServiceBinder extends Binder {
        public SyncKeepAliveServiceBinder() {
        }

        @NotNull
        public final KeepSyncAliveService getA() {
            return KeepSyncAliveService.this;
        }
    }

    @Override
    public final IBinder onBind(Intent intent) {
        return this.a;
    }

    @Override
    public final void onDestroy() {
        super.onDestroy();
        StringUtils.I(KeepSyncAliveService.class);
        CLog.a();
        NotificationManager.get().e(8);
    }

    @Override
    public final int onStartCommand(Intent intent, int i, int i2) {
        return 1;
    }

    @Override
    public final void onTimeout(int i) {
        super.onTimeout(i);
        if (Build.VERSION.SDK_INT < 35) {
            stopSelf();
        }
    }
}