Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8728e96 authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Rethrow RemoteException instead of log in ContextHubManager

Bug: 67734082
Test: Compile only
Change-Id: I1a61a5c9f47652539f7e1dac3a0c5306e994fcd4
parent 6f933f24
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -757,7 +757,7 @@ public final class ContextHubManager {
        try {
        try {
            mService.registerCallback(mClientCallback);
            mService.registerCallback(mClientCallback);
        } catch (RemoteException e) {
        } catch (RemoteException e) {
            Log.w(TAG, "Could not register callback:" + e);
            throw e.rethrowFromSystemServer();
        }
        }
    }
    }
}
}