QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685
以下内容为反编译后的 QQMarketReceiveIntentActivity.java 源代码,内容仅作参考
package com.tencent.mtt.external.market.ui;
import android.content.Intent;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Bundle;
import android.view.MotionEvent;
import com.tencent.common.utils.UrlUtils;
import com.tencent.mtt.QbActivityBase;
import com.tencent.mtt.base.stat.StatManager;
import com.tencent.mtt.base.utils.CommonUtils;
import com.tencent.mtt.browser.window.UrlParams;
import com.tencent.mtt.businesscenter.facade.IFrameworkDelegate;
import com.tencent.mtt.qbcontext.core.QBContext;
import com.tencent.qqlive.module.videoreport.collect.EventCollector;
public class QQMarketReceiveIntentActivity extends QbActivityBase {
private void a(Intent intent) {
String str;
if (intent != null) {
Uri data = intent.getData();
str = "";
if (data != null && data.getQueryParameter("id") != null) {
StatManager.b().a("system", 35, "");
String queryParameter = data.getQueryParameter("id");
if (queryParameter != null && !queryParameter.contains(" ")) {
str = queryParameter;
}
}
} else {
str = "com";
}
((IFrameworkDelegate) QBContext.getInstance().getService(IFrameworkDelegate.class)).doLoad(new UrlParams("qb://market/web?url=" + UrlUtils.encode("https://ag.qq.com/detail?gameId=" + str + "&pkgCh=999502")));
finish();
}
@Override
public boolean dispatchTouchEvent(MotionEvent motionEvent) {
EventCollector.getInstance().onActivityDispatchTouchEvent(this, motionEvent, false, true);
boolean dispatchTouchEvent = super.dispatchTouchEvent(motionEvent);
EventCollector.getInstance().onActivityDispatchTouchEvent(this, motionEvent, dispatchTouchEvent, false);
return dispatchTouchEvent;
}
@Override
public void onConfigurationChanged(Configuration configuration) {
super.onConfigurationChanged(configuration);
EventCollector.getInstance().onActivityConfigurationChanged(this, configuration);
}
@Override
public void onCreate(Bundle bundle) {
CommonUtils.a(getIntent());
super.onCreate(bundle);
a(getIntent());
}
@Override
public void onNewIntent(Intent intent) {
CommonUtils.a(getIntent());
super.onNewIntent(intent);
a(intent);
}
}