version:1.4
update:2021-10-21 10:14:40 fix: add:增加浏览器桌面检测升级,修复重复请求
This commit is contained in:
@@ -2,6 +2,7 @@ package com.aoleyun.sn.utils;
|
||||
|
||||
import android.app.ActivityManager;
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
||||
public class ServiceAliveUtils {
|
||||
public static boolean isServiceAlive(Context mContext) {
|
||||
@@ -16,7 +17,7 @@ public class ServiceAliveUtils {
|
||||
isServiceRunning = true;
|
||||
}
|
||||
}
|
||||
Logutils.i("ServiceAliveUtils", mContext.getClass().getName() + "isServiceAlice: " + isServiceRunning);
|
||||
Log.i("ServiceAliveUtils", mContext.getClass().getName() + "isServiceAlice: " + isServiceRunning);
|
||||
return isServiceRunning;
|
||||
}
|
||||
|
||||
@@ -32,7 +33,7 @@ public class ServiceAliveUtils {
|
||||
isServiceRunning = true;
|
||||
}
|
||||
}
|
||||
Logutils.i("ServiceAliveUtils", serviceName + " :isServiceAlice: " + isServiceRunning);
|
||||
Log.i("ServiceAliveUtils", serviceName + " :isServiceAlice: " + isServiceRunning);
|
||||
return isServiceRunning;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user