光环助手V4.7.0-外部应用跳转光环助手功能优化(修改数据上报) https://git.ghzs.com/pm/halo-app-issues/-/issues/1130
This commit is contained in:
@ -770,17 +770,13 @@ public class LogUtils {
|
||||
|
||||
public static void uploadPackageSkip(String event, String action, String gameId, String gameName) {
|
||||
JSONObject object = new JSONObject();
|
||||
JSONObject payloadObject = new JSONObject();
|
||||
try {
|
||||
object.put("event", event);//external_jump/external_show
|
||||
object.put("action", action);
|
||||
|
||||
if (!TextUtils.isEmpty(gameId) && !TextUtils.isEmpty(gameName)) {
|
||||
payloadObject.put("game_id", gameId);
|
||||
payloadObject.put("game_name", gameName);
|
||||
object.put("payload", payloadObject);
|
||||
object.put("game_id", gameId);
|
||||
object.put("game_name", gameName);
|
||||
}
|
||||
|
||||
object.put("meta", getMetaObject());
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user