Skip to content

Commit

Permalink
fix detekt
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Feb 10, 2025
1 parent 283c07a commit bc24684
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import com.owncloud.android.lib.common.utils.Log_OC
import com.owncloud.android.ui.dialog.StoragePermissionDialogFragment
import com.owncloud.android.utils.theme.ViewThemeUtils

@Suppress("TooManyFunctions")
object PermissionUtil {
private const val TAG = "PermissionUtil"

Expand Down Expand Up @@ -254,6 +255,7 @@ object PermissionUtil {
*
* @param activity target activity
*/
@Suppress("ReturnCount")
@JvmStatic
fun requestMediaLocationPermission(activity: Activity) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q) {
Expand Down

0 comments on commit bc24684

Please sign in to comment.