mirror of http://galexander.org/git/simplesshd.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
368 B
14 lines
368 B
package org.galexander.sshd;
|
|
|
|
import android.content.BroadcastReceiver;
|
|
import android.content.Intent;
|
|
import android.content.Context;
|
|
|
|
public class StopReceiver extends BroadcastReceiver {
|
|
public void onReceive(Context context, Intent intent) {
|
|
context.startService(
|
|
new Intent(context, SimpleSSHDService.class)
|
|
.putExtra("stop", true));
|
|
}
|
|
}
|