version:cube 4.8
fix:修复截图 update:
This commit is contained in:
@@ -5,6 +5,8 @@ import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
||||
public class ServiceAliveUtils {
|
||||
private static final String TAG = ServiceAliveUtils.class.getSimpleName();
|
||||
|
||||
public static boolean isServiceAlive(Context mContext) {
|
||||
boolean isServiceRunning = false;
|
||||
ActivityManager manager =
|
||||
@@ -17,7 +19,7 @@ public class ServiceAliveUtils {
|
||||
isServiceRunning = true;
|
||||
}
|
||||
}
|
||||
Log.i("ServiceAliveUtils", mContext.getClass().getName() + "isServiceAlice: " + isServiceRunning);
|
||||
Log.i(TAG, mContext.getClass().getName() + " :isServiceAlive: " + isServiceRunning);
|
||||
return isServiceRunning;
|
||||
}
|
||||
|
||||
@@ -33,7 +35,7 @@ public class ServiceAliveUtils {
|
||||
isServiceRunning = true;
|
||||
}
|
||||
}
|
||||
Log.i("ServiceAliveUtils", serviceName + " :isServiceAlice: " + isServiceRunning);
|
||||
Log.i(TAG, serviceName + " :isServiceAlive: " + isServiceRunning);
|
||||
return isServiceRunning;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user