Remove useless exception declaration
The interface declares it can throw a RemoteException, but the
implementation never throws such exception.
@@ -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);
