But, when I try to add this action, and set Type to Int, a toast is shown stating "Enter a number" when pressing "Save".
[Edit] I think the following check in ActivityManageActionSetSystemSetting.java is incorrect
Code: Select all
if(Miscellaneous.isNumericDecimal(etSettingValue.getText().toString()) || !Miscellaneous.isNumeric(etSettingValue.getText().toString()))
{
Toast.makeText(ActivityManageActionSetSystemSetting.this, getResources().getString(R.string.enter_a_number), Toast.LENGTH_LONG).show();
return;
}