Update SpiceService.java

add network info profiling code
This commit is contained in:
GeMotionX 2015-03-05 13:18:32 +01:00
parent c32c38c44c
commit 126811582b
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ public class SpiceService extends Service {
SpiceProfilingUtil.log(context,
location.getTime() + "," + location.getLatitude() + "," + location.getLongitude() + ","
+ location.getProvider());
SpiceProfilingUtil.profile(SpiceService.this, SpiceProfilingUtil.FILE_NAME_NETWORK, NetworkStateUtil.getConnectedType(SpiceService.this));
}
}
}