Ruffy: hopefully unbreak doRTConnect.

This commit is contained in:
Johannes Mockenhaupt 2017-10-19 02:44:42 +02:00
parent 9300179ace
commit 8fd198c674
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -57,11 +57,11 @@ public class Ruffy extends Service {
@Override @Override
public int doRTConnect() throws RemoteException { public int doRTConnect() throws RemoteException {
step= 0;
if(isConnected()) { if(isConnected()) {
rtHandler.rtStarted(); rtHandler.rtStarted();
return 0; return 0;
} }
step= 0;
if(Ruffy.this.rtHandler==null) if(Ruffy.this.rtHandler==null)
{ {
return -2;//FIXME make errors return -2;//FIXME make errors