// Path: app/src/main/java/com/antest1/kcanotify/KcaConstants.java
// public static final String BROADCAST_ACTION = "com.antest1.kcasniffer.broadcast";
// 
// Path: app/src/main/java/com/antest1/kcanotify/KcaConstants.java
// public static final Uri CONTENT_URI = Uri.parse("content://".concat(AUTHORITY).concat(REQUEST_PATH));
// 
// Path: app/src/main/java/com/antest1/kcanotify/KcaConstants.java
// public static final String GOTO_BROADCAST_ACTION = "com.antest1.gotobrowser.broadcast";
// 
// Path: app/src/main/java/com/antest1/kcanotify/KcaConstants.java
// public static final Uri GOTO_CONTENT_URI = Uri.parse("content://".concat(GOTO_AUTHORITY).concat(REQUEST_PATH));
// 
// Path: app/src/main/java/com/antest1/kcanotify/KcaConstants.java
// public final static String GOTO_PACKAGE_NAME = "com.antest1.gotobrowser";


import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.widget.Toast;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import static com.antest1.kcanotify.KcaConstants.BROADCAST_ACTION;
import static com.antest1.kcanotify.KcaConstants.CONTENT_URI;
import static com.antest1.kcanotify.KcaConstants.GOTO_BROADCAST_ACTION;
import static com.antest1.kcanotify.KcaConstants.GOTO_CONTENT_URI;
import static com.antest1.kcanotify.KcaConstants.GOTO_PACKAGE_NAME;
package com.antest1.kcanotify;




public class KcaReceiver extends BroadcastReceiver {
    public static Handler handler = null;
    public ExecutorService executorService = Executors.newSingleThreadExecutor();

    public static void setHandler(Handler h) {
        handler = h;
    }

    Uri getContentURI(Context context, String action) {
        if (action.equals(BROADCAST_ACTION)) {
// Path: app/src/main/java/com/antest1/kcanotify/KcaConstants.java
// public static final String BROADCAST_ACTION = "com.antest1.kcasniffer.broadcast";
// 
// Path: app/src/main/java/com/antest1/kcanotify/KcaConstants.java
// public static final Uri CONTENT_URI = Uri.parse("content://".concat(AUTHORITY).concat(REQUEST_PATH));
// 
// Path: app/src/main/java/com/antest1/kcanotify/KcaConstants.java
// public static final String GOTO_BROADCAST_ACTION = "com.antest1.gotobrowser.broadcast";
// 
// Path: app/src/main/java/com/antest1/kcanotify/KcaConstants.java
// public static final Uri GOTO_CONTENT_URI = Uri.parse("content://".concat(GOTO_AUTHORITY).concat(REQUEST_PATH));
// 
// Path: app/src/main/java/com/antest1/kcanotify/KcaConstants.java
// public final static String GOTO_PACKAGE_NAME = "com.antest1.gotobrowser";


// Path: app/src/main/java/com/antest1/kcanotify/KcaReceiver.java
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.widget.Toast;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import static com.antest1.kcanotify.KcaConstants.BROADCAST_ACTION;
import static com.antest1.kcanotify.KcaConstants.CONTENT_URI;
import static com.antest1.kcanotify.KcaConstants.GOTO_BROADCAST_ACTION;
import static com.antest1.kcanotify.KcaConstants.GOTO_CONTENT_URI;
import static com.antest1.kcanotify.KcaConstants.GOTO_PACKAGE_NAME;

package com.antest1.kcanotify;




public class KcaReceiver extends BroadcastReceiver {
    public static Handler handler = null;
    public ExecutorService executorService = Executors.newSingleThreadExecutor();

    public static void setHandler(Handler h) {
        handler = h;
    }

    Uri getContentURI(Context context, String action) {
        if (action.equals(BROADCAST_ACTION)) {
            context.grantUriPermission(GOTO_PACKAGE_NAME, CONTENT_URI, Intent.FLAG_GRANT_READ_URI_PERMISSION);