mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 12:17:57 +03:00
Service: extend ContextWrapper
This commit is contained in:
parent
c17af62a19
commit
edffed5233
1 changed files with 6 additions and 1 deletions
|
@ -1,10 +1,15 @@
|
|||
package android.app;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.ContextWrapper;
|
||||
import android.content.Intent;
|
||||
import android.os.IBinder;
|
||||
|
||||
public abstract class Service extends Context {
|
||||
public abstract class Service extends ContextWrapper {
|
||||
|
||||
public Service() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public void onCreate() {
|
||||
System.out.println("Service.onCreate() called");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue