package org.autojs.autojs.external;

import android.app.IntentService;
import android.content.Intent;

import androidx.annotation.Nullable;

/**
 * Created by Stardust on May 15, 2017.
 */
public class ScriptExecutionIntentService extends IntentService {

    public ScriptExecutionIntentService() {
        super("ScriptExecutionIntentService");
    }

    @Override
    protected void onHandleIntent(@Nullable Intent intent) {
        if (intent == null)
            return;
        try {
            ScriptIntents.handleIntent(this, intent);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
