Commit a0d03deb authored by wanglei's avatar wanglei

[优化]installReferrer上报

parent eaee9777
......@@ -8,6 +8,7 @@ import com.dumpster.cleaner.SpConstObject.useTypeEvent
import com.dumpster.cleaner.bean.config.AdConfigBean
import com.dumpster.cleaner.bean.config.ConfigBean
import com.dumpster.cleaner.bean.config.PopupConfigBean
import com.dumpster.cleaner.business.helper.InstallHelps.installReferrer
import com.dumpster.cleaner.utils.AppPreferences
import com.dumpster.cleaner.utils.LogEx
import com.google.gson.Gson
......@@ -55,7 +56,7 @@ object NewComUtils {
val appCode = packageName.substringAfter(PACKAGE_NAME_PREFIX).take(5).toLowerCase(Locale.getDefault())
val bRefer = Base64.encodeToString(
AppPreferences.getInstance().getString("install_referrer", "").toByteArray(),
installReferrer.toByteArray(),
Base64.DEFAULT
)
......
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