光环前端优化汇总(2021年2月)(4) https://git.ghzs.com/pm/halo-app-issues/-/issues/1154
This commit is contained in:
@ -2,8 +2,11 @@ package com.gh.gamecenter;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.gh.common.util.EntranceUtils;
|
||||
import com.halo.assistant.fragment.ApkCleanerFragment;
|
||||
|
||||
/**
|
||||
@ -13,7 +16,14 @@ public class CleanApkActivity extends NormalActivity {
|
||||
|
||||
@NonNull
|
||||
public static Intent getIntent(Context context) {
|
||||
return getTargetIntent(context, CleanApkActivity.class, ApkCleanerFragment.class);
|
||||
return getIntent(context, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static Intent getIntent(Context context, Boolean isChooseApk) {
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putBoolean(EntranceUtils.KEY_IS_CHOOSE_APK, isChooseApk);
|
||||
return getTargetIntent(context, CleanApkActivity.class, ApkCleanerFragment.class, bundle);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user