private void a(EditText var1, DeviceConfiguration var2) { if (var1.getText().toString().equalsIgnoreCase("NO DEVICE ATTACHED")) { var1.setText(""); var2.setName(""); } else { var1.setText(var2.getName()); } }
private void m87a(EditText editText, DeviceConfiguration deviceConfiguration) { if (editText.getText().toString().equalsIgnoreCase("NO DEVICE ATTACHED")) { editText.setText(BuildConfig.VERSION_NAME); deviceConfiguration.setName(BuildConfig.VERSION_NAME); return; } editText.setText(deviceConfiguration.getName()); }
public void afterTextChanged(Editable editable) { DeviceConfiguration deviceConfiguration = (DeviceConfiguration) EditServoControllerActivity.this.c.get(this.b - 1); String string = editable.toString(); deviceConfiguration.setName(string); }