为所有页面添加Activity(为了接入MTA页面访问统计)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user