1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-13 18:58:57 +00:00
simplesshd/app/src/main/java/org/galexander/sshd/StartReceiver.java

13 lines
341 B
Java

package org.galexander.sshd;
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.Context;
public class StartReceiver extends BroadcastReceiver {
public void onReceive(Context context, Intent intent) {
context.startService(
new Intent(context, SimpleSSHDService.class));
}
}