|
|
@ -229,6 +229,7 @@ public class MicroPhotoService extends Service {
|
|
|
|
|
|
|
|
|
|
|
|
// registerHeartbeatTimer(getHeartbeatDuration());
|
|
|
|
// registerHeartbeatTimer(getHeartbeatDuration());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SysApi.enableGps(this.getApplicationContext(), true);
|
|
|
|
requestPosition();
|
|
|
|
requestPosition();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
@ -1081,8 +1082,6 @@ public class MicroPhotoService extends Service {
|
|
|
|
System.exit(0);
|
|
|
|
System.exit(0);
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public void enableGps(boolean enabled) {
|
|
|
|
public void enableGps(boolean enabled) {
|
|
|
|
SysApi.enableGps(getApplicationContext(), enabled);
|
|
|
|
SysApi.enableGps(getApplicationContext(), enabled);
|
|
|
|