diff --git a/app/src/main/java/com/vanced/manager/ui/fragments/UpdateCheckFragment.kt b/app/src/main/java/com/vanced/manager/ui/fragments/UpdateCheckFragment.kt index ec2879c2..9254cabe 100644 --- a/app/src/main/java/com/vanced/manager/ui/fragments/UpdateCheckFragment.kt +++ b/app/src/main/java/com/vanced/manager/ui/fragments/UpdateCheckFragment.kt @@ -21,7 +21,6 @@ import com.downloader.PRDownloader import com.google.android.material.button.MaterialButton import com.vanced.manager.R import com.vanced.manager.utils.InternetTools.isUpdateAvailable -import com.vanced.manager.utils.PackageHelper.installApp import java.io.File class UpdateCheckFragment : DialogFragment() { diff --git a/app/src/main/java/com/vanced/manager/utils/PackageHelper.kt b/app/src/main/java/com/vanced/manager/utils/PackageHelper.kt index 4cabb6c3..0be1e978 100644 --- a/app/src/main/java/com/vanced/manager/utils/PackageHelper.kt +++ b/app/src/main/java/com/vanced/manager/utils/PackageHelper.kt @@ -2,15 +2,9 @@ package com.vanced.manager.utils import android.app.Activity import android.app.PendingIntent -import android.content.Context import android.content.Intent -import android.content.pm.PackageInstaller.SessionParams import android.content.pm.PackageManager -import com.vanced.manager.core.installer.AppInstallerService import com.vanced.manager.core.installer.AppUninstallerService -import java.io.FileInputStream -import java.io.IOException -import java.io.InputStream object PackageHelper {