summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Arthur Ishiguro <arthuri@google.com> 2017-12-22 16:21:53 -0800
committer Arthur Ishiguro <arthuri@google.com> 2018-01-04 09:36:14 -0800
commitc8728e964b32a226749d56589e65762f08073908 (patch)
tree1fd0ddc5d65d1170270dea512b6c59a4eba6ac02
parent6f933f240bd7d37554b54a102d1bf6d8a8103815 (diff)
Rethrow RemoteException instead of log in ContextHubManager
Bug: 67734082 Test: Compile only Change-Id: I1a61a5c9f47652539f7e1dac3a0c5306e994fcd4
-rw-r--r--core/java/android/hardware/location/ContextHubManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/hardware/location/ContextHubManager.java b/core/java/android/hardware/location/ContextHubManager.java
index fc9becef15fd..de13c8132a65 100644
--- a/core/java/android/hardware/location/ContextHubManager.java
+++ b/core/java/android/hardware/location/ContextHubManager.java
@@ -757,7 +757,7 @@ public final class ContextHubManager {
try {
mService.registerCallback(mClientCallback);
} catch (RemoteException e) {
- Log.w(TAG, "Could not register callback:" + e);
+ throw e.rethrowFromSystemServer();
}
}
}