diff --git a/app/src/main/java/xtr/keymapper/server/RemoteService.java b/app/src/main/java/xtr/keymapper/server/RemoteService.java index 663b3531..b859426b 100644 --- a/app/src/main/java/xtr/keymapper/server/RemoteService.java +++ b/app/src/main/java/xtr/keymapper/server/RemoteService.java @@ -41,7 +41,6 @@ public class RemoteService extends IRemoteService.Stub { private int TYPE_SECURE_SYSTEM_OVERLAY; Handler mHandler = new Handler(Looper.getMainLooper()); - public RemoteService() { } diff --git a/app/src/main/java/xtr/keymapper/server/RemoteServiceShell.java b/app/src/main/java/xtr/keymapper/server/RemoteServiceShell.java index cc021933..e036a7aa 100644 --- a/app/src/main/java/xtr/keymapper/server/RemoteServiceShell.java +++ b/app/src/main/java/xtr/keymapper/server/RemoteServiceShell.java @@ -7,8 +7,8 @@ public class RemoteServiceShell { public static void main(String[] args) { RemoteService.loadLibraries(); - RemoteService mService = new RemoteService(); Looper.prepareMainLooper(); + RemoteService mService = new RemoteService(); try { System.out.println("Waiting for overlay..."); for (String arg: args) {