Skip to content

Display and control your Android device

Remove useless exception declaration

Romain Vimont73e722784d61
diff --git a/server/src/main/java/com/genymobile/scrcpy/Device.java b/server/src/main/java/com/genymobile/scrcpy/Device.java
index aff04fd0..91705359 100644
--- a/server/src/main/java/com/genymobile/scrcpy/Device.java
+++ b/server/src/main/java/com/genymobile/scrcpy/Device.java
@@ -54,7 +54,7 @@ public final class Device {
serviceManager.getWindowManager().registerRotationWatcher(new IRotationWatcher.Stub() {
@Override
- public void onRotationChanged(int rotation) throws RemoteException {
+ public void onRotationChanged(int rotation) {
synchronized (Device.this) {
screenInfo = screenInfo.withDeviceRotation(rotation);