-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Fix #12111
Build Fix #12111
Conversation
alperozturk96
commented
Oct 31, 2023
•
edited
Loading
edited
- Tests written, or not not needed
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
) { | ||
mCurrentDownload!!.cancel() | ||
} | ||
mCurrentDownload?.takeIf { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix This condition is too complex (4). Defined complexity threshold for conditions is set to '4'
if (targetFiles != null) { | ||
resultData.putParcelableArrayListExtra(EXTRA_FILES, targetFiles) | ||
} | ||
when (v) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix Function onClick is nested too deeply.
@@ -184,54 +183,75 @@ class FileDownloader : Service(), OnDatatransferProgressListener, OnAccountsUpda | |||
if (!intent.hasExtra(EXTRA_USER) || !intent.hasExtra(EXTRA_FILE)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix Function onStartCommand has 3 return statements which exceeds the limit of 2.
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/12111.apk |
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |