Removes unnecessary logs from ContextHubService

Bug: 67734082
Test: None
Change-Id: Ibb6d2626334603bbda4e826e5fd7f7c47c7a436d
This commit is contained in:
Arthur Ishiguro
2017-12-15 15:21:42 -08:00
parent b5c1fe39c0
commit 6db7813050

View File

@@ -269,13 +269,9 @@ public class ContextHubService extends IContextHubService.Stub {
checkPermissions();
int[] returnArray = new int[mContextHubInfo.length];
Log.d(TAG, "System supports " + returnArray.length + " hubs");
for (int i = 0; i < returnArray.length; ++i) {
returnArray[i] = i;
Log.d(TAG, String.format("Hub %s is mapped to %d",
mContextHubInfo[i].getName(), returnArray[i]));
}
return returnArray;
}
@@ -425,12 +421,6 @@ public class ContextHubService extends IContextHubService.Stub {
for (int i = 0; i < foundInstances.size(); i++) {
retArray[i] = foundInstances.get(i).intValue();
}
if (retArray.length == 0) {
Log.d(TAG, "No nanoapps found on hub ID " + hubHandle + " using NanoAppFilter: "
+ filter);
}
return retArray;
}