diff options
| -rw-r--r-- | core/java/android/hardware/location/ContextHubManager.java | 4 | ||||
| -rw-r--r-- | core/java/android/hardware/location/NanoAppInstanceInfo.java | 5 |
2 files changed, 1 insertions, 8 deletions
diff --git a/core/java/android/hardware/location/ContextHubManager.java b/core/java/android/hardware/location/ContextHubManager.java index be1efdea0260..de13c8132a65 100644 --- a/core/java/android/hardware/location/ContextHubManager.java +++ b/core/java/android/hardware/location/ContextHubManager.java @@ -744,8 +744,6 @@ public final class ContextHubManager { synchronized (this) { mLocalCallback.onMessageReceipt(hubId, nanoAppId, message); } - } else { - Log.d(TAG, "Context hub manager client callback is NULL"); } } }; @@ -759,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(); } } } diff --git a/core/java/android/hardware/location/NanoAppInstanceInfo.java b/core/java/android/hardware/location/NanoAppInstanceInfo.java index f73fd87b1a19..c00819bde6dc 100644 --- a/core/java/android/hardware/location/NanoAppInstanceInfo.java +++ b/core/java/android/hardware/location/NanoAppInstanceInfo.java @@ -90,11 +90,6 @@ public class NanoAppInstanceInfo { /** * Get the application version * - * NOTE: There is a race condition where shortly after loading, this - * may return -1 instead of the correct version. - * - * TODO(b/30970527): Fix this race condition. - * * @return int - version of the app */ public int getAppVersion() { |