Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package com.ichi2.anki.utils

import android.content.Context
import android.provider.Settings
import timber.log.Timber

/**
* Utility class for animation-related helper functions
Expand Down Expand Up @@ -57,6 +58,7 @@ object AnimationUtils {
)
animDuration != 0f && animTransition != 0f && animWindow != 0f
} catch (e: Exception) {
Timber.w(e, "Failed to read system animation settings")
true // Default to animations enabled if unable to read settings
}
}