为所有页面添加Activity(为了接入MTA页面访问统计)

This commit is contained in:
kehaoyuan
2018-04-10 20:50:19 +08:00
parent f0c952848a
commit 64f2c83894
58 changed files with 603 additions and 479 deletions

View File

@ -33,7 +33,7 @@ public class DownloadManagerActivity extends NormalActivity {
Bundle bundle = new Bundle();
bundle.putString(EntranceUtils.KEY_URL, url);
bundle.putString(EntranceUtils.KEY_ENTRANCE, entrance);
return getIntent(context, DownloadFragment.class, bundle);
return getTargetIntent(context, DownloadManagerActivity.class, DownloadFragment.class, bundle);
}
public static Intent getDownloadMangerIntent(Context context, int position, String entrance) {
@ -43,7 +43,7 @@ public class DownloadManagerActivity extends NormalActivity {
Bundle bundle = new Bundle();
bundle.putString(EntranceUtils.KEY_ENTRANCE, entrance);
bundle.putInt(BaseFragment_ViewPager.ARGS_INDEX, position);
return getIntent(context, DownloadFragment.class, bundle);
return getTargetIntent(context, DownloadManagerActivity.class, DownloadFragment.class, bundle);
}