mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-23 23:53:46 +00:00
Remove useless exception declaration
The interface declares it can throw a RemoteException, but the implementation never throws such exception.
This commit is contained in:
parent
e1cd75792c
commit
73e722784d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user