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

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

Merge "Fix IndexOutOfBoundsException in HubEndpointInfo" into main

parents 7280f019 eede68f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ public final class HubEndpointInfo implements Parcelable {
        mRequiredPermissions = Arrays.asList(endpointInfo.requiredPermissions);
        mHubServiceInfos = new ArrayList<>(endpointInfo.services.length);
        for (int i = 0; i < endpointInfo.services.length; i++) {
            mHubServiceInfos.set(i, new HubServiceInfo(endpointInfo.services[i]));
            mHubServiceInfos.add(new HubServiceInfo(endpointInfo.services[i]));
        }
    }