add more APIs needed for NewPipe

This commit is contained in:
Julian Winkler
2024-03-16 12:49:28 +01:00
parent b3c0023a45
commit 276b5ca7ef
40 changed files with 768 additions and 50 deletions

View File

@@ -6,7 +6,9 @@ import android.os.IBinder;
public abstract class Service extends Context {
public abstract void onCreate();
public void onCreate() {
System.out.println("Service.onCreate() called");
}
public abstract IBinder onBind(Intent intent);
@@ -16,4 +18,8 @@ public abstract class Service extends Context {
System.out.println("startForeground(" + id + ", " + notification + ") called");
}
public void stopForeground(boolean remove) {
System.out.println("stopForeground(" + remove + ") called");
}
}