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

Commit 6db78130 authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Removes unnecessary logs from ContextHubService

Bug: 67734082
Test: None
Change-Id: Ibb6d2626334603bbda4e826e5fd7f7c47c7a436d
parent b5c1fe39
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;
    }