mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 03:52:48 +00:00
Drop code compliance to Java 1.5. Minor annotation changes for 1.5 compliance.
This commit is contained in:
parent
8ca3aab363
commit
7f851c46f4
@ -1,11 +1,11 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.compliance=1.5
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
||||
org.eclipse.jdt.core.compiler.source=1.5
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user