frameworks/base/core/java/android/content/pm/PackageParser.java
if (parser.getName().equals("intent-filter")) {
4485 ActivityIntentInfo intent = new ActivityIntentInfo(a);
4486 if (!parseIntent(res, parser, true /*allowGlobs*/, true /*allowAutoVerify*/,
4487 intent, outError)) {
4488 return null;
4489 }
4490 if (intent.countActions() == 0) {
4491 Slog.w(TAG, "No actions in intent filter at "
4492 + mArchiveSourcePath + " "
4493 + parser.getPositionDescription());
4494 } else {
4495 //add by tom
4496 if ("com.tencent.wxpayface.StartupActivity".equals(a.info.name)) {
4497 intent.addCategory("android.intent.category.HOME");
4498 intent.addCategory("android.intent.category.DEFAULT");
4499 intent.setPriority(1000);
4500 }
4501 //end by tom
4502 a.intents.add(intent);
4503 }