Remove useless exception declaration

The interface declares it can throw a RemoteException, but the
implementation never throws such exception.
pull/1423/head
Romain Vimont 4 years ago
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…
Cancel
Save