|
|
|
@ -1494,6 +1494,7 @@ public class MicroPhotoService extends Service {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!TextUtils.equals("0.0.0.0", ip)) {
|
|
|
|
|
Intent intent = new Intent();
|
|
|
|
|
intent.putExtra("cmd", "setnet");
|
|
|
|
|
intent.putExtra("staticip", true);
|
|
|
|
@ -1507,6 +1508,7 @@ public class MicroPhotoService extends Service {
|
|
|
|
|
// intent.putExtra("dns2", "192.168.19.1");
|
|
|
|
|
sendBroadcast(getApplicationContext(), intent);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void sendBroadcast(Context context, Intent intent)
|
|
|
|
|
{
|
|
|
|
|