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

Commit be8a0141 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Removes unnecessary logs from ContextHubService"

parents a21ecc61 6db78130
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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;
    }