Source relevan upstream changes till 02ac5137.

This commit is contained in:
Johannes Mockenhaupt 2017-10-18 23:18:46 +02:00
parent 23a3068709
commit 51aceadfb1
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -57,6 +57,10 @@ public class Ruffy extends Service {
@Override
public int doRTConnect() throws RemoteException {
if(isConnected()) {
rtHandler.rtStarted();
return 0;
}
step= 0;
if(Ruffy.this.rtHandler==null)
{
@ -77,8 +81,10 @@ public class Ruffy extends Service {
public void doRTDisconnect()
{
step = 200;
stopRT();
btConn.disconnect();
if(btConn!=null) {
stopRT();
btConn.disconnect();
}
}
public void rtSendKey(byte keyCode, boolean changed)