Merge "UidObserverController: Fix incorrect usage of binarySearch return value" into udc-dev

This commit is contained in:
Austin Borger
2023-05-09 16:30:56 +00:00
committed by Android (Google) Code Review

View File

@@ -557,7 +557,7 @@ public class UidObserverController {
return true; return true;
} }
return Arrays.binarySearch(mUids, uid) != -1; return Arrays.binarySearch(mUids, uid) >= 0;
} }
void addUid(int uid) { void addUid(int uid) {