package com.foxx.androidcast.dev;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.foxx.androidcast.BuildConfig;

/** adb shell am broadcast -a com.foxx.androidcast.dev.REFRESH_ADB_WIFI */
public final class DevAdbWifiReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        if (!BuildConfig.DEBUG) {
            return;
        }
        DevAdbWifiKeeper.refreshNow(context, "broadcast");
    }
}
