修改上报发送字段值
This commit is contained in:
@@ -38,6 +38,9 @@ import static com.mogo.module.authorize.authprovider.invoke.AuthorizeInvokerCons
|
||||
* 描述
|
||||
*/
|
||||
public class EntrancePresenter extends Presenter< EntranceView > {
|
||||
private static final String REPORT_TANLU_BLOCK = "10007";
|
||||
private static final String REPORT_TANLU_TRAFFIC_CHECK = "10002";
|
||||
private static final String REPORT_TANLU_CLOSURE = "10003";
|
||||
|
||||
private Context mContext;
|
||||
private IMogoAnalytics mAnalytics;
|
||||
@@ -286,7 +289,7 @@ public class EntrancePresenter extends Presenter< EntranceView > {
|
||||
mStatusManager.setUploadingStatus( "CARD_TYPE_ROAD_CONDITION", true );
|
||||
|
||||
traceTanluData( "2" );
|
||||
sendShareReceiver( "1" );
|
||||
sendShareReceiver( REPORT_TANLU_BLOCK );
|
||||
Logger.d( "EntrancePresenter", "mogoIntentListener 上报路况 ----> " );
|
||||
traceTypeData( "1" );
|
||||
ShareControl.getInstance( mContext ).dismissDialog();
|
||||
@@ -294,7 +297,7 @@ public class EntrancePresenter extends Presenter< EntranceView > {
|
||||
|
||||
private void uploadTrfficCheck() {
|
||||
mStatusManager.setUploadingStatus( "CARD_TYPE_ROAD_CONDITION", true );
|
||||
sendShareReceiver( "2" );
|
||||
sendShareReceiver( REPORT_TANLU_TRAFFIC_CHECK );
|
||||
Logger.d( "EntrancePresenter", "mogoIntentListener 分享交通检查 ----> " );
|
||||
traceTypeData( "3" );
|
||||
ShareControl.getInstance( mContext ).dismissDialog();
|
||||
@@ -302,7 +305,7 @@ public class EntrancePresenter extends Presenter< EntranceView > {
|
||||
|
||||
private void uploadRoadClosed() {
|
||||
mStatusManager.setUploadingStatus( "CARD_TYPE_ROAD_CONDITION", true );
|
||||
sendShareReceiver( "3" );
|
||||
sendShareReceiver( REPORT_TANLU_CLOSURE );
|
||||
Logger.d( "EntrancePresenter", "mogoIntentListener 分享封路 ----> " );
|
||||
traceTypeData( "4" );
|
||||
ShareControl.getInstance( mContext ).dismissDialog();
|
||||
@@ -328,7 +331,7 @@ public class EntrancePresenter extends Presenter< EntranceView > {
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送广播 1拥堵,2交通检查,3封路
|
||||
* 发送广播 上报路况
|
||||
*/
|
||||
private void sendShareReceiver( String type ) {
|
||||
Logger.d( "EntrancePresenter", "TanluCardViewFragment sendShareReceiver ---->" );
|
||||
|
||||
Reference in New Issue
Block a user