opt share recevier
This commit is contained in:
@@ -107,6 +107,7 @@ public class LaucherShareDialog extends Dialog implements View.OnClickListener {
|
||||
Logger.d("LaucherShareDialog", "LaucherShareDialog sendShareReceiver ---->");
|
||||
Intent intent = new Intent();
|
||||
intent.setAction("com.zhidao.roadcondition.share");
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
|
||||
intent.putExtra("type", type);
|
||||
mContext.sendBroadcast(intent);
|
||||
}
|
||||
|
||||
@@ -551,6 +551,7 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo;
|
||||
Logger.d(TAG, "TanluCardViewFragment sendShareReceiver ---->");
|
||||
Intent intent = new Intent();
|
||||
intent.setAction("com.zhidao.roadcondition.share");
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
|
||||
intent.putExtra("type", type);
|
||||
getContext().sendBroadcast(intent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user