Skip to content

Commit

Permalink
Suppress code analytics
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Oct 24, 2023
1 parent a4794da commit ba9f700
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ import java.util.Collections
import java.util.Date
import javax.inject.Inject

@Suppress("TooManyFunctions")
class BackupFragment : FileFragment(), OnDateSetListener, Injectable {
private lateinit var binding: BackupFragmentBinding

Expand Down Expand Up @@ -376,6 +377,7 @@ class BackupFragment : FileFragment(), OnDateSetListener, Injectable {
}

@Deprecated("Deprecated in Java")
@Suppress("NestedBlockDepth")
override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<String>, grantResults: IntArray) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults)

Expand Down Expand Up @@ -625,6 +627,7 @@ class BackupFragment : FileFragment(), OnDateSetListener, Injectable {
}
}

@Suppress("TooGenericExceptionCaught", "NestedBlockDepth", "ComplexMethod", "LongMethod", "MagicNumber")
override fun onDateSet(view: DatePicker, year: Int, month: Int, dayOfMonth: Int) {
val contactsPreferenceActivity = activity as ContactsPreferenceActivity?
if (contactsPreferenceActivity == null) {
Expand Down

0 comments on commit ba9f700

Please sign in to comment.