Commit bac976e2 by Kim Jinsung

List配列から削除する処理の影響で例外処理発生する問題対応

parent 60f014c2
......@@ -891,7 +891,6 @@ public class OperationListActivity extends ABVUIActivity {
mTaskReportDao.delete(localTaskReportDto);
}
}
localTaskReportList.remove(localTaskReportDto);
}
}
......
......@@ -281,11 +281,14 @@ public class PairingSettingActivity extends ABVUIActivity {
if (!savedDeviceAddress.equals(bleListRowData.deviceAddress)) { //保存している
mSavedDeviceAddress = bleListRowData.deviceAddress;
setUserPref(bleListRowData.title, mSavedDeviceAddress);
int removeIndex = -1;
for (BluetoothDevice savedScanDevice : mScanDeviceInfoList) {
if (savedScanDevice.getAddress().equals(mSavedDeviceAddress)) {
mScanDeviceInfoList.remove(savedScanDevice);
break;
}
}
//画面リロード
reloadListView();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment