Skip to content

Commit 9c78e7a

Browse files
neobuddy89PMS22
authored andcommitted
EdgeBackGestureHandler: Handle all exceptions with WindowManagerService
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
1 parent 8a8244e commit 9c78e7a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/SystemUI/src/com/android/systemui/statusbar/phone/EdgeBackGestureHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ private void updateIsEnabled() {
307307
WindowManagerGlobal.getWindowManagerService()
308308
.unregisterSystemGestureExclusionListener(
309309
mGestureExclusionListener, mDisplayId);
310-
} catch (RemoteException e) {
310+
} catch (Exception e) {
311311
Log.e(TAG, "Failed to unregister window manager callbacks", e);
312312
}
313313

@@ -321,7 +321,7 @@ private void updateIsEnabled() {
321321
WindowManagerGlobal.getWindowManagerService()
322322
.registerSystemGestureExclusionListener(
323323
mGestureExclusionListener, mDisplayId);
324-
} catch (RemoteException e) {
324+
} catch (Exception e) {
325325
Log.e(TAG, "Failed to register window manager callbacks", e);
326326
}
327327

0 commit comments

Comments
 (0)