mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 18:07:55 +00:00
Null check not needed
This commit is contained in:
parent
cf28c9c7dc
commit
6879e40341
@ -172,9 +172,7 @@ public class LanLink extends BaseLink {
|
||||
}
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
if (callback != null) {
|
||||
callback.onFailure(e);
|
||||
}
|
||||
callback.onFailure(e);
|
||||
return false;
|
||||
} finally {
|
||||
//Make sure we close the payload stream, if any
|
||||
|
Loading…
x
Reference in New Issue
Block a user