Commit e77c89c0 by sikang

架协议添加动态APP名

parent 8ce3be1f
...@@ -15,6 +15,7 @@ import org.greenrobot.eventbus.EventBus; ...@@ -15,6 +15,7 @@ import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode; import org.greenrobot.eventbus.ThreadMode;
import tech.starwin.LibConfig;
import tech.starwin.R; import tech.starwin.R;
import com.common.base.BaseActivity; import com.common.base.BaseActivity;
...@@ -137,7 +138,7 @@ public class AgreementPolicyActivity extends BaseActivity { ...@@ -137,7 +138,7 @@ public class AgreementPolicyActivity extends BaseActivity {
//假协议 //假协议
if (agreementType == Type.AGREEMENT_HOOK) { if (agreementType == Type.AGREEMENT_HOOK) {
webView.loadUrl("file:///android_asset/web/privacy.html"); webView.loadUrl("file:///android_asset/web/privacy.html?name=" + LibConfig.APP_NAME.replace(" ","%20"));
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment