Fix the concurrent modification issue when using the scanDetails

A chain of method call cause a loop, that modification on the object
which is iterating. This CL break the loop.

Bug: 173533840
Test: atest com.android.server.wifi
Change-Id: I1b033444e099e4902a52a8c2c94dbfe8cfbbd246
1 file changed
tree: 5f9be3be05bd0938b9435991b576fc1337c5b135
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg