ForegroundServiceExample/app/src/main/java/com/example/exampleservice/KoolService.java

25 lines
536 B
Java
Raw Normal View History

2025-04-22 23:52:07 +02:00
package com.example.exampleservice;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
import androidx.annotation.Nullable;
import androidx.core.app.NotificationChannelCompat;
import androidx.core.app.NotificationCompat;
public class KoolService extends QuickPowerService {
@Override
public void onStartCommandInit(Intent intent, int flags, int startId) {
}
@Nullable
@Override
public IBinder onBind(Intent intent) {
return null;
}
}