|
|
@@ -13,11 +13,11 @@ public class ProcessEventBroadCastReceiver extends BroadcastReceiver {
|
|
|
@Override
|
|
|
public void onReceive(Context context, Intent intent) {
|
|
|
String eventJson = intent.getStringExtra("eventJson");
|
|
|
- G.showToast("~~~~~收到广播,json:" + eventJson);
|
|
|
+ //G.showToast("~~~~~收到广播,json:" + eventJson);
|
|
|
try {
|
|
|
Object event = new JSONObject(eventJson);
|
|
|
EventBus.getDefault().post(event);
|
|
|
- G.showToast("发送了事件");
|
|
|
+ //G.showToast("发送了事件");
|
|
|
} catch (JSONException e) {
|
|
|
e.printStackTrace();
|
|
|
G.showToast("error" + e.getMessage());
|