Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1dac66d9 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

refactor: fix Detekt empty blocks errors

parent f44c9723
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -32,8 +32,6 @@
    <ID>ChainWrapping:DownloadManagerUtils.kt$DownloadManagerUtils$||</ID>
    <ID>ChainWrapping:HomeViewModel.kt$HomeViewModel$||</ID>
    <ID>ChainWrapping:ValidateAppAgeLimitUseCase.kt$ValidateAppAgeLimitUseCase$&amp;&amp;</ID>
    <ID>EmptyCatchBlock:NativeDeviceInfoProviderModule.kt$NativeDeviceInfoProviderModule${ }</ID>
    <ID>EmptyFunctionBlock:CleanApkAuthenticator.kt$CleanApkAuthenticator${}</ID>
    <ID>InstanceOfCheckForException:GPlayHttpClient.kt$GPlayHttpClient$e is SocketTimeoutException</ID>
    <ID>InvalidPackageDeclaration:Trackers.kt$package foundation.e.apps.data.exodus</ID>
    <ID>LargeClass:ApplicationFragment.kt$ApplicationFragment : TimeoutFragment</ID>
+3 −1
Original line number Diff line number Diff line
@@ -54,5 +54,7 @@ class CleanApkAuthenticator @Inject constructor(
        )
    }

    override suspend fun logout() {}
    override suspend fun logout() {
        // No auth session to clear for CleanApk.
    }
}
+39 −36
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
import timber.log.Timber
import java.util.Properties
import javax.inject.Singleton

@@ -141,6 +142,7 @@ object NativeDeviceInfoProviderModule {
                }
            }
        } catch (e: Exception) {
            Timber.w(e, "Failed to fetch system available features")
        }
        return featureStringList
    }
@@ -166,6 +168,7 @@ object NativeDeviceInfoProviderModule {
                libraries.addAll(listOf(*systemSharedLibraryNames))
            }
        } catch (e: Exception) {
            Timber.w(e, "Failed to fetch shared libraries")
        }
        return libraries
    }