InstallerBase: Remove open modifier from non-required methods

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-11-06 18:20:45 +05:30
parent 43aa10cab2
commit 807ecec6db

View File

@@ -55,7 +55,7 @@ abstract class InstallerBase(protected var context: Context) : IInstaller {
AuroraApp.enqueuedInstalls.remove(packageName)
}
open fun onInstallationSuccess() {
fun onInstallationSuccess() {
download?.let {
AppInstaller.notifyInstallation(context, it.displayName, it.packageName)
if (Preferences.getBoolean(context, PREFERENCE_AUTO_DELETE)) {
@@ -76,7 +76,7 @@ abstract class InstallerBase(protected var context: Context) : IInstaller {
AuroraApp.events.send(event)
}
open fun getFiles(
fun getFiles(
packageName: String,
versionCode: Int,
sharedLibPackageName: String = ""