|
@@ -641,7 +641,7 @@ public class ConfigMobileDeviceAddScreen extends WpadScreen
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- else if (arrResult[0].contains("del")) {
|
|
|
+ else if (arrResult[0].contentEquals("del")) {
|
|
|
Intent data = new Intent();
|
|
|
int Number = (chartView.getCurEnabledIndex() + 1) + (mData.CurPageIdx * ChartView.ROWS_COUNT);
|
|
|
data.putExtra("DEL_TYPE", 1);
|
|
@@ -683,7 +683,7 @@ public class ConfigMobileDeviceAddScreen extends WpadScreen
|
|
|
|
|
|
((Activity) mContext).getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
|
|
}
|
|
|
- else if (arrResult[0].contains("alldel")) {
|
|
|
+ else if (arrResult[0].contentEquals("alldel")) {
|
|
|
if (mData == null) return;
|
|
|
if (mData.DataList == null) return;
|
|
|
|
|
@@ -839,7 +839,7 @@ public class ConfigMobileDeviceAddScreen extends WpadScreen
|
|
|
}
|
|
|
else if(TargetId == ID.configMobileDeviceAddScreen.button.ALLDEL)
|
|
|
{
|
|
|
- if(((MainActivity)getContext()).myIP.equals("10.1.1.1")) {
|
|
|
+ if(((MainActivity)getContext()).myIP.equals("10.1.3.1")) {
|
|
|
doPingTest2("alldel", "10.1.2.1", "10.1.3.1");
|
|
|
|
|
|
if (mData == null) return;
|