43 lines
1.2 KiB
Java
43 lines
1.2 KiB
Java
package com.ubt.jimu;
|
|
|
|
import android.app.job.JobParameters;
|
|
import android.app.job.JobService;
|
|
import android.content.Intent;
|
|
import android.util.Log;
|
|
|
|
@Deprecated
|
|
/* loaded from: classes.dex */
|
|
public class JimuJobScheduler extends JobService {
|
|
private static final String a = JimuJobScheduler.class.getSimpleName();
|
|
|
|
@Override // android.app.Service
|
|
public void onCreate() {
|
|
super.onCreate();
|
|
Log.i(a, "Service created");
|
|
}
|
|
|
|
@Override // android.app.Service
|
|
public void onDestroy() {
|
|
super.onDestroy();
|
|
Log.i(a, "Service destroyed");
|
|
}
|
|
|
|
@Override // android.app.Service
|
|
public int onStartCommand(Intent intent, int i, int i2) {
|
|
Log.i(a, "onStartCommand");
|
|
return super.onStartCommand(intent, i, i2);
|
|
}
|
|
|
|
@Override // android.app.job.JobService
|
|
public boolean onStartJob(JobParameters jobParameters) {
|
|
Log.i(a, "onStartJob");
|
|
return jobParameters.getExtras() != null && jobParameters.getExtras().getInt("extra_job_type", 4097) == 4097;
|
|
}
|
|
|
|
@Override // android.app.job.JobService
|
|
public boolean onStopJob(JobParameters jobParameters) {
|
|
Log.i(a, "onStopJob");
|
|
return false;
|
|
}
|
|
}
|