-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":176,"versionName":"202011061838","enabled":true,"outputFile":"ICL02Launcher_V176_202011061838_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Launcher_V176_202011061838_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":177,"versionName":"202011071413","enabled":true,"outputFile":"ICL02Launcher_V177_202011071413_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Launcher_V177_202011071413_release.apk","properties":{}}]
\ No newline at end of file
import android.app.Activity;
import android.app.Application;
import android.content.BroadcastReceiver;
+import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
private static final String TAG = "MainActivity";
private static final String SERVICE_PKG_NAME = "com.enqualcomm.support";
+ public static final String SERVICE_CLS_NAME = "com.enqualcomm.support.CoreService";
private boolean isLowPower = false;
ServiceUtil.startServiceUtil(getApplicationContext(),
"com.ic.action.WORK_SERVICE", getPackageName());
+
+ //启动协议服务
+ ComponentName componentName = new ComponentName(SERVICE_PKG_NAME, SERVICE_CLS_NAME);
+ Intent intent = (new Intent()).setComponent(componentName);
+ getApplicationContext().startService(intent);
+
}
@Override