forked from upstream-mirrors/OpenTracks
First step of data flow refactoring.
This moves all data source connections into the TrackDataHub. There are still many things to (re)do here: - Optimizations about when the listeners are registered - Optimizations about what data each TrackDataListener is interested in - When activities are restarting, send new data since they were stopped (instead of doing a full reload) - Proper double-buffering of Location objects (some listeners are interested in double-buffering all points, while others are only interested in double-buffering sampled points) - etc.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.dsi.ant.exception;
|
||||
|
||||
import android.os.RemoteException;
|
||||
|
||||
public class AntRemoteException extends AntInterfaceException
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 8950974759973459561L;
|
||||
|
||||
public AntRemoteException(RemoteException e)
|
||||
{
|
||||
this("ANT Interface error, ANT Radio Service remote error: "+e.toString(), e);
|
||||
}
|
||||
|
||||
public AntRemoteException(String string, RemoteException e)
|
||||
{
|
||||
super(string);
|
||||
|
||||
this.initCause(e);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user