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

Commit 2b21582f authored by Yiyi Shen's avatar Yiyi Shen Committed by Android (Google) Code Review
Browse files

Merge "Quick fix: fix bug when using binary search," into main

parents ab64754c 9a05a180
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ public class FastPairDevicePreferenceController extends BasePreferenceController
        // The insertion point is defined as the point at which the key would be inserted into the
        // list: the index of the first element greater than the key, or list.size() if all elements
        // in the list are less than the specified key.
        if (idx > 0) {
        if (idx >= 0) {
            if (DEBUG) {
                Log.d(TAG, "onDeviceAdd receives duplicate preference. Ignore.");
            }