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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue