1
0
mirror of http://galexander.org/git/simplesshd.git synced 2025-01-03 19:50:55 +00:00
This commit is contained in:
Greg Alexander 2014-12-16 11:21:17 -05:00
parent 8ced3ab635
commit 02a88eae06

View File

@ -4,6 +4,7 @@ import android.app.Activity;
import android.os.Bundle;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.Intent;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.Button;
@ -51,7 +52,7 @@ public class SimpleSSHD extends Activity
private void startstop_clicked(View v) {
save_prefs();
Intent i = new Intent(this, SimpleSSHDService.class);
if (SimpleSSHDService.is_started() {
if (SimpleSSHDService.is_started()) {
i.putExtra("stop", true);
}
startService(i);