- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
36 lines
1.0 KiB
Java
36 lines
1.0 KiB
Java
package com.firemonkeys.cloudcellapi;
|
|
|
|
import android.app.Service;
|
|
import android.content.Intent;
|
|
import android.os.IBinder;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class AndroidAssetManagerService extends Service {
|
|
private static final String CLASSNAME = "AndroidAssetManagerService";
|
|
|
|
public native void ProcessDownloadsJNI();
|
|
|
|
@Override // android.app.Service
|
|
public IBinder onBind(Intent intent) {
|
|
return null;
|
|
}
|
|
|
|
@Override // android.app.Service
|
|
public void onCreate() {
|
|
super.onCreate();
|
|
}
|
|
|
|
@Override // android.app.Service
|
|
public int onStartCommand(Intent intent, int i, int i2) {
|
|
Logging.CC_INFO(CLASSNAME, "onStartCommand()");
|
|
new Thread(new Runnable() { // from class: com.firemonkeys.cloudcellapi.AndroidAssetManagerService.1
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
AndroidAssetManagerService.this.ProcessDownloadsJNI();
|
|
CC_Component.stopDownloadService();
|
|
}
|
|
}).start();
|
|
return 2;
|
|
}
|
|
}
|