Loading app/build.gradle +4 −4 Original line number Diff line number Diff line Loading @@ -157,7 +157,7 @@ dependencies { testImplementation 'org.mockito:mockito-inline:2.13.0' testImplementation "androidx.arch.core:core-testing:2.1.0" testImplementation "io.mockk:mockk:1.13.4" testImplementation "io.mockk:mockk:1.12.3" // Coil and PhotoView implementation "io.coil-kt:coil:1.4.0" Loading Loading @@ -193,19 +193,19 @@ dependencies { implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.2" // Navigation Components def navigation_version = "2.5.3" def navigation_version = "2.3.5" implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version" implementation "androidx.navigation:navigation-ui-ktx:$navigation_version" // Hilt def hilt_version = '2.44.2' def hilt_version = '2.40.5' kapt "com.google.dagger:hilt-compiler:$hilt_version" implementation "com.google.dagger:hilt-android:$hilt_version" implementation 'androidx.hilt:hilt-work:1.0.0' kapt 'androidx.hilt:hilt-compiler:1.0.0' // Lifecycle Components def lifecycle_version = "2.5.1" def lifecycle_version = "2.4.0" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version" implementation "android.arch.lifecycle:extensions:1.1.1" Loading app/src/main/java/foundation/e/apps/application/ApplicationFragment.kt +1 −1 Original line number Diff line number Diff line Loading @@ -384,7 +384,7 @@ class ApplicationFragment : TimeoutFragment(R.layout.fragment_application) { } private fun setupToolbar(view: View) { val startDestination = findNavController().graph.startDestinationId val startDestination = findNavController().graph.startDestination if (startDestination == R.id.applicationFragment) { binding.toolbar.setNavigationOnClickListener { val action = ApplicationFragmentDirections.actionApplicationFragmentToHomeFragment() Loading app/src/main/java/foundation/e/apps/manager/fused/IFusedManager.kt +0 −3 Original line number Diff line number Diff line Loading @@ -27,7 +27,6 @@ import kotlinx.coroutines.DelicateCoroutinesApi import java.io.File interface IFusedManager { @RequiresApi(Build.VERSION_CODES.O) fun createNotificationChannels() suspend fun addDownload(fusedDownload: FusedDownload) Loading @@ -39,14 +38,12 @@ interface IFusedManager { suspend fun clearInstallationIssue(fusedDownload: FusedDownload) @OptIn(DelicateCoroutinesApi::class) suspend fun updateDownloadStatus(fusedDownload: FusedDownload, status: Status) suspend fun downloadApp(fusedDownload: FusedDownload) suspend fun installApp(fusedDownload: FusedDownload) @OptIn(DelicateCoroutinesApi::class) suspend fun cancelDownload(fusedDownload: FusedDownload) suspend fun getFusedDownload(downloadId: Long = 0, packageName: String = ""): FusedDownload Loading build.gradle +3 −3 Original line number Diff line number Diff line Loading @@ -6,9 +6,9 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:7.1.0' classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21' classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3" classpath "com.google.dagger:hilt-android-gradle-plugin:2.44.2" classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10' classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5" classpath "com.google.dagger:hilt-android-gradle-plugin:2.40.5" classpath "org.jetbrains.kotlin:kotlin-allopen:1.6.10" // NOTE: Do not place your application dependencies here; they belong Loading Loading
app/build.gradle +4 −4 Original line number Diff line number Diff line Loading @@ -157,7 +157,7 @@ dependencies { testImplementation 'org.mockito:mockito-inline:2.13.0' testImplementation "androidx.arch.core:core-testing:2.1.0" testImplementation "io.mockk:mockk:1.13.4" testImplementation "io.mockk:mockk:1.12.3" // Coil and PhotoView implementation "io.coil-kt:coil:1.4.0" Loading Loading @@ -193,19 +193,19 @@ dependencies { implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.2" // Navigation Components def navigation_version = "2.5.3" def navigation_version = "2.3.5" implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version" implementation "androidx.navigation:navigation-ui-ktx:$navigation_version" // Hilt def hilt_version = '2.44.2' def hilt_version = '2.40.5' kapt "com.google.dagger:hilt-compiler:$hilt_version" implementation "com.google.dagger:hilt-android:$hilt_version" implementation 'androidx.hilt:hilt-work:1.0.0' kapt 'androidx.hilt:hilt-compiler:1.0.0' // Lifecycle Components def lifecycle_version = "2.5.1" def lifecycle_version = "2.4.0" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version" implementation "android.arch.lifecycle:extensions:1.1.1" Loading
app/src/main/java/foundation/e/apps/application/ApplicationFragment.kt +1 −1 Original line number Diff line number Diff line Loading @@ -384,7 +384,7 @@ class ApplicationFragment : TimeoutFragment(R.layout.fragment_application) { } private fun setupToolbar(view: View) { val startDestination = findNavController().graph.startDestinationId val startDestination = findNavController().graph.startDestination if (startDestination == R.id.applicationFragment) { binding.toolbar.setNavigationOnClickListener { val action = ApplicationFragmentDirections.actionApplicationFragmentToHomeFragment() Loading
app/src/main/java/foundation/e/apps/manager/fused/IFusedManager.kt +0 −3 Original line number Diff line number Diff line Loading @@ -27,7 +27,6 @@ import kotlinx.coroutines.DelicateCoroutinesApi import java.io.File interface IFusedManager { @RequiresApi(Build.VERSION_CODES.O) fun createNotificationChannels() suspend fun addDownload(fusedDownload: FusedDownload) Loading @@ -39,14 +38,12 @@ interface IFusedManager { suspend fun clearInstallationIssue(fusedDownload: FusedDownload) @OptIn(DelicateCoroutinesApi::class) suspend fun updateDownloadStatus(fusedDownload: FusedDownload, status: Status) suspend fun downloadApp(fusedDownload: FusedDownload) suspend fun installApp(fusedDownload: FusedDownload) @OptIn(DelicateCoroutinesApi::class) suspend fun cancelDownload(fusedDownload: FusedDownload) suspend fun getFusedDownload(downloadId: Long = 0, packageName: String = ""): FusedDownload Loading
build.gradle +3 −3 Original line number Diff line number Diff line Loading @@ -6,9 +6,9 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:7.1.0' classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21' classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3" classpath "com.google.dagger:hilt-android-gradle-plugin:2.44.2" classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10' classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5" classpath "com.google.dagger:hilt-android-gradle-plugin:2.40.5" classpath "org.jetbrains.kotlin:kotlin-allopen:1.6.10" // NOTE: Do not place your application dependencies here; they belong Loading