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

Commit 2597aac7 authored by Pengquan Meng's avatar Pengquan Meng Committed by Gerrit Code Review
Browse files

Merge "Break the for loop searching after removing the item"

parents 221247d0 9c2f83fb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -154,6 +154,7 @@ public class TelephonyDevController extends Handler {
                if (item.uuid.compareTo(hw.uuid) == 0) {
                    if (DBG) logd("updateOrInsert: removing: " + item);
                    list.remove(i);
                    break;
                }
            }
            if (DBG) logd("updateOrInsert: inserting: " + hw);