Commit bac976e2 by Kim Jinsung

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

parent 60f014c2
...@@ -891,7 +891,6 @@ public class OperationListActivity extends ABVUIActivity { ...@@ -891,7 +891,6 @@ public class OperationListActivity extends ABVUIActivity {
mTaskReportDao.delete(localTaskReportDto); mTaskReportDao.delete(localTaskReportDto);
} }
} }
localTaskReportList.remove(localTaskReportDto);
} }
} }
......
...@@ -281,11 +281,14 @@ public class PairingSettingActivity extends ABVUIActivity { ...@@ -281,11 +281,14 @@ public class PairingSettingActivity extends ABVUIActivity {
if (!savedDeviceAddress.equals(bleListRowData.deviceAddress)) { //保存している if (!savedDeviceAddress.equals(bleListRowData.deviceAddress)) { //保存している
mSavedDeviceAddress = bleListRowData.deviceAddress; mSavedDeviceAddress = bleListRowData.deviceAddress;
setUserPref(bleListRowData.title, mSavedDeviceAddress); setUserPref(bleListRowData.title, mSavedDeviceAddress);
int removeIndex = -1;
for (BluetoothDevice savedScanDevice : mScanDeviceInfoList) { for (BluetoothDevice savedScanDevice : mScanDeviceInfoList) {
if (savedScanDevice.getAddress().equals(mSavedDeviceAddress)) { if (savedScanDevice.getAddress().equals(mSavedDeviceAddress)) {
mScanDeviceInfoList.remove(savedScanDevice); mScanDeviceInfoList.remove(savedScanDevice);
break;
} }
} }
//画面リロード //画面リロード
reloadListView(); 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