mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-06 16:06:10 +00:00
Drop code compliance to Java 1.5. Minor annotation changes for 1.5 compliance.
This commit is contained in:
@@ -288,7 +288,6 @@ public class NvConnection {
|
||||
this.videoDecoderRenderer = videoDecoderRenderer;
|
||||
|
||||
new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
hostAddr = InetAddress.getByName(host);
|
||||
@@ -308,7 +307,6 @@ public class NvConnection {
|
||||
return;
|
||||
|
||||
threadPool.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
inputStream.sendMouseMove(deltaX, deltaY);
|
||||
@@ -325,7 +323,6 @@ public class NvConnection {
|
||||
return;
|
||||
|
||||
threadPool.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
inputStream.sendMouseButtonDown(mouseButton);
|
||||
@@ -342,7 +339,6 @@ public class NvConnection {
|
||||
return;
|
||||
|
||||
threadPool.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
inputStream.sendMouseButtonUp(mouseButton);
|
||||
@@ -362,7 +358,6 @@ public class NvConnection {
|
||||
return;
|
||||
|
||||
threadPool.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
inputStream.sendControllerInput(buttonFlags, leftTrigger,
|
||||
@@ -380,7 +375,6 @@ public class NvConnection {
|
||||
return;
|
||||
|
||||
threadPool.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
inputStream.sendKeyboardInput(keyMap, keyDirection, modifier);
|
||||
|
||||
@@ -400,12 +400,10 @@ public class ControlStream implements ConnectionStatusListener {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void connectionTerminated() {
|
||||
abort();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void connectionNeedsResync() {
|
||||
synchronized (resyncNeeded) {
|
||||
// Wake up the resync thread
|
||||
|
||||
Reference in New Issue
Block a user