Commit aad8bace authored by Your Name's avatar Your Name

.

parent 8d980b04
Pipeline #1393 canceled with stages
package com.swiftcleaner.chovey.view.activity; package com.swiftcleaner.chovey.view.activity;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_APP_MANAGER; import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_APP_MANAGER;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_APP_PROCESS;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_BATTERY; import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_BATTERY;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_CLEAN; import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_CLEAN;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_LARGE_FILE; import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_LARGE_FILE;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SCREENSHOT;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SIMILAR_PHOTOS;
import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_WHATS_APP;
import androidx.activity.result.ActivityResultLauncher; import androidx.activity.result.ActivityResultLauncher;
import androidx.activity.result.contract.ActivityResultContracts; import androidx.activity.result.contract.ActivityResultContracts;
...@@ -245,7 +249,26 @@ public class StartActivity extends AppCompatActivity { ...@@ -245,7 +249,26 @@ public class StartActivity extends AppCompatActivity {
finish(); finish();
return; return;
} }
if (Objects.equals(actionId, FUNCTION_WHATS_APP)) {
startActivity(new Intent(this, WhatsAppActivity.class));
finish();
return;
}
if (Objects.equals(actionId, FUNCTION_APP_PROCESS)) {
startActivity(new Intent(this, AppProcessActivity.class));
finish();
return;
}
if (Objects.equals(actionId, FUNCTION_SIMILAR_PHOTOS)) {
startActivity(new Intent(this, SimilarPhotosActivity.class));
finish();
return;
}
if (Objects.equals(actionId, FUNCTION_SCREENSHOT)) {
startActivity(new Intent(this, ScreenShotActivity.class));
finish();
return;
}
startActivity(new Intent(this, MainActivity.class)); startActivity(new Intent(this, MainActivity.class));
finish(); finish();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment