mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
ignore generic exception handling
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
86f8f1d5cd
commit
a10b67456c
@ -149,6 +149,7 @@ class MagicFirebaseMessagingService : FirebaseMessagingService() {
|
||||
}
|
||||
}
|
||||
|
||||
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||
private fun decryptMessage(subject: String, signature: String) {
|
||||
try {
|
||||
val base64DecodedSubject = Base64.decode(subject, Base64.DEFAULT)
|
||||
|
@ -87,6 +87,7 @@ class MainActivity : BaseActivity(), ActionBarProvider {
|
||||
|
||||
private var router: Router? = null
|
||||
|
||||
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
Log.d(TAG, "onCreate: Activity: " + System.identityHashCode(this).toString())
|
||||
|
||||
|
@ -213,6 +213,7 @@ class LocationPickerController(args: Bundle) :
|
||||
return true
|
||||
}
|
||||
|
||||
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||
private fun initMap() {
|
||||
binding.map.setTileSource(TileSourceFactory.MAPNIK)
|
||||
binding.map.onResume()
|
||||
|
@ -114,6 +114,7 @@ class UploadAndShareFilesWorker(val context: Context, workerParameters: WorkerPa
|
||||
return Result.success()
|
||||
}
|
||||
|
||||
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||
private fun createRequestBody(sourcefileUri: Uri): RequestBody? {
|
||||
var requestBody: RequestBody? = null
|
||||
try {
|
||||
|
@ -139,6 +139,7 @@ object AccountUtils {
|
||||
return false
|
||||
}
|
||||
|
||||
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||
fun getInformationFromAccount(account: Account): ImportAccount {
|
||||
val lastAtPos = account.name.lastIndexOf("@")
|
||||
var urlString = account.name.substring(lastAtPos + 1)
|
||||
|
@ -43,6 +43,7 @@ class ImageEmojiEditText : EmojiEditText {
|
||||
constructor(context: Context) : super(context)
|
||||
constructor(context: Context, attrs: AttributeSet) : super(context, attrs)
|
||||
|
||||
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||
override fun onCreateInputConnection(editorInfo: EditorInfo): InputConnection {
|
||||
|
||||
val ic: InputConnection = super.onCreateInputConnection(editorInfo)
|
||||
|
Loading…
Reference in New Issue
Block a user