forked from upstream-mirrors/OpenTracks
675b4f55c1
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.
24 lines
519 B
Java
24 lines
519 B
Java
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);
|
|
}
|
|
}
|