完成3.6.6数据统计需求(MTA) https://gitlab.ghzs.com/pm/halo-app-issues/issues/579 的补充部分
This commit is contained in:
@ -961,6 +961,7 @@ public class DialogUtils {
|
||||
|
||||
@Override
|
||||
public void onClick(@NonNull View widget) {
|
||||
MtaHelper.onEvent("隐私政策弹窗", "隐私政策弹窗", "点击隐私政策");
|
||||
Intent intent = WebActivity.getPrivacyPolicyIntent(activityContext);
|
||||
activityContext.startActivity(intent);
|
||||
}
|
||||
@ -973,7 +974,12 @@ public class DialogUtils {
|
||||
titleTv.setText("隐私政策指引概要");
|
||||
positiveTv.setText("我知道了");
|
||||
|
||||
positiveTv.setOnClickListener(view -> dialog.dismiss());
|
||||
positiveTv.setOnClickListener(view -> {
|
||||
dialog.dismiss();
|
||||
MtaHelper.onEvent("隐私政策弹窗", "隐私政策弹窗", "点击我知道了");
|
||||
});
|
||||
|
||||
MtaHelper.onEvent("隐私政策弹窗", "隐私政策弹窗", "出现弹窗");
|
||||
|
||||
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
dialog.setContentView(contentView);
|
||||
@ -982,7 +988,6 @@ public class DialogUtils {
|
||||
|
||||
/**
|
||||
* @param context may be is application context
|
||||
*
|
||||
* @return activity context
|
||||
*/
|
||||
public static Context checkDialogContext(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user